35 #ifndef XFEMSTRUCTUREMANAGER_H_ 36 #define XFEMSTRUCTUREMANAGER_H_ 44 #define _IFT_XfemStructureManager_Name "xfemstructuremanager" 45 #define _IFT_XfemStructureManager_splitCracks "splitcracks" 46 #define _IFT_XfemStructureManager_nonstandardCZ "nonstandardcz" 47 #define _IFT_XfemStructureManager_minCrackLength "mincracklength" 48 #define _IFT_XfemStructureManager_crackMergeTol "crackmergetol" 53 class MaterialForceEvaluator;
72 virtual int instanciateYourself(
DataReader &dr);
73 virtual const char *
giveClassName()
const {
return "XfemStructureManager"; }
76 virtual void propagateFronts(
bool &oAnyFronHasPropagated);
81 virtual void updateYourself(
TimeStep *tStep);
85 void removeShortCracks();
88 void mergeCloseCracks();
93 double computeTotalCrackLength();
Class representing the abstraction for input data source.
XfemStructureManager: XFEM manager with extra functionality specific for the sm module.
virtual const char * giveInputRecordName() const
bool mSplitCracks
If cracks should be splitted at intersections as a pre-processing step.
bool giveUseNonStdCz() const
Class EnrichmentFront: describes the edge or tip of an XFEM enrichment.
#define _IFT_XfemStructureManager_Name
virtual const char * giveClassName() const
This class manages the xfem part.
IRResultType
Type defining the return values of InputRecord reading operations.
bool mNonstandardCz
If a non-standard cohesive zone formulation should be used.
double mMinCrackLength
Cracks shorter than this length are automatically removed.
std::unique_ptr< MaterialForceEvaluator > mpMatForceEvaluator
Evaluator for material forces.
the oofem namespace is to define a context or scope in which all oofem names are defined.
double mCrackMergeTol
Cracks with tips closer than this distance are automatically merged.
Class representing solution step.