createControls.H
Go to the documentation of this file.
1 const dictionary& potentialFlow
2 (
3  mesh.solution().dict().subDict("potentialFlow")
4 );
5 
6 const int nNonOrthCorr
7 (
8  potentialFlow.lookupOrDefault<int>("nNonOrthogonalCorrectors", 0)
9 );
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
Definition: dictionary.C:849
const fvSolution & solution() const
Return the fvSolution.
Definition: fvMesh.C:1810
const dictionary & dict() const
Return the selected sub-dictionary of solvers if the "select".
Definition: solution.C:329
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
const int nNonOrthCorr(potentialFlow.lookupOrDefault< int >("nNonOrthogonalCorrectors", 0))
const dictionary & potentialFlow(mesh.solution().dict().subDict("potentialFlow"))