mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
applications/solvers: Added -postProcess option
See also commit 30e2f912e5
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user