applications/solvers: Added -postProcess option

See also commit 30e2f912e5
This commit is contained in:
Henry Weller
2016-05-09 14:08:15 +01:00
parent a4ac0f06fd
commit 15545786b4
40 changed files with 104 additions and 82 deletions

View File

@ -39,15 +39,15 @@ Description
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifndef CREATE_MESH
#define CREATE_MESH createMesh.H
#define CREATE_MESH createMesh.H
#endif
#ifndef CREATE_FIELDS
#define CREATE_FIELDS createFields.H
#define CREATE_FIELDS createFields.H
#endif
#ifndef CREATE_CONTROL
#define CREATE_CONTROL createControl.H
#define CREATE_CONTROL createControl.H
#endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -55,6 +55,8 @@ Description
#define INCLUDE_FILE(X) INCLUDE_FILE2(X)
#define INCLUDE_FILE2(X) #X
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Foam::argList::addBoolOption
(
argList::postProcessOptionName,
@ -71,7 +73,10 @@ if (argList::postProcess(argc, argv))
#include "createTime.H"
Foam::instantList timeDirs = Foam::timeSelector::select0(runTime, args);
#include INCLUDE_FILE(CREATE_MESH)
#ifndef NO_CONTROL
#include INCLUDE_FILE(CREATE_CONTROL)
#endif
// Externally stored dictionary for functionObjectList
// if not constructed from runTime