library: * routines for managing cellTable and boundaryRegion * writing ensight files and parts * mesh reader/writer for STARCD utils: * star4ToFoam * foamToStarMesh * foamToEnsightParts
20 lines
351 B
C
20 lines
351 B
C
// check for lagrangian/positions information in the final directory
|
|
|
|
bool hasLagrangian = false;
|
|
if (timeDirs.size() > 1)
|
|
{
|
|
IOobject io
|
|
(
|
|
"positions",
|
|
timeDirs[timeDirs.size() - 1].name(),
|
|
"lagrangian",
|
|
mesh,
|
|
IOobject::NO_READ
|
|
);
|
|
|
|
if (io.headerOk())
|
|
{
|
|
hasLagrangian = true;
|
|
}
|
|
}
|