30 template<
class Region>
33 return regions_.
size() > 1;
37 template<
class Region>
56 template<
class Region>
57 template<
class NonConstRegion>
61 const word& previousPrefix,
67 previousPrefix_(previousPrefix),
71 if (mrr_.prefixes() && regioni_ != -1)
83 template<
class Region>
86 RegionRef(rp.mrr_, rp.previousPrefix_, rp.regioni_, rp.region_)
92 template<
class Region>
96 previousPrefix_(
Sout.prefix()),
101 indices_.insert(
regionName(regions_[regioni]), regioni);
117 template<
class Region>
120 if (mrr_.prefixes() && regioni_ != -1)
127 template<
class Region>
136 template<
class Region>
139 return regions_.size();
145 template<
class Region>
152 template<
class Region>
159 template<
class Region>
176 template<
class Region>
193 template<
class Region>
203 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.
RegionRef(const MultiRegionRefs< NonConstRegion > &mrr, const word &previousPrefix, const label regioni, Region ®ion)
Construct form components.
Region & operator()() const
Obtain the reference.
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)
const fvMesh & region(const dictionary &dict)
Cast the give dictionary to the corresponding region fvMesh.
prefixOSstream Sout(cout, "Sout")
dimensioned< Type > max(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)