![]() |
v0.14.0 |
#include <src/petsc/DMCtxImpl.hpp>
Public Member Functions | |
DMCtxImpl () | |
int | useCount () |
int | incrementReference () |
![]() | |
MoFEMErrorCode | query_interface (boost::typeindex::type_index type_index, UnknownInterface **iface) const |
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 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 | |
int | rAnk = -1 |
int | sIze = -1 |
int | verbosity = VERBOSE |
verbosity More... | |
int | referenceNumber = 0 |
PetscBool | isSubDM = PETSC_FALSE |
std::vector< std::string > | rowSubFields |
std::vector< std::string > | colSubFields |
const Problem * | problemMainOfSubPtr |
pointer to main problem to sub-problem More... | |
PetscBool | isCompDM = PETSC_FALSE |
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 | isPartitioned = PETSC_FALSE |
true if read mesh is on parts More... | |
PetscBool | isSquareMatrix = PETSC_TRUE |
true if rows equals to cols More... | |
PetscBool | destroyProblem = PETSC_FALSE |
If true destroy problem with DM. More... | |
PetscBool | isProblemBuild = PETSC_FALSE |
True if problem is build. More... | |
Interface * | mField_ptr = nullptr |
MoFEM interface. More... | |
const Problem * | problemPtr = nullptr |
pointer to problem data structure More... | |
std::string | problemName |
Problem name. More... | |
boost::shared_ptr< BlockStructure > | blocMatDataPtr |
boost::shared_ptr< NestSchurData > | nestedSchurDataPtr |
![]() | |
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... | |
![]() | |
DMCtx ()=default | |
Definition at line 10 of file DMCtxImpl.hpp.
MoFEM::DMCtxImpl::DMCtxImpl | ( | ) |
Definition at line 25 of file DMMoFEM.cpp.
|
inline |
Definition at line 15 of file DMCtxImpl.hpp.
|
inline |
Definition at line 14 of file DMCtxImpl.hpp.
boost::shared_ptr<BlockStructure> MoFEM::DMCtxImpl::blocMatDataPtr |
Definition at line 48 of file DMCtxImpl.hpp.
std::vector<std::string> MoFEM::DMCtxImpl::colCompPrb |
Definition at line 31 of file DMCtxImpl.hpp.
std::vector<std::string> MoFEM::DMCtxImpl::colSubFields |
Definition at line 26 of file DMCtxImpl.hpp.
PetscBool MoFEM::DMCtxImpl::destroyProblem = PETSC_FALSE |
If true destroy problem with DM.
Definition at line 38 of file DMCtxImpl.hpp.
PetscBool MoFEM::DMCtxImpl::isCompDM = PETSC_FALSE |
Definition at line 29 of file DMCtxImpl.hpp.
PetscBool MoFEM::DMCtxImpl::isPartitioned = PETSC_FALSE |
true if read mesh is on parts
Definition at line 36 of file DMCtxImpl.hpp.
PetscBool MoFEM::DMCtxImpl::isProblemBuild = PETSC_FALSE |
True if problem is build.
Definition at line 39 of file DMCtxImpl.hpp.
PetscBool MoFEM::DMCtxImpl::isSquareMatrix = PETSC_TRUE |
true if rows equals to cols
Definition at line 37 of file DMCtxImpl.hpp.
PetscBool MoFEM::DMCtxImpl::isSubDM = PETSC_FALSE |
Definition at line 24 of file DMCtxImpl.hpp.
std::map<std::string, boost::shared_ptr<Range> > MoFEM::DMCtxImpl::mapTypeCol |
Definition at line 33 of file DMCtxImpl.hpp.
std::map<std::string, boost::shared_ptr<Range> > MoFEM::DMCtxImpl::mapTypeRow |
Definition at line 32 of file DMCtxImpl.hpp.
Interface* MoFEM::DMCtxImpl::mField_ptr = nullptr |
MoFEM interface.
Definition at line 41 of file DMCtxImpl.hpp.
boost::shared_ptr<NestSchurData> MoFEM::DMCtxImpl::nestedSchurDataPtr |
Definition at line 49 of file DMCtxImpl.hpp.
const Problem* MoFEM::DMCtxImpl::problemMainOfSubPtr |
pointer to main problem to sub-problem
Definition at line 27 of file DMCtxImpl.hpp.
std::string MoFEM::DMCtxImpl::problemName |
Problem name.
Definition at line 45 of file DMCtxImpl.hpp.
const Problem* MoFEM::DMCtxImpl::problemPtr = nullptr |
pointer to problem data structure
Definition at line 44 of file DMCtxImpl.hpp.
int MoFEM::DMCtxImpl::rAnk = -1 |
Definition at line 17 of file DMCtxImpl.hpp.
int MoFEM::DMCtxImpl::referenceNumber = 0 |
Definition at line 21 of file DMCtxImpl.hpp.
std::vector<std::string> MoFEM::DMCtxImpl::rowCompPrb |
Definition at line 30 of file DMCtxImpl.hpp.
std::vector<std::string> MoFEM::DMCtxImpl::rowSubFields |
Definition at line 25 of file DMCtxImpl.hpp.
int MoFEM::DMCtxImpl::sIze = -1 |
Definition at line 18 of file DMCtxImpl.hpp.
int MoFEM::DMCtxImpl::verbosity = VERBOSE |
verbosity
Definition at line 20 of file DMCtxImpl.hpp.