![]() |
v0.13.2 |
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 |
DMCtx () | |
virtual | ~DMCtx ()=default |
![]() | |
virtual MoFEMErrorCode | query_interface (boost::typeindex::type_index type_index, UnknownInterface **iface) const =0 |
template<class IFACE > | |
MoFEMErrorCode | registerInterface (bool error_if_registration_failed=true) |
Register interface. More... | |
template<class IFACE > | |
MoFEMErrorCode | getInterface (IFACE *&iface) const |
Get interface refernce 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 | |
Interface * | mField_ptr |
MoFEM interface. More... | |
PetscBool | isProblemBuild |
True if problem is build. More... | |
std::string | problemName |
Problem name. More... | |
PetscBool | isPartitioned |
true if read mesh is on parts More... | |
PetscBool | isSquareMatrix |
true if rows equals to cols More... | |
int | rAnk |
int | sIze |
const Problem * | problemPtr |
pinter to problem data structure More... | |
PetscBool | isSubDM |
std::vector< std::string > | rowFields |
std::vector< std::string > | colFields |
const Problem * | problemMainOfSubPtr |
pinter to main problem to sub-problem More... | |
PetscBool | isCompDM |
std::vector< std::string > | rowCompPrb |
std::vector< std::string > | colCompPrb |
std::map< std::string, boost::shared_ptr< Range > > | mapTypeRow |
std::map< std::string, boost::shared_ptr< Range > > | mapTypeCol |
PetscBool | destroyProblem |
If true destroy problem with DM. More... | |
int | verbosity |
verbosity More... | |
int | referenceNumber |
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... | |
Additional Inherited Members | |
![]() | |
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 924 of file DMMoFEM.hpp.
MoFEM::DMCtx::DMCtx | ( | ) |
Definition at line 18 of file DMMoFEM.cpp.
|
virtualdefault |
|
virtual |
Implements MoFEM::UnknownInterface.
Reimplemented in DMMGViaApproxOrdersCtx.
Definition at line 41 of file DMMoFEM.cpp.
std::vector<std::string> MoFEM::DMCtx::colCompPrb |
Definition at line 950 of file DMMoFEM.hpp.
std::vector<std::string> MoFEM::DMCtx::colFields |
Definition at line 945 of file DMMoFEM.hpp.
PetscBool MoFEM::DMCtx::destroyProblem |
If true destroy problem with DM.
Definition at line 954 of file DMMoFEM.hpp.
PetscBool MoFEM::DMCtx::isCompDM |
Definition at line 948 of file DMMoFEM.hpp.
PetscBool MoFEM::DMCtx::isPartitioned |
true if read mesh is on parts
Definition at line 934 of file DMMoFEM.hpp.
PetscBool MoFEM::DMCtx::isProblemBuild |
True if problem is build.
Definition at line 930 of file DMMoFEM.hpp.
PetscBool MoFEM::DMCtx::isSquareMatrix |
true if rows equals to cols
Definition at line 935 of file DMMoFEM.hpp.
PetscBool MoFEM::DMCtx::isSubDM |
Definition at line 943 of file DMMoFEM.hpp.
boost::shared_ptr<KspCtx> MoFEM::DMCtx::kspCtx |
data structure KSP
Definition at line 962 of file DMMoFEM.hpp.
std::map<std::string, boost::shared_ptr<Range> > MoFEM::DMCtx::mapTypeCol |
Definition at line 952 of file DMMoFEM.hpp.
std::map<std::string, boost::shared_ptr<Range> > MoFEM::DMCtx::mapTypeRow |
Definition at line 951 of file DMMoFEM.hpp.
Interface* MoFEM::DMCtx::mField_ptr |
MoFEM interface.
Definition at line 929 of file DMMoFEM.hpp.
const Problem* MoFEM::DMCtx::problemMainOfSubPtr |
pinter to main problem to sub-problem
Definition at line 946 of file DMMoFEM.hpp.
std::string MoFEM::DMCtx::problemName |
Problem name.
Definition at line 931 of file DMMoFEM.hpp.
const Problem* MoFEM::DMCtx::problemPtr |
pinter to problem data structure
Definition at line 940 of file DMMoFEM.hpp.
int MoFEM::DMCtx::rAnk |
Definition at line 937 of file DMMoFEM.hpp.
int MoFEM::DMCtx::referenceNumber |
Definition at line 960 of file DMMoFEM.hpp.
std::vector<std::string> MoFEM::DMCtx::rowCompPrb |
Definition at line 949 of file DMMoFEM.hpp.
std::vector<std::string> MoFEM::DMCtx::rowFields |
Definition at line 944 of file DMMoFEM.hpp.
int MoFEM::DMCtx::sIze |
Definition at line 937 of file DMMoFEM.hpp.
boost::shared_ptr<SnesCtx> MoFEM::DMCtx::snesCtx |
data structure SNES
Definition at line 963 of file DMMoFEM.hpp.
boost::shared_ptr<TsCtx> MoFEM::DMCtx::tsCtx |
data structure for TS solver
Definition at line 964 of file DMMoFEM.hpp.
int MoFEM::DMCtx::verbosity |
verbosity
Definition at line 959 of file DMMoFEM.hpp.