|
OOFEM 3.0
|
#include <voidprecond.h>
Public Member Functions | |
| VoidPreconditioner (const SparseMtrx &a, InputRecord &attributes) | |
| Constructor. Creates the empty preconditioner. | |
| VoidPreconditioner () | |
| Constructor. The user should call initializeFrom and init services in this given order to ensure consistency. | |
| virtual | ~VoidPreconditioner (void) |
| Destructor. | |
| void | init (const SparseMtrx &a) override |
| void | solve (const FloatArray &rhs, FloatArray &solution) const override |
| void | trans_solve (const FloatArray &rhs, FloatArray &solution) const override |
| const char * | giveClassName () const override |
| Returns the preconditioner name. | |
| Public Member Functions inherited from oofem::Preconditioner | |
| Preconditioner (const SparseMtrx &a, InputRecord &attributes) | |
| Preconditioner () | |
| virtual | ~Preconditioner (void) |
| Destructor. | |
| FloatArray | solve (const FloatArray &rhs) const |
| FloatArray | trans_solve (const FloatArray &rhs) const |
| virtual void | initializeFrom (InputRecord &ir) |
| Initializes receiver from given record. Empty implementation. | |
Class implementing void preconditioner.
Definition at line 46 of file voidprecond.h.
| oofem::VoidPreconditioner::VoidPreconditioner | ( | const SparseMtrx & | a, |
| InputRecord & | attributes ) |
Constructor. Creates the empty preconditioner.
Definition at line 40 of file voidprecond.C.
References oofem::Preconditioner::Preconditioner().
| oofem::VoidPreconditioner::VoidPreconditioner | ( | ) |
Constructor. The user should call initializeFrom and init services in this given order to ensure consistency.
Definition at line 43 of file voidprecond.C.
References oofem::Preconditioner::Preconditioner().
|
inlinevirtual |
Destructor.
Definition at line 54 of file voidprecond.h.
|
inlineoverridevirtual |
Returns the preconditioner name.
Reimplemented from oofem::Preconditioner.
Definition at line 60 of file voidprecond.h.
|
inlineoverridevirtual |
Initializes the receiver (constructs the preconditioning matrix M) of given matrix. Virtual service, to be implemented by derived classes. Should be called after initializeFrom service.
| a | Sparse matrix to be preconditioned. |
Reimplemented from oofem::Preconditioner.
Definition at line 56 of file voidprecond.h.
|
inlineoverridevirtual |
Solves the linear system.
| rhs | Right hand side. |
| solution | Solution. |
Implements oofem::Preconditioner.
Definition at line 57 of file voidprecond.h.
|
inlineoverridevirtual |
Solves the transposed system.
| rhs | Right hand side. |
| solution | Solution. |
Implements oofem::Preconditioner.
Definition at line 58 of file voidprecond.h.