35 #ifndef SRC_SM_XFEM_NUCLEATIONCRITERIA_NCPRINCIPALSTRESS_H_ 36 #define SRC_SM_XFEM_NUCLEATIONCRITERIA_NCPRINCIPALSTRESS_H_ 38 #define _IFT_NCPrincipalStress_Name "ncprincipalstress" 39 #define _IFT_NCPrincipalStress_StressThreshold "stressthreshold" 40 #define _IFT_NCPrincipalStress_InitialCrackLength "initialcracklength" 41 #define _IFT_NCPrincipalStress_MatForceRadius "matforceradius" 42 #define _IFT_NCPrincipalStress_IncrementLength "incrementlength" 43 #define _IFT_NCPrincipalStress_CrackPropThreshold "crackpropthreshold"
virtual const char * giveClassName() const
Class representing the implementation of a dynamic data reader for in-code use.
#define _IFT_NCPrincipalStress_Name
virtual IRResultType initializeFrom(InputRecord *ir)
virtual ~NCPrincipalStress()
virtual void appendInputRecords(DynamicDataReader &oDR)
virtual const char * giveInputRecordName() const
double mCrackPropThreshold
IRResultType
Type defining the return values of InputRecord reading operations.
int mCrossSectionInd
Index of the cross section that the nucleation criterion applies to.
bool mCutOneEl
If the initiated crack should cut exactly one element.
the oofem namespace is to define a context or scope in which all oofem names are defined.
NCPrincipalStress(Domain *ipDomain)
virtual std::vector< std::unique_ptr< EnrichmentItem > > nucleateEnrichmentItems()
double mInitialCrackLength