30 template<
class Region>
33 return regions_.
size() > 1;
37 template<
class Region>
56 template<
class Region>
57 template<
class NonConstRegion>
69 if (mrr_.prefixes() && regioni_ != -1)
81 template<
class Region>
84 RegionRef(rp.mrr_, rp.regioni_, rp.region_)
90 template<
class Region>
94 previousPrefix_(
Sout.prefix()),
99 indices_.insert(
regionName(regions_[regioni]), regioni);
115 template<
class Region>
118 if (mrr_.prefixes() && regioni_ != -1)
125 template<
class Region>
134 template<
class Region>
137 return regions_.size();
143 template<
class Region>
150 template<
class Region>
157 template<
class Region>
167 template<
class Region>
177 template<
class Region>
187 template<
class Region>
graph_traits< Graph >::vertices_size_type size_type
#define forAll(list, i)
Loop across all elements in list.
Class to wrap a UPtrList of of region-associated objects (meshes, solvers, domainDecompositions,...
MultiRegionRefs(UPtrList< Region > ®ions)
Construct from a list of region pointers.
label size() const
Return the size.
~MultiRegionRefs()
Destructor.
Region & operator()() const
Obtain the reference.
RegionRef(const MultiRegionRefs< NonConstRegion > &mrr, const label regioni, Region ®ion)
Construct form components.
const string & prefix() const
Return the prefix of the stream.
A class for handling character strings derived from std::string.
A class for handling words, derived from string.
static const word null
An empty word.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const word & regionName(const solver ®ion)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
prefixOSstream Sout(cout, "Sout")