Wraps an Operator for use as a PETSc PC.
More...
#include <PCShellCreator.h>
template<int D>
class ThunderEgg::PETSc::PCShellCreator< D >
Wraps an Operator for use as a PETSc PC.
- Template Parameters
-
D | the number of Cartesian dimensions |
◆ GetNewPCShell()
Construct a new PCShell object.
- Parameters
-
prec | the preconditioner that is being wrapped |
op | the operator that is being preconditioned |
vector_allocator | function that allocates need TE vectors |
- Returns
- PC the wrapped PC, you are responsible for calling PCDestroy on this object
The documentation for this class was generated from the following file: