|
ThunderEgg
1.0.0
|
Wraps a PETSc Mat object for use as an Operator. More...
#include <MatWrapper.h>


Public Member Functions | |
| MatWrapper (Mat A_in) | |
| Construct a new MatWrapper object. More... | |
| MatWrapper< D > * | clone () const override |
| Clone this wrapper. More... | |
| void | apply (const Vector< D > &x, Vector< D > &b) const override |
| Virtual function that base classes have to implement. More... | |
Public Member Functions inherited from ThunderEgg::Operator< D > | |
| virtual | ~Operator () |
| Destroy the Operator object. | |
|
inlineexplicit |
Construct a new MatWrapper object.
This object will not deallocate the PETSc Mat, you are responsible for deallocating it.
| A_in | the PETSc Mat to wrap |
|
inlineoverridevirtual |
Virtual function that base classes have to implement.
| x | the input vector. |
| b | the output vector. |
Implements ThunderEgg::Operator< D >.
|
inlineoverridevirtual |
Clone this wrapper.
Implements ThunderEgg::Operator< D >.