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:
argcA pointer toargcas provided to main().argvA pointer toargvas provided to main().databaseThe path to a PETSC database file.helpAdditional help to print.
The documentation for this class was generated from the following file cpppetsc/src/include/ae108/cpppetsc/Context.h