File shoot_laplace.hxx

class LaplaceShoot : public Laplacian

Public Functions

LaplaceShoot(Options *opt = nullptr, const CELL_LOC loc = CELL_CENTRE, Mesh *mesh_in = nullptr)
~LaplaceShoot()
void setCoefA(const Field2D &val)

Set coefficients for inversion. Re-builds matrices if necessary.

void setCoefC(const Field2D &val)
void setCoefD(const Field2D &val)
void setCoefEx(const Field2D &val)
void setCoefEz(const Field2D &val)
FieldPerp solve(const FieldPerp &b)
FieldPerp solve(const FieldPerp &b, const FieldPerp &x0)

Private Members

Field2D Acoef
Field2D Ccoef
Field2D Dcoef
int nmode
Array<dcomplex> km
Array<dcomplex> kc
Array<dcomplex> kp
Array<dcomplex> rhsk
Array<BoutReal> buffer