35 #ifndef fracturemanager_h 36 #define fracturemanager_h 51 class FractureManager;
52 class FailureCriteria;
53 class FailureCriteriaStatus;
58 #define _IFT_FracManager_Name "fracmanager" 59 #define _IFT_FracManager_numcriterias "numcriterias" 60 #define _IFT_FracManager_verbose "verbose" 63 #define _IFT_DamagedNeighborLayered_Name "damagedneighborlayered" 64 #define _IFT_DamagedNeighborLayered_DamageThreshold "damagethreshold" 68 #define FailureCriteria_DEF \ 69 ENUM_ITEM_WITH_VALUE(FC_Undefined, 0) \ 70 ENUM_ITEM_WITH_VALUE(IPLocal, 1) \ 71 ENUM_ITEM_WITH_VALUE(ELLocal, 2) \ 72 ENUM_ITEM_WITH_VALUE(Nonlocal, 3) 80 #undef ENUM_ITEM_WITH_VALUE 128 virtual const char *
giveClassName()
const {
return "FailureCriteriaStatus"; }
150 std :: vector< FailureCriteriaStatus * >
list;
190 virtual const char *
giveClassName()
const {
return "DamagedNeighborLayered"; }
204 virtual const char *
giveClassName()
const {
return "FailureModuleElementInterface"; }
230 void evaluateFailureCriterias(
TimeStep *tStep);
233 void evaluateYourself(
TimeStep *tStep);
253 #endif // fracturemanager_h
FailureModuleElementInterface()
FailureCriteria * giveFailureCriteria()
#define _IFT_DamagedNeighborLayered_Name
Abstract base class for all finite elements.
This class manages the fracture mechanics part.
std::vector< FailureCriteriaStatus * > list
Class representing the abstraction for input data source.
FractureManager * giveFractureManager()
virtual void computeFailureCriteriaQuantities(FailureCriteriaStatus *fc, TimeStep *tStep)
virtual const char * giveClassName() const
FailureCriteriaStatus(int number, FailureCriteria *failCrit)
virtual bool evaluateFCQuantities(Element *el, TimeStep *tStep)
virtual const char * giveClassName() const
DamagedNeighborLayeredStatus(Element *el, FailureCriteria *failCrit)
std::vector< FailureCriteria * > criteriaList
DamagedNeighborLayered(int number, FractureManager *fracMan)
FloatArray layerDamageValues
void setType(FailureCriteriaType type)
virtual IRResultType initializeFrom(InputRecord *ir)
void setUpdateFlag(bool flag)
FailureCriteriaStatus(Element *el, FailureCriteria *failCrit)
Class representing vector of real numbers.
const char * giveInputRecordName() const
IRResultType
Type defining the return values of InputRecord reading operations.
FailureCriteria(int number, FractureManager *fMan)
FailureCriteriaType giveType()
virtual FailureCriteriaStatus * CreateStatus(Element *el, FailureCriteria *failCrit) const
virtual int instanciateYourself(DataReader &dr)
const char * giveClassName() const
virtual const char * giveClassName() const
virtual const char * giveClassName() const
virtual const char * giveInputRecordName() const
the oofem namespace is to define a context or scope in which all oofem names are defined.
std::vector< std::vector< FloatArray > > quantities
std::vector< bool > failedFlags
Class representing solution step.
FailureCriteria * failCrit