![]() |
v0.13.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 |
DMCtx () | |
virtual | ~DMCtx ()=default |
![]() | |
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 |
boost::shared_ptr< std::map< std::string, std::pair< EntityType, EntityType > > > | mapTypeRow |
boost::shared_ptr< std::map< std::string, std::pair< EntityType, EntityType > > > | 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 894 of file DMMoFEM.hpp.
MoFEM::DMCtx::DMCtx | ( | ) |
Definition at line 30 of file DMMMoFEM.cpp.
|
virtualdefault |
|
virtual |
Implements MoFEM::UnknownInterface.
Reimplemented in DMMGViaApproxOrdersCtx.
Definition at line 53 of file DMMMoFEM.cpp.
std::vector<std::string> MoFEM::DMCtx::colCompPrb |
Definition at line 920 of file DMMoFEM.hpp.
std::vector<std::string> MoFEM::DMCtx::colFields |
Definition at line 915 of file DMMoFEM.hpp.
PetscBool MoFEM::DMCtx::destroyProblem |
If true destroy problem with DM.
Definition at line 926 of file DMMoFEM.hpp.
PetscBool MoFEM::DMCtx::isCompDM |
Definition at line 918 of file DMMoFEM.hpp.
PetscBool MoFEM::DMCtx::isPartitioned |
true if read mesh is on parts
Definition at line 904 of file DMMoFEM.hpp.
PetscBool MoFEM::DMCtx::isProblemBuild |
True if problem is build.
Definition at line 900 of file DMMoFEM.hpp.
PetscBool MoFEM::DMCtx::isSquareMatrix |
true if rows equals to cols
Definition at line 905 of file DMMoFEM.hpp.
PetscBool MoFEM::DMCtx::isSubDM |
Definition at line 913 of file DMMoFEM.hpp.
boost::shared_ptr<KspCtx> MoFEM::DMCtx::kspCtx |
data structure KSP
Definition at line 934 of file DMMoFEM.hpp.
boost::shared_ptr<std::map<std::string, std::pair<EntityType, EntityType> > > MoFEM::DMCtx::mapTypeCol |
Definition at line 924 of file DMMoFEM.hpp.
boost::shared_ptr<std::map<std::string, std::pair<EntityType, EntityType> > > MoFEM::DMCtx::mapTypeRow |
Definition at line 922 of file DMMoFEM.hpp.
Interface* MoFEM::DMCtx::mField_ptr |
MoFEM interface.
Definition at line 899 of file DMMoFEM.hpp.
pinter to main problem to sub-problem
Definition at line 916 of file DMMoFEM.hpp.
std::string MoFEM::DMCtx::problemName |
Problem name.
Definition at line 901 of file DMMoFEM.hpp.
pinter to problem data structure
Definition at line 910 of file DMMoFEM.hpp.
int MoFEM::DMCtx::rAnk |
Definition at line 907 of file DMMoFEM.hpp.
int MoFEM::DMCtx::referenceNumber |
Definition at line 932 of file DMMoFEM.hpp.
std::vector<std::string> MoFEM::DMCtx::rowCompPrb |
Definition at line 919 of file DMMoFEM.hpp.
std::vector<std::string> MoFEM::DMCtx::rowFields |
Definition at line 914 of file DMMoFEM.hpp.
int MoFEM::DMCtx::sIze |
Definition at line 907 of file DMMoFEM.hpp.
boost::shared_ptr<SnesCtx> MoFEM::DMCtx::snesCtx |
data structure SNES
Definition at line 935 of file DMMoFEM.hpp.
boost::shared_ptr<TsCtx> MoFEM::DMCtx::tsCtx |
data structure for TS solver
Definition at line 936 of file DMMoFEM.hpp.
int MoFEM::DMCtx::verbosity |
verbosity
Definition at line 931 of file DMMoFEM.hpp.