ENH: Utilities - add -region option when creating meshes

This commit is contained in:
Andrew Heather
2018-01-16 12:10:20 +00:00
parent 66ba2dd674
commit 853b9abb79
21 changed files with 21 additions and 21 deletions

View File

@ -625,7 +625,7 @@ int main(int argc, char *argv[])
#include "setRootCase.H"
#include "createTime.H"
runTime.functionObjects().off();
#include "createMesh.H"
#include "createNamedMesh.H"
// Read control dictionary
// ~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -91,7 +91,7 @@ int main(int argc, char *argv[])
runTime.functionObjects().off();
instantList timeDirs = timeSelector::selectIfPresent(runTime, args);
#include "createMesh.H"
#include "createNamedMesh.H"
const word oldInstance = mesh.pointsInstance();

View File

@ -59,7 +59,7 @@ int main(int argc, char *argv[])
#include "setRootCase.H"
#include "createTime.H"
runTime.functionObjects().off();
#include "createMesh.H"
#include "createNamedMesh.H"
const word oldInstance = mesh.pointsInstance();
const word setName = args[1];

View File

@ -202,7 +202,7 @@ int main(int argc, char *argv[])
else
{
// convert fields with or without converting mesh
#include "createMesh.H"
#include "createNamedMesh.H"
// #include "checkHasMovingMesh.H"
// #include "checkHasLagrangian.H"

View File

@ -380,7 +380,7 @@ int main(int argc, char *argv[])
sourceCaseDir
);
#include "createMesh.H"
#include "createNamedMesh.H"
const polyBoundaryMesh& patches = mesh.boundaryMesh();

View File

@ -514,7 +514,7 @@ int main(int argc, char *argv[])
// Distribute the initial mesh
if (Pstream::parRun())
{
#include "createMesh.H"
#include "createNamedMesh.H"
Info<< "Loaded mesh:" << endl;
printMeshData(mesh);

View File

@ -51,7 +51,7 @@ int main(int argc, char *argv[])
const scalar scaleFactor = args.read<scalar>(1);
#include "createTime.H"
#include "createMesh.H"
#include "createNamedMesh.H"
volPointInterpolation pInterp(mesh);

View File

@ -46,7 +46,7 @@ int main(int argc, char *argv[])
#include "setRootCase.H"
#include "createTime.H"
#include "createMesh.H"
#include "createNamedMesh.H"
autoPtr<motionSolver> motionPtr = motionSolver::New(mesh);

View File

@ -383,7 +383,7 @@ int main(int argc, char *argv[])
#include "setRootCase.H"
#include "createTime.H"
#include "createMesh.H"
#include "createNamedMesh.H"
const word oldInstance = mesh.pointsInstance();

View File

@ -118,7 +118,7 @@ int main(int argc, char *argv[])
instantList timeDirs = timeSelector::select0(runTime, args);
#include "createMesh.H"
#include "createNamedMesh.H"
forAll(timeDirs, timeI)
{