Opm::RateConverter::Details::RegionAttributes< RegionId, Attributes > Class Template Reference
Detailed Descriptiontemplate<typename RegionId, class Attributes>
|
RegionId | Region identifier type. Must be hashable by std::hash<>
int . |
Attributes | User-defined type that represents collection of attributes that have meaning in a per-region aggregate sense. Must be copy-constructible. |
using Opm::RateConverter::Details::RegionAttributes< RegionId, Attributes >::RegionID = typename Select::RegionIDParameter <RegionId, std::is_integral<RegionId>::value>::type |
Expose RegionId
as a vocabulary type for use in query methods.
|
inline |
Constructor.
RMap | Class type that implements the RegionMapping protocol. Typically an instantiation of Opm::RegionMapping<>
|
[in] | rmap | Specific region mapping that provides reverse lookup from regions to cells. |
[in] | attr | Pre-constructed initialiser for Attributes . |
|
inline |
Request read-only access to region's attributes.
[in] | reg | Specific region. |
reg's
per-region attributes.
|
inline |
Request modifiable access to region's attributes.
[in] | reg | Specific region. |
reg's
per-region attributes.
|
inline |
Retrieve representative cell in region.
[in] | reg | Specific region. |
reg
.