alphaScheme.H
Go to the documentation of this file.
2 {
3  "interfaceCompression",
4  "PLIC",
5  "PLICU",
6  "MPLIC",
7  "MPLICU"
8 };
9 
10 static const word divAlphaName("div(phi,alpha)");
11 
12 const word alphaScheme(mesh.divScheme(divAlphaName)[1].wordToken());
13 
14 ITstream compressionScheme
15 (
17  ? mesh.divScheme(divAlphaName)
18  : ITstream
19  (
21  tokenList
22  {
23  word("Gauss"),
24  word("interfaceCompression"),
26  alphaControls.lookup<scalar>("cAlpha")
27  }
28  )
29 );
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