createMeshesPostProcess.H
Go to the documentation of this file.
1 #include "createMeshes.H"
2 
3 if (!fluidRegions.size() && !solidRegions.size())
4 {
6  << "No region meshes present" << exit(FatalError);
7 }
8 
9 fvMesh& mesh = fluidRegions.size() ? fluidRegions[0] : solidRegions[0];
const word & executable() const
Name of executable without the path.
Definition: argListI.H:30
errorManipArg< error, int > exit(error &err, const int errNo=1)
Definition: errorManip.H:124
error FatalError
PtrList< fvMesh > fluidRegions(fluidNames.size())
PtrList< fvMesh > solidRegions(solidsNames.size())
Foam::argList args(argc, argv)
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
Definition: error.H:314