return vtkID + 1;
}
+//================================================================================
+/*!
+ * \brief Clear marked flag of all elements
+ */
+//================================================================================
+
+void SMDS_ElementFactory::SetAllNotMarked()
+{
+ for ( SMDS_ElementChunk& chunk : myChunks )
+ chunk.SetAllNotMarked();
+}
+
//================================================================================
/*!
* \brief Mark the element as non-used
}
myFactory->mySmdsIDs[ vtkID ] = e->GetID() - 1;
}
+ else
+ {
+ if ((size_t) e->GetID() <= myFactory->myVtkIDs.size() )
+ myFactory->myVtkIDs[ e->GetID() - 1 ] = vtkID;
+ if ((size_t) vtkID < myFactory->mySmdsIDs.size() )
+ myFactory->mySmdsIDs[ vtkID ] = e->GetID() - 1;
+ }
}
//================================================================================
myMarkedSet[ Index( e )] = is;
}
+//================================================================================
+/*!
+ * \brief Clear marked flag of all elements
+ */
+//================================================================================
+
+void SMDS_ElementChunk::SetAllNotMarked()
+{
+ clearVector( myMarkedSet );
+}
+
//================================================================================
/*!
* \brief Return SMDS_Position of a node on a shape