OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
This class manages the fracture mechanics part. More...
#include <fracturemanager.h>
Public Member Functions | |
FractureManager (Domain *domain) | |
Constructor. More... | |
~FractureManager () | |
Destructor. More... | |
void | setUpdateFlag (bool flag) |
bool | giveUpdateFlag () |
void | evaluateFailureCriterias (TimeStep *tStep) |
void | evaluateYourself (TimeStep *tStep) |
void | updateXFEM (TimeStep *tStep) |
void | updateXFEM (FailureCriteriaStatus *fc, TimeStep *tStep) |
IRResultType | initializeFrom (InputRecord *ir) |
int | instanciateYourself (DataReader &dr) |
const char * | giveClassName () const |
const char * | giveInputRecordName () const |
void | clear () |
Domain * | giveDomain () |
Public Attributes | |
std::vector< FailureCriteria * > | criteriaList |
Private Attributes | |
bool | updateFlag |
Domain * | domain |
This class manages the fracture mechanics part.
Definition at line 215 of file fracturemanager.h.
oofem::FractureManager::FractureManager | ( | Domain * | domain | ) |
Constructor.
oofem::FractureManager::~FractureManager | ( | ) |
Destructor.
Definition at line 62 of file fracturemanager.C.
void oofem::FractureManager::clear | ( | ) |
Definition at line 65 of file fracturemanager.C.
void oofem::FractureManager::evaluateFailureCriterias | ( | TimeStep * | tStep | ) |
Definition at line 142 of file fracturemanager.C.
References oofem::FailureCriteria::computeFailureCriteriaQuantities(), criteriaList, oofem::FailureCriteria::evaluateFailureCriteria(), oofem::FailureCriteria::giveType(), oofem::FailureCriteria::list, OOFEM_ERROR, and setUpdateFlag().
Referenced by evaluateYourself().
void oofem::FractureManager::evaluateYourself | ( | TimeStep * | tStep | ) |
Definition at line 133 of file fracturemanager.C.
References evaluateFailureCriterias(), and setUpdateFlag().
|
inline |
Definition at line 241 of file fracturemanager.h.
|
inline |
Definition at line 244 of file fracturemanager.h.
Referenced by updateXFEM().
|
inline |
Definition at line 242 of file fracturemanager.h.
|
inline |
Definition at line 228 of file fracturemanager.h.
References oofem::FailureCriteriaStatus::initializeFrom(), and oofem::FailureCriteriaStatus::instanciateYourself().
Referenced by updateXFEM().
IRResultType oofem::FractureManager::initializeFrom | ( | InputRecord * | ir | ) |
Definition at line 69 of file fracturemanager.C.
References _IFT_FracManager_numcriterias, _IFT_FracManager_verbose, criteriaList, IR_GIVE_FIELD, IR_GIVE_OPTIONAL_FIELD, and oofem::IRRT_OK.
int oofem::FractureManager::instanciateYourself | ( | DataReader & | dr | ) |
Definition at line 87 of file fracturemanager.C.
References oofem::classFactory, oofem::ClassFactory::createFailureCriteria(), oofem::FailureCriteria::CreateStatus(), criteriaList, domain, oofem::Domain::giveElement(), oofem::DataReader::giveInputRecord(), oofem::Domain::giveNumberOfElements(), oofem::InputRecord::giveRecordKeywordField(), oofem::FailureCriteria::giveType(), oofem::FailureCriteria::initializeFrom(), oofem::DataReader::IR_failCritRec, IR_IOERR, oofem::IRRT_OK, oofem::FailureCriteria::list, and OOFEM_ERROR.
|
inline |
Definition at line 227 of file fracturemanager.h.
Referenced by evaluateFailureCriterias(), and evaluateYourself().
void oofem::FractureManager::updateXFEM | ( | TimeStep * | tStep | ) |
Definition at line 172 of file fracturemanager.C.
References criteriaList, giveDomain(), oofem::XfemManager::giveEnrichmentItem(), oofem::XfemManager::giveNumberOfEnrichmentItems(), giveUpdateFlag(), oofem::Domain::giveXfemManager(), oofem::FailureCriteria::list, and oofem::EnrichmentItem::updateGeometry().
void oofem::FractureManager::updateXFEM | ( | FailureCriteriaStatus * | fc, |
TimeStep * | tStep | ||
) |
std :: vector< FailureCriteria * > oofem::FractureManager::criteriaList |
Definition at line 248 of file fracturemanager.h.
Referenced by evaluateFailureCriterias(), initializeFrom(), instanciateYourself(), and updateXFEM().
|
private |
Definition at line 219 of file fracturemanager.h.
Referenced by instanciateYourself().
|
private |
Definition at line 218 of file fracturemanager.h.