alphaScheme.H
Go to the documentation of this file.
2 {
3  "interfaceCompression",
4  "noInterfaceCompression",
5  "PLIC",
6  "PLICU",
7  "MPLIC",
8  "MPLICU"
9 };
10 
11 static const word divAlphaName("div(phi,alpha)");
12 
13 const word alphaScheme(mesh.divScheme(divAlphaName)[1].wordToken());
14 
15 ITstream compressionScheme
16 (
18  ? mesh.divScheme(divAlphaName)
19  : ITstream
20  (
22  tokenList
23  {
24  word("Gauss"),
25  word("interfaceCompression"),
27  alphaControls.lookup<scalar>("cAlpha")
28  }
29  )
30 );
const word alphaScheme(mesh.divScheme(divAlphaName)[1].wordToken())
List< token > tokenList
List of tokens, used for a IOdictionary entry.
Definition: tokenList.H:42
ITstream compressionScheme(compressionSchemes.found(alphaScheme) ? mesh.divScheme(divAlphaName) :ITstream(divAlphaName, tokenList { word("Gauss"), word("interfaceCompression"), alphaScheme, alphaControls.lookup< scalar >("cAlpha") }))
static const wordHashSet compressionSchemes
Definition: alphaScheme.H:2
dynamicFvMesh & mesh
HashSet wordHashSet
A HashSet with word keys.
Definition: HashSet.H:208
static const word divAlphaName("div(phi,alpha)")
const dictionary & alphaControls
Definition: alphaControls.H:1