52 Domain &d = * ( ixFemMan.giveDomain() );
57 std :: vector< int >newEnrNodes;
58 for (
int i = 1; i <= nNodes; i++ ) {
60 bool alreadyEnr =
false;
61 auto resMarker = ioNodeEnrMarkerMap.find(i);
62 if ( resMarker != ioNodeEnrMarkerMap.end() ) {
66 #if defined ( ENABLE_XFEM_CPP11 ) 67 auto begin = newEnrNodes.begin();
68 auto end = newEnrNodes.end();
70 std :: vector< int > :: const_iterator begin = newEnrNodes.begin();
71 std :: vector< int > :: const_iterator end = newEnrNodes.end();
73 if ( std :: binary_search(begin, end, i) ) {
83 for (
int j = 1; j <= neigh.
giveSize(); j++ ) {
93 auto res = iLevelSetNormalDirMap.find(kGlob);
94 if ( res != iLevelSetNormalDirMap.end() && res->second < 0.0 ) {
95 newEnrNodes.push_back(i);
106 for (
int i = 0; i < int ( newEnrNodes.size() ); i++ ) {
107 ioNodeEnrMarkerMap [ newEnrNodes [ i ] ] =
NodeEnr_BULK;
int giveGlobalNumber() const
int giveNumberOfDofManagers() const
Returns number of dof managers in domain.
TipInfo gathers useful information about a crack tip, like its position and tangent direction...
ConnectivityTable * giveConnectivityTable()
Returns receiver's associated connectivity table.
virtual const char * giveInputRecordName() const
Abstract base class for all finite elements.
Class implementing an array of integers.
int & at(int i)
Coefficient access function.
virtual int giveNumberOfDofManagers() const
Element * giveElement(int n)
Service for accessing particular domain fe element.
const IntArray * giveDofManConnectivityArray(int dofman)
This class manages the xfem part.
REGISTER_EnrichmentFront(EnrFrontCohesiveBranchFuncOneEl)
the oofem namespace is to define a context or scope in which all oofem names are defined.
DofManager * giveDofManager(int i) const
virtual void giveInputRecord(DynamicInputRecord &input)