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:36
errorManipArg< error, int > exit(error &err, const int errNo=1)
Definition: errorManip.H:124
error FatalError
PtrList< fvMesh > solidRegions(solidNames.size())
PtrList< fvMesh > fluidRegions(fluidNames.size())
Foam::argList args(argc, argv)
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
Definition: error.H:301