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];
Foam::FatalError
error FatalError
mesh
fvMesh & mesh
Definition: createMeshesPostProcess.H:9
Foam::exit
errorManipArg< error, int > exit(error &err, const int errNo=1)
Definition: errorManip.H:130
Foam::argList::executable
const word & executable() const noexcept
Name of executable without the path.
Definition: argListI.H:51
fluidRegions
PtrList< fvMesh > fluidRegions(fluidNames.size())
solidRegions
PtrList< fvMesh > solidRegions(solidNames.size())
createMeshes.H
FatalErrorIn
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
Definition: error.H:448
args
Foam::argList args(argc, argv)