v0.15.0
Loading...
Searching...
No Matches
EshelbianCore.hpp
Go to the documentation of this file.
1/**
2 * @file EshelbianCore.hpp
3 * @author your name (you@domain.com)
4 * @brief
5 * @version 0.1
6 * @date 2024-12-31
7 *
8 * @copyright Copyright (c) 2024
9 *
10 */
11
13
14 static inline enum SymmetrySelector symmetrySelector = SYMMETRIC;
15 static inline enum RotSelector rotSelector = LARGE_ROT;
16 static inline enum RotSelector gradApproximator = LARGE_ROT;
17 static inline enum StretchSelector stretchSelector = LOG;
18 static inline PetscBool noStretch = PETSC_FALSE; //< no stretch field
19 static inline PetscBool setSingularity = PETSC_TRUE; //< set singularity
20 static inline PetscBool dynamicRelaxation =
21 PETSC_FALSE; //< switch on/off dynamic relaxation
22 static inline PetscBool crackingOn = PETSC_FALSE; //< cracking on
23 static inline double crackingStartTime = 0; //< time when crack starts to grow
24 static inline int nbJIntegralLevels =
25 0; //< number of levels for J integral evaluation
26 static inline double dynamicTime =
27 0; //< true time used when dynamic relaxation is used.
28 static inline int dynamicStep =
29 0; //< true time used when dynamic relaxation is used.
30 static inline PetscBool l2UserBaseScale = PETSC_FALSE; //< scale L2 user base
31 static inline int addCrackMeshsetId = 1000; //< add crack meshset id
32 static inline double griffithEnergy = 1; ///< Griffith energy
33 static inline enum EnergyReleaseSelector energyReleaseSelector =
34 GRIFFITH_SKELETON; //< energy release selector
35 static inline std::string internalStressTagName =
36 ""; //< internal stress tag name
37 static inline int internalStressInterpOrder =
38 1; //< internal stress interpolation order
39 static inline PetscBool internalStressVoigt =
40 PETSC_FALSE; //< internal stress index notation
41
42 static double exponentBase;
43 static boost::function<double(const double)> f;
44 static boost::function<double(const double)> d_f;
45 static boost::function<double(const double)> dd_f;
46 static boost::function<double(const double)> inv_f;
47 static boost::function<double(const double)> inv_d_f;
48 static boost::function<double(const double)> inv_dd_f;
49
50 static double f_log_e(const double v) { return std::exp(v); }
51 static double d_f_log_e(const double v) { return std::exp(v); }
52 static double dd_f_log_e(const double v) { return std::exp(v); }
53 static double inv_f_log_e(const double v) { return std::log(v); }
54 static double inv_d_f_log_e(const double v) { return (1. / v); }
55 static double inv_dd_f_log_e(const double v) { return -(1. / v / v); }
56
57 static double f_log(const double v) {
58 return pow(EshelbianCore::exponentBase, v);
59 }
60 static double d_f_log(const double v) {
61 return pow(exponentBase, v) * log(EshelbianCore::exponentBase);
62 }
63 static double dd_f_log(const double v) {
64 return pow(EshelbianCore::exponentBase, v) *
66 }
67
68 static double inv_f_log(const double v) {
69 return log(v) / log(EshelbianCore::exponentBase);
70 }
71 static double inv_d_f_log(const double v) {
72 return (1. / v) / log(EshelbianCore::exponentBase);
73 }
74 static double inv_dd_f_log(const double v) {
75 return -(1. / (v * v)) / log(EshelbianCore::exponentBase);
76 }
77
78 static double f_linear(const double v) { return v + 1; }
79 static double d_f_linear(const double v) { return 1; }
80 static double dd_f_linear(const double v) { return 0; }
81
82 static double inv_f_linear(const double v) { return v - 1; }
83 static double inv_d_f_linear(const double v) { return 0; }
84 static double inv_dd_f_linear(const double v) { return 0; }
85
86 /**
87 * \brief Getting interface of core database
88 * @param uuid unique ID of interface
89 * @param iface returned pointer to interface
90 * @return error code
91 */
92 MoFEMErrorCode query_interface(boost::typeindex::type_index type_index,
93 UnknownInterface **iface) const;
94
96
97 boost::shared_ptr<DataAtIntegrationPts> dataAtPts;
98 boost::shared_ptr<PhysicalEquations> physicalEquations;
99 boost::shared_ptr<AnalyticalExprPython> AnalyticalExprPythonPtr;
100
101 boost::shared_ptr<VolumeElementForcesAndSourcesCore> elasticFeRhs;
102 boost::shared_ptr<VolumeElementForcesAndSourcesCore> elasticFeLhs;
103 boost::shared_ptr<FaceElementForcesAndSourcesCore> elasticBcLhs;
104 boost::shared_ptr<FaceElementForcesAndSourcesCore> elasticBcRhs;
105 boost::shared_ptr<ContactTree> contactTreeRhs; ///< Make a contact tree
106
107 SmartPetscObj<DM> dM; ///< Coupled problem all fields
108 SmartPetscObj<DM> dmElastic; ///< Elastic problem
109 SmartPetscObj<DM> dmMaterial; ///< Material problem
110 SmartPetscObj<DM> dmPrjSpatial; ///< Projection spatial displacement
111
112 const std::string piolaStress = "P";
113 // const std::string eshelbyStress = "S";
114 const std::string spatialL2Disp = "wL2";
115 // const std::string materialL2Disp = "WL2";
116 const std::string spatialH1Disp = "wH1";
117 const std::string materialH1Positions = "XH1";
118 const std::string hybridSpatialDisp = "hybridSpatialDisp";
119 // const std::string hybridMaterialDisp = "hybridMaterialDisp";
120 const std::string contactDisp = "contactDisp";
121 const std::string stretchTensor = "u";
122 const std::string rotAxis = "omega";
123 const std::string bubbleField = "bubble";
124
125 const std::string elementVolumeName = "EP";
126 const std::string naturalBcElement = "NATURAL_BC";
127 const std::string skinElement = "SKIN";
128 const std::string skeletonElement = "SKELETON";
129 const std::string contactElement = "CONTACT";
130 // const std::string materialVolumeElement = "MEP";
131 // const std::string materialSkeletonElement = "MATERIAL_SKELETON";
132
134 virtual ~EshelbianCore();
135
136 int spaceOrder = 2;
137 int spaceH1Order = -1;
139 double alphaU = 0;
140 double alphaW = 0;
141 double alphaOmega = 0;
142 double alphaRho = 0;
143
144 int contactRefinementLevels = 1; //< refinement levels for contact integration
145 int frontLayers = 3; //< front layers with material element
146
147 MoFEMErrorCode getOptions();
148
149 boost::shared_ptr<BcDispVec> bcSpatialDispVecPtr;
150 boost::shared_ptr<BcRotVec> bcSpatialRotationVecPtr;
151 boost::shared_ptr<TractionBcVec> bcSpatialTractionVecPtr;
152 boost::shared_ptr<TractionFreeBc> bcSpatialFreeTractionVecPtr;
153 boost::shared_ptr<NormalDisplacementBcVec> bcSpatialNormalDisplacementVecPtr;
154 boost::shared_ptr<AnalyticalDisplacementBcVec> bcSpatialAnalyticalDisplacementVecPtr;
155 boost::shared_ptr<AnalyticalTractionBcVec> bcSpatialAnalyticalTractionVecPtr;
156 boost::shared_ptr<PressureBcVec> bcSpatialPressureVecPtr;
157 boost::shared_ptr<ExternalStrainVec> externalStrainVecPtr;
158
159 std::map<std::string, boost::shared_ptr<ScalingMethod>> timeScaleMap;
160
161 template <typename BC>
162 MoFEMErrorCode getBc(boost::shared_ptr<BC> &bc_vec_ptr,
163 const std::string block_name, const int nb_attributes) {
165 for (auto it :
166 mField.getInterface<MeshsetsManager>()->getCubitMeshsetPtr(std::regex(
167
168 (boost::format("%s(.*)") % block_name).str()
169
170 ))
171
172 ) {
173 std::vector<double> block_attributes;
174 CHKERR it->getAttributes(block_attributes);
175 if (block_attributes.size() < nb_attributes) {
176 SETERRQ(PETSC_COMM_SELF, MOFEM_DATA_INCONSISTENCY,
177 "In block %s expected %d attributes, but given %ld",
178 it->getName().c_str(), nb_attributes, block_attributes.size());
179 }
180 Range faces;
181 CHKERR it->getMeshsetIdEntitiesByDimension(mField.get_moab(), 2, faces,
182 true);
183 bc_vec_ptr->emplace_back(it->getName(), block_attributes, faces);
184 }
186 }
187
188 MoFEMErrorCode getSpatialDispBc();
189
190 inline MoFEMErrorCode getSpatialRotationBc() {
192 bcSpatialRotationVecPtr = boost::make_shared<BcRotVec>();
193 CHKERR getBc(bcSpatialRotationVecPtr, "SPATIAL_ROTATION_BC", 4);
194 CHKERR getBc(bcSpatialRotationVecPtr, "SPATIAL_ROTATION_AXIS_BC", 7);
195
196 auto ts_rotation =
197 boost::make_shared<DynamicRelaxationTimeScale>("rotation_history.txt");
198 for (auto &bc : *bcSpatialRotationVecPtr) {
199 timeScaleMap[bc.blockName] =
200 GetBlockScalingMethod<DynamicRelaxationTimeScale>::get(
201 ts_rotation, "rotation_history", ".txt", bc.blockName);
202 }
203
205 }
206
207 MoFEMErrorCode getSpatialTractionBc();
208
209 /**
210 * @brief Remove all, but entities where kinematic constrains are applied.
211 *
212 * @param meshset
213 * @param bc_ptr
214 * @param disp_block_set_name
215 * @param rot_block_set_name
216 * @param contact_set_name
217 * @return MoFEMErrorCode
218 */
219 MoFEMErrorCode getTractionFreeBc(const EntityHandle meshset,
220 boost::shared_ptr<TractionFreeBc> &bc_ptr,
221 const std::string contact_set_name);
222
223 inline MoFEMErrorCode
226 boost::shared_ptr<TractionFreeBc>(new TractionFreeBc());
227 return getTractionFreeBc(meshset, bcSpatialFreeTractionVecPtr, "CONTACT");
228 }
229
230 MoFEMErrorCode getExternalStrain();
231
232 MoFEMErrorCode createExchangeVectors(Sev sev);
233
234 MoFEMErrorCode addFields(const EntityHandle meshset = 0);
235 MoFEMErrorCode projectGeometry(const EntityHandle meshset = 0);
236
237 MoFEMErrorCode addVolumeFiniteElement(const EntityHandle meshset = 0);
238 MoFEMErrorCode addBoundaryFiniteElement(const EntityHandle meshset = 0);
239 MoFEMErrorCode addDMs(const BitRefLevel bit = BitRefLevel().set(0),
240 const EntityHandle meshset = 0);
241
242 MoFEMErrorCode addMaterial_HMHHStVenantKirchhoff(const int tape,
243 const double lambda,
244 const double mu,
245 const double sigma_y);
246
247 MoFEMErrorCode addMaterial_HMHMooneyRivlin(const int tape, const double alpha,
248 const double beta,
249 const double lambda,
250 const double sigma_y);
251
252 MoFEMErrorCode addMaterial_HMHNeohookean(const int tape, const double c10,
253 const double K);
254
255 MoFEMErrorCode addMaterial_Hencky(double E, double nu);
256
257 MoFEMErrorCode setBaseVolumeElementOps(
258 const int tag, const bool do_rhs, const bool do_lhs,
259 const bool calc_rates, SmartPetscObj<Vec> ver_vec,
260 boost::shared_ptr<VolumeElementForcesAndSourcesCore> fe);
261
262 MoFEMErrorCode setVolumeElementOps(
263 const int tag, const bool add_elastic, const bool add_material,
264 boost::shared_ptr<VolumeElementForcesAndSourcesCore> &fe_rhs,
265 boost::shared_ptr<VolumeElementForcesAndSourcesCore> &fe_lhs);
266
267 MoFEMErrorCode
268 setFaceElementOps(const bool add_elastic, const bool add_material,
269 boost::shared_ptr<FaceElementForcesAndSourcesCore> &fe_rhs,
270 boost::shared_ptr<FaceElementForcesAndSourcesCore> &fe_lhs);
271
272 MoFEMErrorCode setContactElementRhsOps(
273
274 boost::shared_ptr<ContactTree> &fe_contact_tree
275
276 );
277
278 MoFEMErrorCode setElasticElementOps(const int tag);
279 MoFEMErrorCode setElasticElementToTs(DM dm);
280
281 friend struct solve_elastic_set_up;
282 MoFEMErrorCode solveElastic(TS ts, Vec x);
283 MoFEMErrorCode solveDynamicRelaxation(TS ts, Vec x);
284
285 MoFEMErrorCode setBlockTagsOnSkin();
286
287 MoFEMErrorCode postProcessResults(const int tag, const std::string file,
288 Vec f_residual = PETSC_NULLPTR,
289 Vec var_vec = PETSC_NULLPTR,
290 std::vector<Tag> tags_to_transfer = {});
291 MoFEMErrorCode
292 postProcessSkeletonResults(const int tag, const std::string file,
293 Vec f_residual = PETSC_NULLPTR,
294 std::vector<Tag> tags_to_transfer = {});
295
297 boost::shared_ptr<double> area_ptr); // calculate crack area
298
300
301 struct SetUpSchur {
302 static boost::shared_ptr<SetUpSchur> createSetUpSchur(
303
304 MoFEM::Interface &m_field, EshelbianCore *ep_core_ptr
305
306 );
307 virtual MoFEMErrorCode setUp(TS) = 0;
308
309 protected:
310 SetUpSchur() = default;
311 };
312
314
315 using TimeScale::TimeScale;
316
317 double getScale(const double time) override {
319 return TimeScale::getScale(EshelbianCore::dynamicTime);
320 } else {
321 return TimeScale::getScale(time);
322 }
323 }
324 };
325
326 MoFEMErrorCode calculateFaceMaterialForce(const int tag, TS ts);
327 MoFEMErrorCode calculateOrientation(const int tag, bool set_orientation);
328 MoFEMErrorCode setNewFrontCoordinates();
329 MoFEMErrorCode addCrackSurfaces(const bool debug = false);
330 MoFEMErrorCode saveOrgCoords();
331 MoFEMErrorCode createCrackSurfaceMeshset();
332
333 boost::shared_ptr<Range> contactFaces;
334 boost::shared_ptr<Range> crackFaces;
335 boost::shared_ptr<Range> frontEdges;
336 boost::shared_ptr<Range> frontAdjEdges;
337 boost::shared_ptr<Range> frontVertices;
338 boost::shared_ptr<Range> skeletonFaces;
339 boost::shared_ptr<Range> materialSkeletonFaces;
340 boost::shared_ptr<Range> maxMovedFaces;
341
342 boost::shared_ptr<ParentFiniteElementAdjacencyFunctionSkeleton<2>>
344
345 BitRefLevel bitAdjParent = BitRefLevel().set(); ///< bit ref level for parent
346 BitRefLevel bitAdjParentMask =
347 BitRefLevel().set(); ///< bit ref level for parent parent
348 BitRefLevel bitAdjEnt = BitRefLevel().set(); ///< bit ref level for parent
349 BitRefLevel bitAdjEntMask =
350 BitRefLevel().set(); ///< bit ref level for parent parent
351
352 SmartPetscObj<Vec> solTSStep;
353
354 CommInterface::EntitiesPetscVector volumeExchange;
355 CommInterface::EntitiesPetscVector faceExchange;
356 CommInterface::EntitiesPetscVector edgeExchange;
357 CommInterface::EntitiesPetscVector vertexExchange;
358
359 std::vector<Tag>
360 listTagsToTransfer; ///< list of tags to transfer to postprocessor
361
362 Mat S = PETSC_NULLPTR; //< Schur complement matrix
363 AO aoS = PETSC_NULLPTR; //< AO for Schur complement matrix
364 SmartPetscObj<IS> crackHybridIs; //< IS for crack hybrid field
365 std::vector<std::string> a00FieldList; //< list of fields for Schur complement
366 std::vector<boost::shared_ptr<Range>>
367 a00RangeList; //< list of ranges for Schur complement
368
369 int nbCrackFaces = 0; //< number of crack faces
370};
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
@ MOFEM_DATA_INCONSISTENCY
Definition definitions.h:31
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.
static const bool debug
auto bit
set bit
static double lambda
const double v
phase velocity of light in medium (cm/ns)
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
double getScale(const double time) override
virtual MoFEMErrorCode setUp(TS)=0
static boost::shared_ptr< SetUpSchur > createSetUpSchur(MoFEM::Interface &m_field, EshelbianCore *ep_core_ptr)
std::vector< boost::shared_ptr< Range > > a00RangeList
MoFEMErrorCode setElasticElementOps(const int tag)
boost::shared_ptr< ExternalStrainVec > externalStrainVecPtr
MoFEMErrorCode addVolumeFiniteElement(const EntityHandle meshset=0)
MoFEMErrorCode addFields(const EntityHandle meshset=0)
boost::shared_ptr< Range > materialSkeletonFaces
static enum StretchSelector stretchSelector
boost::shared_ptr< Range > frontAdjEdges
MoFEMErrorCode createCrackSurfaceMeshset()
MoFEMErrorCode addBoundaryFiniteElement(const EntityHandle meshset=0)
const std::string skeletonElement
static double inv_f_linear(const double v)
MoFEMErrorCode getSpatialRotationBc()
boost::shared_ptr< TractionBcVec > bcSpatialTractionVecPtr
boost::shared_ptr< Range > contactFaces
static double dynamicTime
static double dd_f_log(const double v)
BitRefLevel bitAdjEnt
bit ref level for parent
static boost::function< double(const double)> inv_dd_f
MoFEM::Interface & mField
const std::string spatialL2Disp
static double inv_d_f_log(const double v)
std::map< std::string, boost::shared_ptr< ScalingMethod > > timeScaleMap
MoFEMErrorCode addMaterial_Hencky(double E, double nu)
friend struct solve_elastic_set_up
static PetscBool l2UserBaseScale
SmartPetscObj< DM > dM
Coupled problem all fields.
boost::shared_ptr< FaceElementForcesAndSourcesCore > elasticBcRhs
static int internalStressInterpOrder
SmartPetscObj< IS > crackHybridIs
MoFEMErrorCode projectGeometry(const EntityHandle meshset=0)
boost::shared_ptr< TractionFreeBc > bcSpatialFreeTractionVecPtr
const std::string materialH1Positions
MoFEMErrorCode setBlockTagsOnSkin()
std::vector< Tag > listTagsToTransfer
list of tags to transfer to postprocessor
boost::shared_ptr< FaceElementForcesAndSourcesCore > elasticBcLhs
static PetscBool crackingOn
MoFEMErrorCode addMaterial_HMHHStVenantKirchhoff(const int tape, const double lambda, const double mu, const double sigma_y)
MoFEMErrorCode addMaterial_HMHMooneyRivlin(const int tape, const double alpha, const double beta, const double lambda, const double sigma_y)
MoFEMErrorCode getTractionFreeBc(const EntityHandle meshset, boost::shared_ptr< TractionFreeBc > &bc_ptr, const std::string contact_set_name)
Remove all, but entities where kinematic constrains are applied.
MoFEMErrorCode setBaseVolumeElementOps(const int tag, const bool do_rhs, const bool do_lhs, const bool calc_rates, SmartPetscObj< Vec > ver_vec, boost::shared_ptr< VolumeElementForcesAndSourcesCore > fe)
MoFEMErrorCode calculateFaceMaterialForce(const int tag, TS ts)
static double griffithEnergy
Griffith energy.
MoFEMErrorCode calculateCrackArea(boost::shared_ptr< double > area_ptr)
boost::shared_ptr< VolumeElementForcesAndSourcesCore > elasticFeRhs
static int dynamicStep
const std::string elementVolumeName
static double dd_f_log_e(const double v)
static enum RotSelector rotSelector
static enum RotSelector gradApproximator
MoFEMErrorCode getBc(boost::shared_ptr< BC > &bc_vec_ptr, const std::string block_name, const int nb_attributes)
CommInterface::EntitiesPetscVector vertexExchange
boost::shared_ptr< BcRotVec > bcSpatialRotationVecPtr
boost::shared_ptr< Range > maxMovedFaces
static PetscBool dynamicRelaxation
const std::string spatialH1Disp
MoFEMErrorCode solveElastic(TS ts, Vec x)
static double d_f_log(const double v)
boost::shared_ptr< NormalDisplacementBcVec > bcSpatialNormalDisplacementVecPtr
static double crackingStartTime
MoFEMErrorCode getOptions()
const std::string piolaStress
MoFEMErrorCode setElasticElementToTs(DM dm)
static double inv_d_f_log_e(const double v)
MoFEMErrorCode gettingNorms()
[Getting norms]
std::vector< std::string > a00FieldList
MoFEMErrorCode setVolumeElementOps(const int tag, const bool add_elastic, const bool add_material, boost::shared_ptr< VolumeElementForcesAndSourcesCore > &fe_rhs, boost::shared_ptr< VolumeElementForcesAndSourcesCore > &fe_lhs)
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
Getting interface of core database.
const std::string bubbleField
MoFEMErrorCode solveDynamicRelaxation(TS ts, Vec x)
boost::shared_ptr< AnalyticalDisplacementBcVec > bcSpatialAnalyticalDisplacementVecPtr
SmartPetscObj< DM > dmMaterial
Material problem.
MoFEMErrorCode calculateOrientation(const int tag, bool set_orientation)
static double inv_f_log(const double v)
boost::shared_ptr< VolumeElementForcesAndSourcesCore > elasticFeLhs
static PetscBool noStretch
MoFEMErrorCode setNewFrontCoordinates()
boost::shared_ptr< ParentFiniteElementAdjacencyFunctionSkeleton< 2 > > parentAdjSkeletonFunctionDim2
boost::shared_ptr< ContactTree > contactTreeRhs
Make a contact tree.
static double exponentBase
MoFEMErrorCode setContactElementRhsOps(boost::shared_ptr< ContactTree > &fe_contact_tree)
static double dd_f_linear(const double v)
MoFEMErrorCode setFaceElementOps(const bool add_elastic, const bool add_material, boost::shared_ptr< FaceElementForcesAndSourcesCore > &fe_rhs, boost::shared_ptr< FaceElementForcesAndSourcesCore > &fe_lhs)
MoFEMErrorCode postProcessSkeletonResults(const int tag, const std::string file, Vec f_residual=PETSC_NULLPTR, std::vector< Tag > tags_to_transfer={})
boost::shared_ptr< AnalyticalExprPython > AnalyticalExprPythonPtr
boost::shared_ptr< Range > skeletonFaces
boost::shared_ptr< PhysicalEquations > physicalEquations
const std::string rotAxis
static double inv_d_f_linear(const double v)
BitRefLevel bitAdjParentMask
bit ref level for parent parent
static double inv_dd_f_log(const double v)
const std::string contactDisp
static std::string internalStressTagName
static enum SymmetrySelector symmetrySelector
CommInterface::EntitiesPetscVector edgeExchange
SmartPetscObj< DM > dmPrjSpatial
Projection spatial displacement.
static boost::function< double(const double)> f
boost::shared_ptr< BcDispVec > bcSpatialDispVecPtr
const std::string skinElement
static PetscBool internalStressVoigt
static double inv_dd_f_linear(const double v)
MoFEMErrorCode getSpatialTractionFreeBc(const EntityHandle meshset=0)
static double inv_dd_f_log_e(const double v)
MoFEMErrorCode getExternalStrain()
MoFEMErrorCode getSpatialTractionBc()
static PetscBool setSingularity
virtual ~EshelbianCore()
static double d_f_log_e(const double v)
boost::shared_ptr< AnalyticalTractionBcVec > bcSpatialAnalyticalTractionVecPtr
static int nbJIntegralLevels
MoFEMErrorCode addCrackSurfaces(const bool debug=false)
MoFEMErrorCode addDMs(const BitRefLevel bit=BitRefLevel().set(0), const EntityHandle meshset=0)
MoFEMErrorCode getSpatialDispBc()
[Getting norms]
BitRefLevel bitAdjParent
bit ref level for parent
MoFEMErrorCode postProcessResults(const int tag, const std::string file, Vec f_residual=PETSC_NULLPTR, Vec var_vec=PETSC_NULLPTR, std::vector< Tag > tags_to_transfer={})
CommInterface::EntitiesPetscVector volumeExchange
MoFEMErrorCode saveOrgCoords()
const std::string naturalBcElement
static boost::function< double(const double)> dd_f
static double f_log_e(const double v)
static int addCrackMeshsetId
static double inv_f_log_e(const double v)
MoFEMErrorCode createExchangeVectors(Sev sev)
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
boost::shared_ptr< Range > crackFaces
static boost::function< double(const double)> d_f
boost::shared_ptr< Range > frontVertices
static enum EnergyReleaseSelector energyReleaseSelector
MoFEMErrorCode addMaterial_HMHNeohookean(const int tape, const double c10, const double K)
static boost::function< double(const double)> inv_d_f
boost::shared_ptr< PressureBcVec > bcSpatialPressureVecPtr
static double d_f_linear(const double v)
const std::string hybridSpatialDisp
SmartPetscObj< Vec > solTSStep
static double f_log(const double v)
CommInterface::EntitiesPetscVector faceExchange
SmartPetscObj< DM > dmElastic
Elastic problem.
boost::shared_ptr< Range > frontEdges
static boost::function< double(const double)> inv_f
const std::string stretchTensor
BitRefLevel bitAdjEntMask
bit ref level for parent parent
static double f_linear(const double v)
const std::string contactElement
virtual moab::Interface & get_moab()=0
Deprecated interface functions.
base class for all interface classes
MoFEMErrorCode getInterface(IFACE *&iface) const
Get interface reference to pointer of interface.