Go to the documentation of this file.
93 Warning <<
"Point subset " << subsetName <<
" already exists!" <<
endl;
98 std::map<label, meshSubset>::const_iterator it;
124 std::map<label, meshSubset>::const_iterator it =
128 Warning <<
"Subset " << subsetID <<
" is not a point subset" <<
endl;
132 return it->second.name();
137 std::map<label, meshSubset>::const_iterator it;
140 if( it->second.name() == subsetName )
188 std::map<label, meshSubset>::const_iterator setIt;
198 setIt->second.name(),
207 setIt->second.containedElements(containedElements);
209 forAll(containedElements, i)
210 set.
insert(containedElements[i]);
polyMeshGenPoints(const polyMeshGenPoints &)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from string.
List< Key > toc() const
Return the table of contents.
#define forAll(list, i)
Loop across all elements in list.
void removePointSubset(const label)
virtual bool write() const
Write using setting from DB.
Ostream & endl(Ostream &os)
Add newline and flush stream.
wordList names() const
Return the list of names of the IOobjects.
label pointSubsetIndex(const word &) const
Constant dispersed-phase particle diameter model.
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.
std::map< label, meshSubset > pointSubsets_
map of point subsets
IOobject * lookup(const word &name) const
Lookup a given name and return IOobject ptr if found else NULL.
List of IOobjects with searching and retrieving facilities.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
word pointSubsetName(const label) const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const word & constant() const
Return constant name.
bool insert(const Key &key)
Insert a new entry.
const Time & runTime_
reference to the Time registry
pointFieldPMG points_
list of vertices
label addPointSubset(const word &)
point subsets