7#ifndef __GENERICELEMENTINTERFACE_HPP__
8#define __GENERICELEMENTINTERFACE_HPP__
17 using BcMarkerPtr = boost::shared_ptr<std::vector<char unsigned>>;
42 virtual MoFEMErrorCode
setMonitorPtr(boost::shared_ptr<FEMethod> monitor_ptr) {
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Set of functions declaring elements and setting operators for generic element interface.
virtual MoFEMErrorCode addElementFields()=0
virtual MoFEMErrorCode setupSolverFunctionSNES()
virtual ~GenericElementInterface()
boost::shared_ptr< FEMethod > monitorPtr
virtual MoFEMErrorCode setupSolverFunctionTS(const TSType type)=0
virtual MoFEMErrorCode setGlobalBoundaryMarker(BcMarkerPtr mark)
virtual MoFEMErrorCode createElements()=0
virtual MoFEMErrorCode setupSolverJacobianTS(const TSType type)=0
virtual MoFEMErrorCode getCommandLineParameters()
BcMarkerPtr mBoundaryMarker
virtual MoFEMErrorCode setMonitorPtr(boost::shared_ptr< FEMethod > monitor_ptr)
virtual BitRefLevel getBitRefLevel()
virtual MoFEMErrorCode updateElementVariables()
boost::shared_ptr< std::vector< char unsigned > > BcMarkerPtr
virtual MoFEMErrorCode postProcessElement(int step)=0
virtual MoFEMErrorCode setupSolverJacobianSNES()
GenericElementInterface()
virtual MoFEMErrorCode setOperators()=0
virtual MoFEMErrorCode addElementsToDM(SmartPetscObj< DM > dm)=0
virtual BcMarkerPtr getGlobalBoundaryMarker()
virtual BitRefLevel getBitRefLevelMask()