This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/applications/solvers/finiteArea/liquidFilmFoam/readSolutionControls.H

14 lines
271 B
C
Raw Normal View History

int nCorr = 0;
if (aMesh.solutionDict().found("nOuterCorrectors"))
{
2015-05-15 13:57:39 +00:00
nCorr =
readInt(aMesh.solutionDict().lookup("nOuterCorrectors"));
}
else
{
FatalErrorIn(args.executable())
<< "Cannot find number of correctors"
<< abort(FatalError);
}