File serial_band.hxx

class LaplaceSerialBand : public Laplacian

Public Functions

LaplaceSerialBand(Options *opt = nullptr, const CELL_LOC loc = CELL_CENTRE, Mesh *mesh_in = nullptr)
~LaplaceSerialBand()
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
Matrix<dcomplex> bk
Matrix<dcomplex> xk
Matrix<dcomplex> A
Array<dcomplex> bk1d
Array<dcomplex> xk1d