|
| v0.14.0
|
Go to the documentation of this file.
7 #ifndef __GENERICELEMENTINTERFACE_HPP__
8 #define __GENERICELEMENTINTERFACE_HPP__
17 using BcMarkerPtr = boost::shared_ptr<std::vector<char unsigned>>;
62 boost::ptr_deque<ForcesAndSourcesCore::UserDataOperator> &pip) {
66 boost::ptr_deque<ForcesAndSourcesCore::UserDataOperator> &pip) {
104 #endif //__GENERICELEMENTINTERFACE_HPP__
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
virtual MoFEMErrorCode updateElementVariables()
virtual MoFEMErrorCode postProcessElement(int step, SmartPetscObj< DM > dm, string fe_name)
virtual MoFEMErrorCode getCommandLineParameters()
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
virtual BitRefLevel getBitRefLevelMask()
virtual BitRefLevel getBitRefLevel()
virtual ~GenericElementInterface()
virtual MoFEMErrorCode createElements()=0
virtual BcMarkerPtr getGlobalBoundaryMarker()
virtual MoFEMErrorCode opFactoryDomainLhs(boost::ptr_deque< ForcesAndSourcesCore::UserDataOperator > &pip)
Set of functions declaring elements and setting operators for generic element interface.
virtual MoFEMErrorCode setOperators()=0
virtual MoFEMErrorCode setupSolverJacobianSNES()
virtual MoFEMErrorCode setupSolverFunctionTS(const TSType type)=0
virtual MoFEMErrorCode opFactoryDomainRhs(boost::ptr_deque< ForcesAndSourcesCore::UserDataOperator > &pip)
GenericElementInterface()
virtual MoFEMErrorCode addElementFields()=0
BcMarkerPtr mBoundaryMarker
virtual MoFEMErrorCode setUpdateElementVariablesOperators()
virtual MoFEMErrorCode setGlobalBoundaryMarker(BcMarkerPtr mark)
virtual MoFEMErrorCode setupSolverJacobianTS(const TSType type)=0
virtual MoFEMErrorCode setupSolverFunctionSNES()
virtual MoFEMErrorCode updateElementVariables(SmartPetscObj< DM > dm, string fe_name)
virtual MoFEMErrorCode setMonitorPtr(boost::shared_ptr< MoFEM::FEMethod > monitor_ptr)
boost::shared_ptr< MoFEM::FEMethod > monitorPtr
virtual MoFEMErrorCode postProcessElement(int step)=0
virtual MoFEMErrorCode addElementsToDM(SmartPetscObj< DM > dm)=0
std::bitset< BITREFLEVEL_SIZE > BitRefLevel
Bit structure attached to each entity identifying to what mesh entity is attached.
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
boost::shared_ptr< std::vector< char unsigned > > BcMarkerPtr