35 #ifndef SRC_SM_XFEM_NUCLEATIONCRITERIA_NCPRINCIPALSTRAIN_H_ 36 #define SRC_SM_XFEM_NUCLEATIONCRITERIA_NCPRINCIPALSTRAIN_H_ 38 #define _IFT_NCPrincipalStrain_Name "ncprincipalstrain" 39 #define _IFT_NCPrincipalStrain_StrainThreshold "strainthreshold" 40 #define _IFT_NCPrincipalStrain_IncrementLength "incrementlength" 41 #define _IFT_NCPrincipalStrain_PropStrainThreshold "propagationstrainthreshold" 42 #define _IFT_NCPrincipalStrain_InitialCrackLength "initialcracklength" 43 #define _IFT_NCPrincipalStrain_CrossSectionIndex "csindex"
Class representing the implementation of a dynamic data reader for in-code use.
virtual const char * giveInputRecordName() const
int mCrossSectionInd
Index of the cross section that the nucleation criterion applies to.
bool mCutOneEl
If the initiated crack should cut exactly one element.
virtual void appendInputRecords(DynamicDataReader &oDR)
double mPropStrainThreshold
NCPrincipalStrain(Domain *ipDomain)
virtual IRResultType initializeFrom(InputRecord *ir)
virtual ~NCPrincipalStrain()
virtual const char * giveClassName() const
virtual std::vector< std::unique_ptr< EnrichmentItem > > nucleateEnrichmentItems()
#define _IFT_NCPrincipalStrain_Name
IRResultType
Type defining the return values of InputRecord reading operations.
double mInitialCrackLength
the oofem namespace is to define a context or scope in which all oofem names are defined.