MFSimpleSolver Class Reference

#include <MFSimpleSolver.H>

Inheritance diagram for MFSimpleSolver:

Inheritance graph

List of all members.

Public Member Functions

 MFSimpleSolver ()
virtual ~MFSimpleSolver ()
virtual void setHomogeneous (bool a_homogeneous)
virtual void define (LinearOp< LevelData< MFCellFAB > > *a_operator, bool a_homogeneous)
virtual void setNumSmooths (const int &a_numSmooths)
virtual void solve (LevelData< MFCellFAB > &a_phi, const LevelData< MFCellFAB > &a_rhs)

Public Attributes

int m_verbosity

Private Attributes

bool m_isDefined
MGLevelOp< LevelData
< MFCellFAB > > * 
bool m_homogeneous
int m_numSmooths

Constructor & Destructor Documentation

MFSimpleSolver::MFSimpleSolver (  ) 

virtual MFSimpleSolver::~MFSimpleSolver (  )  [virtual]

Member Function Documentation

virtual void MFSimpleSolver::setHomogeneous ( bool  a_homogeneous  )  [virtual]

reset whether the solver is homogeneous.

Implements LinearSolver< LevelData< MFCellFAB > >.

virtual void MFSimpleSolver::define ( LinearOp< LevelData< MFCellFAB > > *  a_operator,
bool  a_homogeneous 
) [virtual]

Define the operator and whether it is a homogeneous solver or not. The LinearSolver does not take over ownership of this a_operator object. It does not call delete on it when the LinearSolver is deleted. It is meant to be like a late-binding reference. If you created a_operator with new, you should call delete on it after LinearSolver is deleted if you want to avoid memory leaks.

Implements LinearSolver< LevelData< MFCellFAB > >.

virtual void MFSimpleSolver::setNumSmooths ( const int &  a_numSmooths  )  [virtual]

virtual void MFSimpleSolver::solve ( LevelData< MFCellFAB > &  a_phi,
const LevelData< MFCellFAB > &  a_rhs 
) [virtual]

Solve L(phi) = rhs (phi = L^-1 (rhs)).

Implements LinearSolver< LevelData< MFCellFAB > >.

Member Data Documentation

The documentation for this class was generated from the following file:

Generated on Wed Feb 20 03:27:43 2019 for Chombo + EB + MF by  doxygen 1.5.5