32 #ifndef generateBlendedInterfacialModels_H
33 #define generateBlendedInterfacialModels_H
44 template<
class ModelType>
63 if (fluid.
found(
"blending"))
67 if (fluidBlendingDict.
found(modelName<ModelType>()))
69 return fluidBlendingDict.
subDict(modelName<ModelType>());
72 if (fluidBlendingDict.
found(
"default"))
74 return fluidBlendingDict.
subDict(
"default");
92 template<
class ModelType>
100 checkInterfacialModelsDict<ModelType>
109 template<
class ModelType,
class ... Args>
120 const bool ignoreNonModelPhaseInterfaceTypes,
141 ignoreNonModelPhaseInterfaceTypes,
142 blendingDict<ModelType>(fluid,
dict),
148 template<
class ModelType>
161 generateBlendedInterfacialModels<ModelType>
A HashTable specialisation for hashing pointers.
A HashTable with keys but without contents.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
bool isDict(const word &) const
Check if entry is a sub-dictionary.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
Word-pair based class used for keying interface models in hash tables.
Class to represent a system of phases.
A class for handling words, derived from string.
UPtrList< const dictionary > modelSubDicts(const dictionary &dict, const wordHashSet &ignoreKeys=wordHashSet())
void checkBlendedInterfacialModelsDict(const phaseSystem &fluid, const dictionary &dict, const wordHashSet &ignoreKeys=wordHashSet())
void generateInterfacialModels(PtrList< phaseInterface > &interfaces, PtrList< ModelType > &models, const phaseSystem &fluid, const UPtrList< const dictionary > &subDicts, const wordHashSet &ignoreKeys, const phaseInterface &interface, const Args &... args)
UPtrList< const dictionary > blendedModelSubDicts(const dictionary &dict, const wordHashSet &ignoreKeys=wordHashSet())
Foam::HashPtrTable< ModelType, Foam::phaseInterfaceKey, Foam::phaseInterfaceKey::hash > generateBlendedInterfacialModels(const phaseSystem &fluid, const dictionary &dict, const wordHashSet &ignoreKeys, const bool ignoreNonModelPhaseInterfaceTypes, const Args &... args)
const dictionary & blendingDict(const phaseSystem &fluid, const dictionary &dict)
HashSet wordHashSet
A HashSet with word keys.
Foam::argList args(argc, argv)