Wraps an Operator for use as a PETSc Mat.
More...
#include <MatShellCreator.h>
template<int D>
class ThunderEgg::PETSc::MatShellCreator< D >
Wraps an Operator for use as a PETSc Mat.
- Template Parameters
-
D | the number of Cartesian dimensions |
◆ GetNewMatShell()
Get a new MatShell for use with PETSc.
- Parameters
-
op | the operator we are wrapping |
vector_allocator | function that allocates need TE vectors |
- Returns
- Mat the wrapped operator, user is responsible for calling MatDestroy on this
The documentation for this class was generated from the following file: