v0.14.0 |
PETSc Discrete Manager data structure. More...
#include <src/petsc/DMMoFEM.hpp>
Public Member Functions | |
MoFEMErrorCode | query_interface (boost::typeindex::type_index type_index, UnknownInterface **iface) const |
virtual | ~DMCtx ()=default |
Public Member Functions inherited from MoFEM::UnknownInterface | |
template<class IFACE > | |
MoFEMErrorCode | registerInterface (bool error_if_registration_failed=true) |
Register interface. More... | |
template<class IFACE > | |
MoFEMErrorCode | getInterface (IFACE *&iface) const |
Get interface reference to pointer of interface. More... | |
template<class IFACE > | |
MoFEMErrorCode | getInterface (IFACE **const iface) const |
Get interface pointer to pointer of interface. More... | |
template<class IFACE , typename boost::enable_if< boost::is_pointer< IFACE >, int >::type = 0> | |
IFACE | getInterface () const |
Get interface pointer to pointer of interface. More... | |
template<class IFACE , typename boost::enable_if< boost::is_reference< IFACE >, int >::type = 0> | |
IFACE | getInterface () const |
Get reference to interface. More... | |
template<class IFACE > | |
IFACE * | getInterface () const |
Function returning pointer to interface. More... | |
virtual | ~UnknownInterface ()=default |
Public Attributes | |
boost::shared_ptr< KspCtx > | kspCtx |
data structure KSP More... | |
boost::shared_ptr< SnesCtx > | snesCtx |
data structure SNES More... | |
boost::shared_ptr< TsCtx > | tsCtx |
data structure for TS solver More... | |
Protected Member Functions | |
DMCtx ()=default | |
Additional Inherited Members | |
Static Public Member Functions inherited from MoFEM::UnknownInterface | |
static MoFEMErrorCode | getLibVersion (Version &version) |
Get library version. More... | |
static MoFEMErrorCode | getFileVersion (moab::Interface &moab, Version &version) |
Get database major version. More... | |
static MoFEMErrorCode | setFileVersion (moab::Interface &moab, Version version=Version(MoFEM_VERSION_MAJOR, MoFEM_VERSION_MINOR, MoFEM_VERSION_BUILD)) |
Get database major version. More... | |
static MoFEMErrorCode | getInterfaceVersion (Version &version) |
Get database major version. More... | |
PETSc Discrete Manager data structure.
This structure should not be accessed or modified by user. Is not available from outside MoFEM DM manager. However user can inherit dat class and add data for additional functionality.
This is part of implementation for PETSc interface, see more details in http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/index.html
Definition at line 1012 of file DMMoFEM.hpp.
|
virtualdefault |
|
protecteddefault |
|
virtual |
Implements MoFEM::UnknownInterface.
Reimplemented in MoFEM::DMMGViaApproxOrdersCtx.
Definition at line 19 of file DMMoFEM.cpp.
boost::shared_ptr<KspCtx> MoFEM::DMCtx::kspCtx |
data structure KSP
Definition at line 1019 of file DMMoFEM.hpp.
boost::shared_ptr<SnesCtx> MoFEM::DMCtx::snesCtx |
data structure SNES
Definition at line 1020 of file DMMoFEM.hpp.
boost::shared_ptr<TsCtx> MoFEM::DMCtx::tsCtx |
data structure for TS solver
Definition at line 1021 of file DMMoFEM.hpp.