Class PoissonSolver2D#
Defined in File PoissonSolver2D.hh
Inheritance Relationships#
Base Type#
public OrbitUtils::CppPyWrapper(Class CppPyWrapper)
Derived Type#
public PoissonSolverFFT2D(Class PoissonSolverFFT2D)
Class Documentation#
-
class PoissonSolver2D : public OrbitUtils::CppPyWrapper#
The PoissonSolver2D class calculates electrostatic potential of a 2D charge distribution.
Subclassed by PoissonSolverFFT2D
Public Functions
-
PoissonSolver2D(int xSize, int ySize)#
Constructor
-
PoissonSolver2D(int xSize, int ySize, double xMin, double xMax, double yMin, double yMax)#
Constructor
-
virtual ~PoissonSolver2D()#
Destructor
-
int getSizeX()#
Returns the grid size in x-direction
Returns the number of points in x direction
-
int getSizeY()#
Returns the grid size in y-direction
Returns the number of points in y direction
-
double getMaxX()#
Returns the maximal value of the grid in x-axis
Returns the max x in the grid points
-
double getMinX()#
Returns the minimal value of the grid in x-axis
Returns the min x in the grid points
-
double getMaxY()#
Returns the maximal value of the grid in y-axis
Returns the max y in the grid points
-
double getMinY()#
Returns the minimal value of the grid in y-axis
Returns the min y in the grid points
-
double getStepX()#
Returns the grid step along x-axis
Returns the mesh step in x direction
-
double getStepY()#
Returns the grid step along y-axis
Returns the mesh step in y direction
-
virtual void setGridX(double xMin, double xMax) = 0#
Sets x-grid. This method is virtual, because the setting of limits may involve some subclass specific actions.
-
virtual void setGridY(double yMin, double yMax) = 0#
Sets y-grid. This method is virtual, because the setting of limits may involve some subclass specific actions.
-
virtual void setGridXY(double xMin, double xMax, double yMin, double yMax) = 0#
Sets x-grid and y-grid simultaneously. This method is virtual, because the setting of limits may involve some subclass specific actions.
Protected Functions
-
virtual void init(int xSize, int ySize, double xMin, double xMax, double yMin, double yMax) = 0#
-
PoissonSolver2D(int xSize, int ySize)#