Class ae108::cpppetsc::Context
template <class Policy>
ClassList > ae108 > cpppetsc > Context
Public Functions
Type | Name |
---|---|
Context (int *const argc, char ***const argv, const std::string & database={}, const std::string & help={}) Initializes PETSc. PETSc is finalized automatically when the instance of Context is destroyed. |
Public Functions Documentation
function Context
Initializes PETSc. PETSc is finalized automatically when the instance of Context is destroyed.
explicit ae108::cpppetsc::Context::Context (
int *const argc,
char ***const argv,
const std::string & database={},
const std::string & help={}
)
Parameters:
argc
A pointer toargc
as provided to main().argv
A pointer toargv
as provided to main().database
The path to a PETSC database file.help
Additional help to print.
The documentation for this class was generated from the following file cpppetsc/src/include/ae108/cpppetsc/Context.h