OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
EnrFrontLinearBranchFuncOneEl. More...
#include <enrichmentfrontlinbranchfunconeel.h>
Public Member Functions | |
EnrFrontLinearBranchFuncOneEl () | |
virtual | ~EnrFrontLinearBranchFuncOneEl () |
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 | |
LinElBranchFunction * | 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... | |
EnrFrontLinearBranchFuncOneEl.
Definition at line 60 of file enrichmentfrontlinbranchfunconeel.h.
oofem::EnrFrontLinearBranchFuncOneEl::EnrFrontLinearBranchFuncOneEl | ( | ) |
|
virtual |
Definition at line 54 of file enrichmentfrontlinbranchfunconeel.C.
References mpBranchFunc.
|
virtual |
Implements oofem::EnrichmentFront.
Definition at line 73 of file enrichmentfrontlinbranchfunconeel.C.
References oofem::FloatArray::at(), oofem::EnrichmentItem::calcPolarCoord(), oofem::EnrichmentFront::computeCrackTangent(), oofem::LinElBranchFunction::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 103 of file enrichmentfrontlinbranchfunconeel.C.
References oofem::FloatArray::beProductOf(), oofem::EnrichmentItem::calcPolarCoord(), oofem::EnrichmentFront::computeCrackTangent(), E, oofem::LinElBranchFunction::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 135 of file enrichmentfrontlinbranchfunconeel.C.
References oofem::FloatArray::distance(), oofem::GaussPoint::giveGlobalCoordinates(), oofem::LinElBranchFunction::giveJump(), oofem::TipInfo::mGlobalCoord, mpBranchFunc, and oofem::EnrichmentFront::mTipInfo.
|
inlinevirtual |
Implements oofem::EnrichmentFront.
Definition at line 76 of file enrichmentfrontlinbranchfunconeel.h.
|
virtual |
Implements oofem::EnrichmentFront.
Definition at line 153 of file enrichmentfrontlinbranchfunconeel.C.
References giveInputRecordName(), and oofem::DynamicInputRecord::setRecordKeywordField().
|
inlinevirtual |
Implements oofem::EnrichmentFront.
Definition at line 77 of file enrichmentfrontlinbranchfunconeel.h.
References _IFT_EnrFrontLinearBranchFuncOneEl_Name.
Referenced by giveInputRecord().
|
inlinevirtual |
Implements oofem::EnrichmentFront.
Definition at line 69 of file enrichmentfrontlinbranchfunconeel.h.
|
virtual |
Implements oofem::EnrichmentFront.
Definition at line 68 of file enrichmentfrontlinbranchfunconeel.C.
|
inlinevirtual |
Implements oofem::EnrichmentFront.
Definition at line 82 of file enrichmentfrontlinbranchfunconeel.h.
|
virtual |
Implements oofem::EnrichmentFront.
Definition at line 148 of file enrichmentfrontlinbranchfunconeel.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 63 of file enrichmentfrontlinbranchfunconeel.C.
References oofem::EnrichmentFront::MarkTipElementNodesAsFront().
|
private |
Definition at line 85 of file enrichmentfrontlinbranchfunconeel.h.
Referenced by evaluateEnrFuncAt(), evaluateEnrFuncDerivAt(), evaluateEnrFuncJumps(), and ~EnrFrontLinearBranchFuncOneEl().