30template<
class modelType>
59template<
class modelType>
62 const dictTable& modelDicts,
74 const phasePairKey& key = iter.key();
89template<
class modelType>
92 const word& modelName,
101 dictTable modelDicts(lookup(modelName));
109template<
class modelType>
112 const word& modelName,
122 dictTable modelDicts(
lookup(modelName));
130template<
class modelType>
133 const word& modelName,
146 for (
const word& phaseName : phaseNames_)
148 modelTypeTable tempModels;
149 generatePairsAndSubModels
159 if (!models.found(key))
178template <
class modelType>
192template <
class modelType>
A HashTable similar to std::unordered_map.
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Mesh data needed to do the Finite Volume discretisation.
void createSubModels(const dictTable &modelDicts, HashTable< autoPtr< modelType >, phasePairKey, phasePairKey::hash > &models)
Generate pairs and sub-model tables using pair keys.
void generatePairs(const dictTable &modelDicts)
Generate pairs.
wordList phaseNames_
Phase names.
const modelType & lookupSubModel(const phasePair &key) const
Access a sub model between a phase pair.
void generatePairsAndSubModels(const word &modelName, HashTable< autoPtr< modelType >, phasePairKey, phasePairKey::hash > &models)
Generate pairs and sub-model tables.
phasePairTable phasePairs_
Phase pairs.
const fvMesh & mesh() const
Return mesh.
HashTable< dictionary, phasePairKey, phasePairKey::hash > dictTable
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...
An ordered or unorder pair of phase names. Typically specified as follows.
phasePairKey::hasher hash
Alternative name for functor.
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
Lookup type of boundary radiation properties.
A class for handling words, derived from Foam::string.
#define forAllConstIters(container, iter)
Iterate across all elements of the container object with const access.