21 #ifndef OPAL_FieldSolver_HH
22 #define OPAL_FieldSolver_HH
35 template <
class T,
unsigned Dim>
152 std::unique_ptr<Layout_t>
PL_m;
173 #endif // OPAL_FieldSolver_HH
void setFieldSolverType()
double getMY() const
Return meshsize.
AmrObject * getAmrObject()
Inform & printInfo(Inform &os) const
void setMT(double)
Store emittance for mode 3.
std::ostream & operator<<(std::ostream &os, const Attribute &attr)
unsigned int getInteractionRadius()
FieldLayout_t * FL_m
The field layout f.
virtual void update()
Update the field solver data.
std::string getTagging_m() const
std::unique_ptr< Layout_t > PL_m
The particle layout.
void initCartesianFields()
static FieldSolver * find(const std::string &name)
Find named FieldSolver.
Mesh_t * mesh_m
The cartesian mesh.
FieldLayout_t * getFieldLayout()
FieldSolverType getFieldSolverType() const
double getMT() const
Return meshsize.
PartBunchBase< double, 3 > * itsBunch_m
all the particles are here ...
void initSolver(PartBunchBase< double, 3 > *b)
void setMX(double)
Store emittance for mode 1.
FieldSolver()
Exemplar constructor.
bool isAmrSolverType() const
Layout_t & getParticleLayout()
std::unique_ptr< AmrObject > itsAmrObject_mp
virtual void execute()
Execute (init) the field solver data.
const AmrObject * getAmrObject() const
The base class for all OPAL definitions.
virtual FieldSolver * clone(const std::string &name)
Make clone.
double getMX() const
Return meshsize.
PoissonSolver * solver_m
the actual solver, should be a base object
void setMY(double)
Store emittance for mode 2.
void operator=(const FieldSolver &)