#include <NoOpSolver.H>
◆ NoOpSolver()
◆ ~NoOpSolver()
◆ setHomogeneous()
template<class T>
virtual void NoOpSolver< T >::setHomogeneous |
( |
bool |
a_homogeneous | ) |
|
|
inlinevirtual |
◆ define()
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< T >.
◆ solve()
template<class T>
void NoOpSolver< T >::solve |
( |
T & |
a_phi, |
|
|
const T & |
a_rhs |
|
) |
| |
|
virtual |
◆ setConvergenceMetrics()
Set a convergence metric, along with solver tolerance, if desired.
Default implementation does nothing, since there are probably cases (liked direct solves), where this has no real meaning.
Reimplemented from LinearSolver< T >.
The documentation for this class was generated from the following file: