#include <GenSolverOp.H>
Inheritance diagram for GenSolverOp< T >:
Public Methods | |
GenSolverOp () | |
Null constructor. | |
virtual | ~GenSolverOp () |
Destructor. | |
virtual GenSolverOp * | newOp () const=0 |
virtual void | setToZero (T &a_one)=0 |
a_one = 0 | |
virtual void | copy (T &a_one, const T &a_two)=0 |
a_one = a_two | |
virtual void | scalarMul (T &a_one, const Real a_scalar)=0 |
a_one = a_scalar * a_one | |
virtual void | negate (T &a_one)=0 |
a_one = -a_one | |
virtual void | sum (T &a_one, const T &a_two)=0 |
a_one = a_one + a_two | |
virtual void | diff (T &a_one, const T &a_two)=0 |
a_one = a_one - a_two | |
virtual Real | dotProduct (const T &a_one, const T &a_two)=0 |
Return dot product of "a_one" and "a_two". | |
virtual Real | norm (const T &a_one, const int a_power)=0 |
Return "a_power"-norm of "a_one". | |
virtual void | defineOpData (T &a_data)=0 |
Define data so that the operator can be applied to it. | |
virtual void | defineData (T &a_data)=0 |
Define data which won't have the operator applied to it. | |
virtual void | applyOpH (T &a_LOfPhi, T &a_phi)=0 |
Evaluate operator with homogeneous boundary conditions. |
GenSolverOp<T> is a pure base class to encapsulate an API for linear PDE solvers operating on vector space data, T.
|
Null constructor. Null constructor |
|
Destructor. Destructor |
|
Evaluate operator with homogeneous boundary conditions. Evaluate operator with homogeneous boundary conditions Implemented in GenAMRLevelMGOp< T >. |
|
a_one = a_two Copy a_two to a_one, a_one = a_two |
|
Define data which won't have the operator applied to it. Define data which won't have the operator applied to it |
|
Define data so that the operator can be applied to it. Define data so that the operator can be applied to it |
|
a_one = a_one - a_two Subtract a_two from a_one and store in a_one, a_one = a_one - a_two |
|
Return dot product of "a_one" and "a_two". Return dot product of "a_one" and "a_two" |
|
a_one = -a_one Negate a_one, a_one = -a_one |
|
This gets around the "no virtual constructor" rule Implemented in GenAMRLevelMGOp< T >, and GenLevelMGOp< T >. |
|
Return "a_power"-norm of "a_one". Return "a_power"-norm of "a_one" |
|
a_one = a_scalar * a_one Multiply a_one by the scalar, a_scalar, a_one = a_scalar * a_one |
|
a_one = 0 Set all a_one to zero, a_one = 0 |
|
a_one = a_one + a_two Add a_two to a_one and store in a_one, a_one = a_one + a_two |