mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use new argList argRead() method and operator[] for cleaner code.
- deprecate argList::additionalArgs() method and remove uses of it
This commit is contained in:
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Description
|
||||
Translates FOAM data to Fluent format.
|
||||
Translates OpenFOAM data to Fluent format.
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Description
|
||||
Translates FOAM data to EnSight format.
|
||||
Translates OpenFOAM data to EnSight format.
|
||||
|
||||
An Ensight part is created for the internalMesh and for each patch.
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 1991-2009 OpenCFD Ltd.
|
||||
\\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -23,7 +23,7 @@ License
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
Description
|
||||
Translates a STAR-CD SMAP data file into FOAM field format.
|
||||
Translates a STAR-CD SMAP data file into OpenFOAM field format.
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -65,7 +65,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
# include "createMesh.H"
|
||||
|
||||
IFstream smapFile(args.additionalArgs()[0]);
|
||||
IFstream smapFile(args[1]);
|
||||
|
||||
if (!smapFile.good())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user