69 oFrontsHavePropagated =
false;
78 std :: vector< int > :: iterator p;
87 oFrontsHavePropagated =
true;
98 oFrontsHavePropagated =
false;
100 printf(
"\n Enrichment %i - The following nodes have been initiated: ",this->
giveNumber());
101 for (
int i = 1; i <= initiateDofMans.
giveSize(); i++ ) {
103 std :: vector< int > :: iterator p;
106 printf(
" %i", initiateDofMans.
at(i) );
114 oFrontsHavePropagated =
true;
132 bool printed =
false;
136 printf(
"\n Enrichment %i - The following nodes are enriched:",this->
giveNumber());
139 printf(
" %i", dman );
Abstract class representing entity, which is included in the FE model using one (or more) global func...
std::unordered_map< int, NodeEnrichmentType > mNodeEnrMarkerMap
virtual void updateGeometry()
TipInfo gathers useful information about a crack tip, like its position and tangent direction...
IntArray mPropagationDofManNumbers
Abstract base class for all finite elements.
virtual void updateNodeEnrMarker(XfemManager &ixFemMan)
virtual void initiateFronts(bool &oFrontsHavePropagated, IntArray &initiateDofMans)
Class implementing an array of integers.
int & at(int i)
Coefficient access function.
IntArray mTipDofManNumbers
Local number of which edge the crack enters the element (2d)
XfemManager * giveXfemManager()
void sort(IntArray &arry, operation op)
Sorts the receiver using quicksort algorithm.
virtual void createEnrichedDofs()
virtual void propagateFronts(bool &oFrontsHavePropagated)
virtual void setTipInfo(const TipInfo &iTipInfo)
virtual bool giveElementTipCoord(FloatArray &oCoord, double &oArcPos, Element &iEl, const FloatArray &iElCenter) const
void insertSorted(int value, int allocChunk=0)
Inserts given value into a receiver, which is assumed to be sorted.
virtual bool propagateInterface(Domain &iDomain, EnrichmentFront &iEnrFront, TipPropagation &oTipProp)=0
ListBasedEI(int n, XfemManager *xm, Domain *aDomain)
std::vector< int > dofManList
Class representing vector of real numbers.
PropagationLaw * mpPropagationLaw
This class manages the xfem part.
EnrichmentFront * mpEnrichmentFrontStart
Domain * giveDomain() const
the oofem namespace is to define a context or scope in which all oofem names are defined.