43 #ifndef CONVERGENCE_HPP
44 #define CONVERGENCE_HPP 1
61 std::vector<double> _epot_hist;
68 std::vector<double> _scharge_hist;
83 EmitPoint(
double x );
86 double &operator[](
int i );
89 std::vector<double> _emit_hist[2];
93 EmitPoint _emit_old[2];
134 double val,
double absf,
double relf,
double lim );
139 add_tdiag( emit1, NULL, absf, relf, lim );
145 double absf,
double relf,
double lim );
void add_tdiag(const Emittance *emit1, double absf, double relf, double lim)
Add trajectory diagnostics to be followed.
Definition: convergence.hpp:138
void print_history(std::ostream &os) const
Print the history of convergence to stream.
bool evaluate_iteration(void)
Evaluate convergence of iteration round.
~Convergence()
Destructor for convergence class.
void set_emittance(const Emittance *emit1, const Emittance *emit2=NULL)
Set emittance for trajectory diagnostics.
Class for emittance statistics.
Definition: trajectorydiagnostics.hpp:236
Vlasov system convergence tester.
Definition: convergence.hpp:57
Convergence()
Constructor for convergence class.
coordinate_axis_e
Coordinate axis identifier.
Definition: types.hpp:139
void add_epot(const ScalarField &epot, double absf, double relf, double lim)
Add electric potential to be followed.
void add_tdiag(const ParticleDataBase &pdb, coordinate_axis_e axis, double val, double absf, double relf, double lim)
Add trajectory diagnostics to be followed.
Scalar field class.
Definition: scalarfield.hpp:70
void add_scharge(const ScalarField &scharge, double absf, double relf, double lim)
Add space charge density to be followed.
Particle database base class.
Definition: particledatabase.hpp:167