30 template<
class modelType>
59 template<
class modelType>
62 const dictTable& modelDicts,
74 const phasePairKey&
key = iter.key();
89 template<
class modelType>
92 const word& modelName,
101 dictTable modelDicts(lookup(modelName));
103 generatePairs(modelDicts);
105 createSubModels(modelDicts, models);
109 template<
class modelType>
112 const word& modelName,
122 dictTable modelDicts(
lookup(modelName));
124 generatePairs(modelDicts);
126 createSubModels(modelDicts,
mesh, models);
130 template<
class modelType>
133 const word& modelName,
146 for (
const word& phaseName : phaseNames_)
148 modelTypeTable tempModels;
149 generatePairsAndSubModels
159 if (!models.found(
key))
178 template <
class modelType>
192 template <
class modelType>
void generatePairsAndSubModels(const word &modelName, HashTable< autoPtr< modelType >, phasePairKey, phasePairKey::hash > &models)
Generate pairs and sub-model tables.
const Type & lookupObject(const word &name, const bool recursive=false) const
Lookup and return const reference to the object of the given Type. Fatal if not found or the wrong ty...
phasePairKey::hasher hash
Alternative name for functor.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
Lookup type of boundary radiation properties.
Hashing functor for phasePairKey.
void createSubModels(const dictTable &modelDicts, HashTable< autoPtr< modelType >, phasePairKey, phasePairKey::hash > &models)
Generate pairs and sub-model tables using pair keys.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
A class for handling words, derived from Foam::string.
A HashTable similar to std::unordered_map.
An ordered or unorder pair of phase names. Typically specified as follows.
phasePairTable phasePairs_
Phase pairs.
const modelType & lookupSubModel(const phasePair &key) const
Access a sub model between a phase pair.
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
Mesh data needed to do the Finite Volume discretisation.
forAllConstIters(mixture.phases(), phase)