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");
82 template<
class ModelType>
90 checkInterfacialModelsDict<ModelType>
99 template<
class ModelType,
class ... Args>
110 const bool ignoreNonModelPhaseInterfaceTypes,
131 ignoreNonModelPhaseInterfaceTypes,
132 blendingDict<ModelType>(fluid,
dict),
138 template<
class ModelType>
151 generateBlendedInterfacialModels<ModelType>
A HashTable specialisation for hashing pointers.
A HashTable with keys but without contents.
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.
void generateInterfacialModels(PtrList< phaseInterface > &interfaces, PtrList< ModelType > &models, const phaseSystem &fluid, const dictionary &dict, const wordHashSet &ignoreKeys, const phaseInterface &interface, const Args &... args)
void checkBlendedInterfacialModelsDict(const phaseSystem &fluid, 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)