Replaced all remaining addTimeOptions.H includes with the more flexible timeSelector

This commit is contained in:
Henry Weller
2023-06-23 15:24:06 +01:00
parent f3df607dde
commit 0657826ab9
43 changed files with 91 additions and 162 deletions

View File

@ -30,6 +30,7 @@ Description
\*---------------------------------------------------------------------------*/
#include "argList.H"
#include "timeSelector.H"
#include "fvMesh.H"
#include "PatchTools.H"
#include "OBJstream.H"
@ -198,10 +199,11 @@ using namespace Foam;
int main(int argc, char *argv[])
{
#include "addTimeOptions.H"
timeSelector::addOptions();
argList::validArgs.append("patch");
#include "setRootCase.H"
#include "createTime.H"
timeSelector::select0(runTime, args);
#include "createMesh.H"