Class ForceSolverFFT2D#

Inheritance Relationships#

Base Type#

Class Documentation#

class ForceSolverFFT2D : public ForceSolver2D#

The ForceSolverFFT2D class is used to calculate the force

Public Functions

ForceSolverFFT2D(int xSize, int ySize)#

Constructor with sizes only

virtual ~ForceSolverFFT2D()#

Destructor

virtual void setGridX(double xMin, double xMax)#

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)#

Sets y-grid. This method is virtual, because the setting of limits may involve some subclass specific actions.

void setGridXY(double xMin, double xMax, double yMin, double yMax)#
virtual void findForce(Grid2D *rhoGrid, Grid2D *forceGridX, Grid2D *forceGridY)#

Solves the Force problem for an external charge distribution and puts results into an external force grid

Protected Functions

virtual void init(int xSize, int ySize)#
void _defineGreenF()#

Protected Attributes

int xSize2_#
int ySize2_#
std::complex<double> **greensF_#
fftw_complex *test_#
fftw_complex *in_#
fftw_complex *in_res_#
fftw_complex *out_green_#
fftw_complex *out_#
fftw_complex *out_res_#
double out_green_re00_#
fftw_plan planForward_greenF_#
fftw_plan planForward_#
fftw_plan planBackward_#