v0.14.0
Public Member Functions | Public Attributes | List of all members
DMMGViaApproxOrdersCtx Struct Reference

Structure for DM for multi-grid via approximation orders. More...

#include <users_modules/basic_finite_elements/src/PCMGSetUpViaApproxOrders.hpp>

Inheritance diagram for DMMGViaApproxOrdersCtx:
[legend]
Collaboration diagram for DMMGViaApproxOrdersCtx:
[legend]

Public Member Functions

MoFEMErrorCode query_interface (boost::typeindex::type_index type_index, MoFEM::UnknownInterface **iface) const
 
 DMMGViaApproxOrdersCtx ()
 
virtual ~DMMGViaApproxOrdersCtx ()
 
MoFEMErrorCode destroyCoarseningIS ()
 
- Public Member Functions inherited from MoFEM::DMCtxImpl
 DMCtxImpl ()
 
int useCount ()
 
int incrementReference ()
 
- Public Member Functions inherited from MoFEM::DMCtx
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

AO aO
 
std::vector< IS > coarseningIS
 Coarsening IS. More...
 
std::vector< Mat > kspOperators
 Get KSP operators. More...
 
boost::ptr_vector< PCMGSubMatrixCtxshellMatrixCtxPtr
 Shell sub-matrix context. More...
 
- Public Attributes inherited from MoFEM::DMCtxImpl
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 ProblemproblemMainOfSubPtr
 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...
 
InterfacemField_ptr = nullptr
 MoFEM interface. More...
 
const ProblemproblemPtr = nullptr
 pointer to problem data structure More...
 
std::string problemName
 Problem name. More...
 
boost::shared_ptr< BlockStructureblocMatDataPtr
 
boost::shared_ptr< NestSchurDatanestedSchurDataPtr
 
- Public Attributes inherited from MoFEM::DMCtx
boost::shared_ptr< KspCtxkspCtx
 data structure KSP More...
 
boost::shared_ptr< SnesCtxsnesCtx
 data structure SNES More...
 
boost::shared_ptr< TsCtxtsCtx
 data structure for TS solver More...
 

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...
 
- Protected Member Functions inherited from MoFEM::DMCtx
 DMCtx ()=default
 

Detailed Description

Structure for DM for multi-grid via approximation orders.

Definition at line 22 of file PCMGSetUpViaApproxOrders.hpp.

Constructor & Destructor Documentation

◆ DMMGViaApproxOrdersCtx()

DMMGViaApproxOrdersCtx::DMMGViaApproxOrdersCtx ( )

◆ ~DMMGViaApproxOrdersCtx()

virtual DMMGViaApproxOrdersCtx::~DMMGViaApproxOrdersCtx ( )
virtual

Member Function Documentation

◆ destroyCoarseningIS()

MoFEMErrorCode DMMGViaApproxOrdersCtx::destroyCoarseningIS ( )

◆ query_interface()

MoFEMErrorCode DMMGViaApproxOrdersCtx::query_interface ( boost::typeindex::type_index  type_index,
MoFEM::UnknownInterface **  iface 
) const
virtual

Reimplemented from MoFEM::DMCtx.

Member Data Documentation

◆ aO

AO DMMGViaApproxOrdersCtx::aO

Definition at line 32 of file PCMGSetUpViaApproxOrders.hpp.

◆ coarseningIS

std::vector<IS> DMMGViaApproxOrdersCtx::coarseningIS

Coarsening IS.

Definition at line 33 of file PCMGSetUpViaApproxOrders.hpp.

◆ kspOperators

std::vector<Mat> DMMGViaApproxOrdersCtx::kspOperators

Get KSP operators.

Definition at line 34 of file PCMGSetUpViaApproxOrders.hpp.

◆ shellMatrixCtxPtr

boost::ptr_vector<PCMGSubMatrixCtx> DMMGViaApproxOrdersCtx::shellMatrixCtxPtr

Shell sub-matrix context.

Definition at line 36 of file PCMGSetUpViaApproxOrders.hpp.


The documentation for this struct was generated from the following file: