OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
EnrFrontCohesiveBranchFuncOneEl. More...
#include <enrichmentfrontcohesivebranchfunconeel.h>
Public Member Functions | |
EnrFrontCohesiveBranchFuncOneEl () | |
virtual | ~EnrFrontCohesiveBranchFuncOneEl () |
virtual void | MarkNodesAsFront (std::unordered_map< int, NodeEnrichmentType > &ioNodeEnrMarkerMap, XfemManager &ixFemMan, const std::unordered_map< int, double > &iLevelSetNormalDirMap, const std::unordered_map< int, double > &iLevelSetTangDirMap, const TipInfo &iTipInfo) |
MarkNodesAsFront: Intput: -ioNodeEnrMarker: A vector with the same size as the number of nodes in the mesh where the nodes corresponding to interior XFEM enrichments are marked with 1, other entries are zero. More... | |
virtual int | giveNumEnrichments (const DofManager &iDMan) const |
virtual int | giveMaxNumEnrichments () const |
virtual void | evaluateEnrFuncAt (std::vector< double > &oEnrFunc, const EfInput &iEfInput) const |
virtual void | evaluateEnrFuncDerivAt (std::vector< FloatArray > &oEnrFuncDeriv, const EfInput &iEfInput, const FloatArray &iGradLevelSet) const |
virtual void | evaluateEnrFuncJumps (std::vector< double > &oEnrFuncJumps, GaussPoint &iGP, int iNodeInd, bool iGPLivesOnCurrentCrack, const double &iNormalSignDist) const |
virtual const char * | giveClassName () const |
virtual const char * | giveInputRecordName () const |
virtual IRResultType | initializeFrom (InputRecord *ir) |
virtual void | giveInputRecord (DynamicInputRecord &input) |
virtual double | giveSupportRadius () const |
Public Member Functions inherited from oofem::EnrichmentFront | |
EnrichmentFront (int iEIindex=0) | |
virtual | ~EnrichmentFront () |
std::string | errorInfo (const char *func) const |
virtual bool | propagationIsAllowed () const |
const TipInfo & | giveTipInfo () const |
virtual void | setTipInfo (const TipInfo &iTipInfo) |
void | computeCrackTangent (FloatArray &oTangent, FloatArray &oNormal, bool &oFlipTangent, const EfInput &iEfInput) const |
Private Attributes | |
CohesiveBranchFunction * | mpBranchFunc |
Additional Inherited Members | |
Public Attributes inherited from oofem::EnrichmentFront | |
int | mEIindex |
Protected Member Functions inherited from oofem::EnrichmentFront | |
void | MarkTipElementNodesAsFront (std::unordered_map< int, NodeEnrichmentType > &ioNodeEnrMarkerMap, XfemManager &ixFemMan, const std::unordered_map< int, double > &iLevelSetNormalDirMap, const std::unordered_map< int, double > &iLevelSetTangDirMap, const TipInfo &iTipInfo) |
Several enrichment fronts enrich all nodes in the tip element. More... | |
Protected Attributes inherited from oofem::EnrichmentFront | |
TipInfo | mTipInfo |
reference to the associated enrichment item More... | |
EnrFrontCohesiveBranchFuncOneEl.
Definition at line 61 of file enrichmentfrontcohesivebranchfunconeel.h.
oofem::EnrFrontCohesiveBranchFuncOneEl::EnrFrontCohesiveBranchFuncOneEl | ( | ) |
|
virtual |
Definition at line 27 of file enrichmentfrontcohesivebranchfunconeel.C.
References mpBranchFunc.
|
virtual |
Implements oofem::EnrichmentFront.
Definition at line 43 of file enrichmentfrontcohesivebranchfunconeel.C.
References oofem::FloatArray::at(), oofem::EnrichmentItem::calcPolarCoord(), oofem::EnrichmentFront::computeCrackTangent(), oofem::CohesiveBranchFunction::evaluateEnrFuncAt(), oofem::TipInfo::mGlobalCoord, mpBranchFunc, oofem::EfInput::mPos, oofem::EnrichmentFront::mTipInfo, and OOFEM_ERROR.
|
virtual |
Transform to global coordinates.
Implements oofem::EnrichmentFront.
Definition at line 73 of file enrichmentfrontcohesivebranchfunconeel.C.
References oofem::FloatArray::beProductOf(), oofem::EnrichmentItem::calcPolarCoord(), oofem::EnrichmentFront::computeCrackTangent(), E, oofem::CohesiveBranchFunction::evaluateEnrFuncDerivAt(), oofem::TipInfo::mGlobalCoord, mpBranchFunc, oofem::EfInput::mPos, oofem::EnrichmentFront::mTipInfo, oofem::FloatMatrix::resize(), and oofem::FloatMatrix::setColumn().
|
virtual |
Implements oofem::EnrichmentFront.
Definition at line 105 of file enrichmentfrontcohesivebranchfunconeel.C.
References oofem::FloatArray::distance(), oofem::GaussPoint::giveGlobalCoordinates(), oofem::CohesiveBranchFunction::giveJump(), oofem::TipInfo::mGlobalCoord, mpBranchFunc, and oofem::EnrichmentFront::mTipInfo.
|
inlinevirtual |
Implements oofem::EnrichmentFront.
Definition at line 77 of file enrichmentfrontcohesivebranchfunconeel.h.
|
virtual |
Implements oofem::EnrichmentFront.
Definition at line 123 of file enrichmentfrontcohesivebranchfunconeel.C.
References giveInputRecordName(), and oofem::DynamicInputRecord::setRecordKeywordField().
|
inlinevirtual |
Implements oofem::EnrichmentFront.
Definition at line 78 of file enrichmentfrontcohesivebranchfunconeel.h.
References _IFT_EnrFrontCohesiveBranchFuncOneEl_Name.
Referenced by giveInputRecord().
|
inlinevirtual |
Implements oofem::EnrichmentFront.
Definition at line 70 of file enrichmentfrontcohesivebranchfunconeel.h.
|
virtual |
Implements oofem::EnrichmentFront.
Definition at line 38 of file enrichmentfrontcohesivebranchfunconeel.C.
|
inlinevirtual |
Implements oofem::EnrichmentFront.
Definition at line 83 of file enrichmentfrontcohesivebranchfunconeel.h.
|
virtual |
Implements oofem::EnrichmentFront.
Definition at line 118 of file enrichmentfrontcohesivebranchfunconeel.C.
References oofem::IRRT_OK.
|
virtual |
MarkNodesAsFront: Intput: -ioNodeEnrMarker: A vector with the same size as the number of nodes in the mesh where the nodes corresponding to interior XFEM enrichments are marked with 1, other entries are zero.
Output: -ioNodeEnrMarker: Modifies the vector by marking tip nodes as 2, meaning that they should get special treatment. May also modify the set of nodes enriched by the interior enrichment.
Implements oofem::EnrichmentFront.
Definition at line 33 of file enrichmentfrontcohesivebranchfunconeel.C.
References oofem::EnrichmentFront::MarkTipElementNodesAsFront().
|
private |
Definition at line 86 of file enrichmentfrontcohesivebranchfunconeel.h.
Referenced by evaluateEnrFuncAt(), evaluateEnrFuncDerivAt(), evaluateEnrFuncJumps(), and ~EnrFrontCohesiveBranchFuncOneEl().