v0.14.0 |
#include <src/interfaces/LoopMethods.hpp>
Public Types | |
enum | DataContext { CTX_SET_NONE = 0, CTX_SET_F = 1 << 0, CTX_SET_A = 1 << 1, CTX_SET_B = 1 << 2, CTX_SET_X = 1 << 3, CTX_SET_X_T = 1 << 4, CTX_SET_X_TT = 1 << 6, CTX_SET_TIME = 1 << 7 } |
using | Switches = std::bitset< 8 > |
Public Member Functions | |
MoFEMErrorCode | query_interface (boost::typeindex::type_index type_index, UnknownInterface **iface) const |
PetscData () | |
virtual | ~PetscData ()=default |
MoFEMErrorCode | copyPetscData (const PetscData &petsc_data) |
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 | |
Switches | data_ctx |
Vec | f |
Mat | A |
Mat | B |
Vec | x |
Vec | x_t |
Vec | x_tt |
Static Public Attributes | |
static constexpr Switches | CtxSetNone = PetscData::Switches(CTX_SET_NONE) |
static constexpr Switches | CtxSetF = PetscData::Switches(CTX_SET_F) |
static constexpr Switches | CtxSetA = PetscData::Switches(CTX_SET_A) |
static constexpr Switches | CtxSetB = PetscData::Switches(CTX_SET_B) |
static constexpr Switches | CtxSetX = PetscData::Switches(CTX_SET_X) |
static constexpr Switches | CtxSetX_T = PetscData::Switches(CTX_SET_X_T) |
static constexpr Switches | CtxSetX_TT = PetscData::Switches(CTX_SET_X_TT) |
static constexpr Switches | CtxSetTime = PetscData::Switches(CTX_SET_TIME) |
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... | |
Definition at line 13 of file LoopMethods.hpp.
using MoFEM::PetscData::Switches = std::bitset<8> |
Definition at line 33 of file LoopMethods.hpp.
Enumerator | |
---|---|
CTX_SET_NONE | |
CTX_SET_F | |
CTX_SET_A | |
CTX_SET_B | |
CTX_SET_X | |
CTX_SET_X_T | |
CTX_SET_X_TT | |
CTX_SET_TIME |
Definition at line 22 of file LoopMethods.hpp.
MoFEM::PetscData::PetscData | ( | ) |
Definition at line 27 of file LoopMethods.cpp.
|
virtualdefault |
MoFEMErrorCode MoFEM::PetscData::copyPetscData | ( | const PetscData & | petsc_data | ) |
Definition at line 31 of file LoopMethods.cpp.
|
virtual |
Implements MoFEM::UnknownInterface.
Reimplemented in MoFEM::DofMethod, MoFEM::EntityMethod, MoFEM::FEMethod, MoFEM::BasicMethod, MoFEM::TSMethod, MoFEM::SnesMethod, and MoFEM::KspMethod.
Definition at line 21 of file LoopMethods.cpp.
Mat MoFEM::PetscData::A |
Definition at line 49 of file LoopMethods.hpp.
Mat MoFEM::PetscData::B |
Definition at line 50 of file LoopMethods.hpp.
|
staticconstexpr |
Definition at line 37 of file LoopMethods.hpp.
|
staticconstexpr |
Definition at line 38 of file LoopMethods.hpp.
|
staticconstexpr |
Definition at line 36 of file LoopMethods.hpp.
|
staticconstexpr |
Definition at line 35 of file LoopMethods.hpp.
|
staticconstexpr |
Definition at line 42 of file LoopMethods.hpp.
|
staticconstexpr |
Definition at line 39 of file LoopMethods.hpp.
|
staticconstexpr |
Definition at line 40 of file LoopMethods.hpp.
|
staticconstexpr |
Definition at line 41 of file LoopMethods.hpp.
Switches MoFEM::PetscData::data_ctx |
Definition at line 44 of file LoopMethods.hpp.
Vec MoFEM::PetscData::f |
Definition at line 48 of file LoopMethods.hpp.
Vec MoFEM::PetscData::x |
Definition at line 51 of file LoopMethods.hpp.
Vec MoFEM::PetscData::x_t |
Definition at line 52 of file LoopMethods.hpp.
Vec MoFEM::PetscData::x_tt |
Definition at line 53 of file LoopMethods.hpp.