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];
errorManipArg< error, int > exit(error &err, const int errNo=1)
Definition: errorManip.H:125
error FatalError
Error stream (stdout output on all processes), with additional &#39;FOAM FATAL ERROR&#39; header text and sta...
PtrList< fvMesh > solidRegions(solidNames.size())
const word & executable() const noexcept
Name of executable without the path.
Definition: argListI.H:44
fvMesh & mesh
PtrList< fvMesh > fluidRegions(fluidNames.size())
Foam::argList args(argc, argv)
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
Definition: error.H:590