alphaScheme.H
Go to the documentation of this file.
1 static const word divAlphaName("div(phi,alpha)");
2 
3 const word alphaScheme(mesh.schemes().div(divAlphaName)[1].wordToken());
4 
5 ITstream compressionScheme
6 (
8  ? mesh.schemes().div(divAlphaName)
9  : ITstream
10  (
12  tokenList
13  {
14  word("Gauss"),
15  word("interfaceCompression"),
17  alphaControls.lookup<scalar>("cAlpha")
18  }
19  )
20 );
List< token > tokenList
List of tokens, used for a IOdictionary entry.
Definition: tokenList.H:42
const wordHashSet compressionSchemes
fvMesh & mesh
ITstream compressionScheme(compressionSchemes.found(alphaScheme) ? mesh.schemes().div(divAlphaName) :ITstream(divAlphaName, tokenList { word("Gauss"), word("interfaceCompression"), alphaScheme, alphaControls.lookup< scalar >("cAlpha") }))
const word alphaScheme(mesh.schemes().div(divAlphaName)[1].wordToken())
bool found(const Key &) const
Return true if hashedEntry is found in table.
Definition: HashTable.C:113
static const word divAlphaName("div(phi,alpha)")
const dictionary & alphaControls
Definition: alphaControls.H:1