Go to the documentation of this file.
63 if( it == pointSubsets_.end() )
66 it().addElement(pointI);
76 if( it == pointSubsets_.end() )
79 it().removeElement(pointI);
97 if( it().contains(pointI) )
98 pointSubsets.
append(it.key());
115 template<
class ListType>
125 pointSubsets_.find(setI);
126 if( it == pointSubsets_.end() )
132 template<
class ListType>
141 it().updateSubset(newNodeLabels);
void pointsInSubset(const label, ListType &) const
An STL-conforming iterator.
void pointInSubsets(const label, DynList< label > &) const
const pointField & points() const
access to points
void updatePointSubsets(const ListType &)
An STL-conforming const_iterator.
A HashTable to objects of type <T> with a label key.
void appendVertex(const point &p)
append a vertex to the end of the list
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
label nPoints() const
return the number of points
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
void addPointToSubset(const label, const label)
void removePointFromSubset(const label, const label)
Map< meshSubset > pointSubsets_
map of point subsets
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
void pointSubsetIndices(DynList< label > &) const
void clear()
Clear the list, i.e. set size to zero.
labelList pointLabels(nPoints, -1)
void clear()
Clear the list, i.e. set next free to zero.
pointField points_
list of vertices
void append(const T &e)
Append an element at the end of the list.