41 createOp(boost::shared_ptr<PhysicalEquations> physical_ptr,
bool eval_stress,
42 bool eval_tangent,
bool update) {
45 physical_ptr, eval_stress, eval_tangent, update);
50boost::shared_ptr<PhysicalEquations>
52 boost::shared_ptr<MatOpsData> mat_ops_data_ptr,
int tag) {
53 return boost::make_shared<GenericElasticImpl<3>>(mat_ops_data_ptr, tag);
57boost::shared_ptr<PhysicalEquations>
59 boost::shared_ptr<MatOpsData> mat_ops_data_ptr,
int tag) {
60 return boost::make_shared<GenericElasticImpl<2>>(mat_ops_data_ptr, tag);
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
boost::shared_ptr< PhysicalEquations > createMatOpsPhysicalEquationsPtr< GenericElastic, MODEL_3D >(boost::shared_ptr< MatOpsData > mat_ops_data_ptr, int tag)
boost::shared_ptr< PhysicalEquations > createMatOpsPhysicalEquationsPtr< GenericElastic, MODEL_2D_PLANE_STRAIN >(boost::shared_ptr< MatOpsData > mat_ops_data_ptr, int tag)
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
UBlasMatrix< double > MatrixDouble
implementation of Data Operators for Forces and Sources
ForcesAndSourcesCore::UserDataOperator * createOp(boost::shared_ptr< PhysicalEquations > physical_ptr, bool eval_stress, bool eval_tangent, bool update)
MoFEMErrorCode getOptions(MoFEM::Interface *m_field_ptr=nullptr) override
MoFEMErrorCode setParams(FEMethod *fe_ptr, int gg) override
GenericElastic(boost::shared_ptr< MatOpsData > mat_ops_data_ptr, int tag=-1)
MoFEMErrorCode recordTape() override
boost::shared_ptr< MatOpsData > matOpsDataPtr
Deprecated interface functions.
Structure for user loop methods on finite elements.