![]() |
v0.13.2 |
Structure for DM for multi-grid via approximation orders. More...
#include <users_modules/basic_finite_elements/src/PCMGSetUpViaApproxOrders.hpp>
Public Member Functions | |
MoFEMErrorCode | query_interface (boost::typeindex::type_index type_index, MoFEM::UnknownInterface **iface) const |
DMMGViaApproxOrdersCtx () | |
virtual | ~DMMGViaApproxOrdersCtx () |
MoFEMErrorCode | destroyCoarseningIS () |
![]() | |
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 | |
AO | aO |
std::vector< IS > | coarseningIS |
Coarsening IS. More... | |
std::vector< Mat > | kspOperators |
Get KSP operators. More... | |
boost::ptr_vector< PCMGSubMatrixCtx > | shellMatrixCtxPtr |
Shell sub-matrix context. More... | |
![]() | |
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... | |
Structure for DM for multi-grid via approximation orders.
Definition at line 22 of file PCMGSetUpViaApproxOrders.hpp.
DMMGViaApproxOrdersCtx::DMMGViaApproxOrdersCtx | ( | ) |
Definition at line 134 of file PCMGSetUpViaApproxOrders.cpp.
|
virtual |
Definition at line 138 of file PCMGSetUpViaApproxOrders.cpp.
MoFEMErrorCode DMMGViaApproxOrdersCtx::destroyCoarseningIS | ( | ) |
Definition at line 143 of file PCMGSetUpViaApproxOrders.cpp.
|
virtual |
Reimplemented from MoFEM::DMCtx.
Definition at line 163 of file PCMGSetUpViaApproxOrders.cpp.
AO DMMGViaApproxOrdersCtx::aO |
Definition at line 32 of file PCMGSetUpViaApproxOrders.hpp.
std::vector<IS> DMMGViaApproxOrdersCtx::coarseningIS |
Coarsening IS.
Definition at line 33 of file PCMGSetUpViaApproxOrders.hpp.
std::vector<Mat> DMMGViaApproxOrdersCtx::kspOperators |
Get KSP operators.
Definition at line 34 of file PCMGSetUpViaApproxOrders.hpp.
boost::ptr_vector<PCMGSubMatrixCtx> DMMGViaApproxOrdersCtx::shellMatrixCtxPtr |
Shell sub-matrix context.
Definition at line 36 of file PCMGSetUpViaApproxOrders.hpp.