78 iEfInput.
mPos(0) - xTip(0), iEfInput.
mPos(1) - xTip(1)
106 std :: vector< double >jumps;
108 if ( iGPLivesOnCurrentCrack ) {
109 jumps.push_back(1.0);
113 if ( iNormalSignDist > 0.0 ) {
114 jumps.push_back(1.0);
116 jumps.push_back(0.0);
120 oEnrFuncJumps.insert( oEnrFuncJumps.end(), jumps.begin(), jumps.end() );
virtual void evaluateEnrFuncDerivAt(std::vector< FloatArray > &oEnrFuncDeriv, const EfInput &iEfInput, const FloatArray &iGradLevelSet) const
TipInfo mTipInfo
reference to the associated enrichment item
double & at(int i)
Coefficient access function.
TipInfo gathers useful information about a crack tip, like its position and tangent direction...
virtual IRResultType initializeFrom(InputRecord *ir)
Base class for dof managers.
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.
#define _IFT_EnrFrontIntersection_Tangent
virtual void evaluateEnrFuncAt(std::vector< double > &oEnrFunc, const EfInput &iEfInput) const
double dotProduct(const FloatArray &x) const
Computes the dot product (or inner product) of receiver and argument.
virtual void giveInputRecord(DynamicInputRecord &input)
Class representing vector of real numbers.
This class manages the xfem part.
IRResultType
Type defining the return values of InputRecord reading operations.
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...
virtual const char * giveInputRecordName() const
virtual void evaluateEnrFuncJumps(std::vector< double > &oEnrFuncJumps, GaussPoint &iGP, int iNodeInd, bool iGPLivesOnCurrentCrack, const double &iNormalSignDist) const
REGISTER_EnrichmentFront(EnrFrontCohesiveBranchFuncOneEl)
void push_back(const double &iVal)
Add one element.
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual ~EnrFrontIntersection()
Class representing integration point in finite element program.
virtual int giveNumEnrichments(const DofManager &iDMan) const