50 std::map<label, meshSubset>::iterator it = cellSubsets_.find(selID);
51 if( it == cellSubsets_.end() )
54 it->second.addElement(cellI);
63 std::map<label, meshSubset>::iterator it = cellSubsets_.find(selID);
64 if( it == cellSubsets_.end() )
67 it->second.removeElement(cellI);
78 std::map<label, meshSubset>::const_iterator it;
81 it=cellSubsets_.begin();
82 it!=cellSubsets_.end();
86 if( it->second.contains(cellI) )
87 cellSubsets.
append(it->first);
95 std::map<label, meshSubset>::const_iterator it;
102 indices.
append(it->first);
105 template<
class ListType>
114 std::map<label, meshSubset>::const_iterator it =
115 cellSubsets_.find(selID);
116 if( it == cellSubsets_.end() )
119 it->second.containedElements(cellLabels);
122 template<
class ListType>
125 const ListType& newCellLabels
130 std::map<label, meshSubset>::iterator it=cellSubsets_.begin();
131 it!=cellSubsets_.end();
134 it->second.updateSubset(newCellLabels);
144 std::map<label, meshSubset>::iterator it=cellSubsets_.begin();
145 it!=cellSubsets_.end();
148 it->second.updateSubset(newCellsForCell);