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) {
62 boost::ptr_deque<ForcesAndSourcesCore::UserDataOperator> &pip) {
66 boost::ptr_deque<ForcesAndSourcesCore::UserDataOperator> &pip) {
#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.
boost::shared_ptr< MoFEM::FEMethod > monitorPtr
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 setUpdateElementVariablesOperators()
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 MoFEMErrorCode opFactoryDomainRhs(boost::ptr_deque< ForcesAndSourcesCore::UserDataOperator > &pip)
virtual MoFEMErrorCode updateElementVariables(SmartPetscObj< DM > dm, string fe_name)
virtual BitRefLevel getBitRefLevel()
virtual MoFEMErrorCode opFactoryDomainLhs(boost::ptr_deque< ForcesAndSourcesCore::UserDataOperator > &pip)
virtual MoFEMErrorCode updateElementVariables()
boost::shared_ptr< std::vector< char unsigned > > BcMarkerPtr
virtual MoFEMErrorCode postProcessElement(int step, SmartPetscObj< DM > dm, string fe_name)
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()