readFluxScheme.H
Go to the documentation of this file.
1 word fluxScheme("Kurganov");
2 if (mesh.schemesDict().readIfPresent("fluxScheme", fluxScheme))
3 {
4  if ((fluxScheme == "Tadmor") || (fluxScheme == "Kurganov"))
5  {
6  Info<< "fluxScheme: " << fluxScheme << endl;
7  }
8  else
9  {
11  (
12  "rhoCentralFoam::readFluxScheme"
13  ) << "fluxScheme: " << fluxScheme
14  << " is not a valid choice. "
15  << "Options are: Tadmor, Kurganov"
16  << abort(FatalError);
17  }
18 }
messageStream Info
dynamicFvMesh & mesh
Ostream & endl(Ostream &os)
Add newline and flush stream.
Definition: Ostream.H:251
word fluxScheme("Kurganov")
errorManip< error > abort(error &err)
Definition: errorManip.H:131
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
Definition: error.H:314
error FatalError