54 for (
int i = 1; i <= elNodes.
giveSize(); i++ ) {
82 -oTangent.
at(2), oTangent.
at(1)
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...
Abstract base class for all finite elements.
Class implementing an array of integers.
int & at(int i)
Coefficient access function.
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.
const IntArray & giveDofManArray() const
double dotProduct(const FloatArray &x) const
Computes the dot product (or inner product) of receiver and argument.
SpatialLocalizer * giveSpatialLocalizer()
Returns receiver's associated spatial localizer.
virtual Element * giveElementContainingPoint(const FloatArray &coords, const IntArray *regionList=NULL)=0
Returns the element, containing given point and belonging to one of the region in region list...
Class representing vector of real numbers.
void computeCrackTangent(FloatArray &oTangent, FloatArray &oNormal, bool &oFlipTangent, const EfInput &iEfInput) const
This class manages the xfem part.
void times(double s)
Multiplies receiver with scalar.
the oofem namespace is to define a context or scope in which all oofem names are defined.