Commit Graph

10 Commits

Author SHA1 Message Date
Mark Olesen
345a2a42f1 ENH: simplify method names for reading argList options and arguments
- use succincter method names that more closely resemble dictionary
  and HashTable method names. This improves method name consistency
  between classes and also requires less typing effort:

    args.found(optName)        vs.  args.optionFound(optName)
    args.readIfPresent(..)     vs.  args.optionReadIfPresent(..)
    ...
    args.opt<scalar>(optName)  vs.  args.optionRead<scalar>(optName)
    args.read<scalar>(index)   vs.  args.argRead<scalar>(index)

- the older method names forms have been retained for code compatibility,
  but are now deprecated
2018-01-08 15:35:18 +01:00
Henry
cfe1163dc8 mapFields: Reinstated mapFields from OpenFOAM-2.2.x and renamed the current mapFields -> mapFieldsPar
This required the addition of the meshToMesh class in the sampling
library from OpenFOAM-2.2.x which is now named meshToMesh0.
2015-05-26 11:32:46 +01:00
andy
e5a5b89509 ENH: mapFields - deprecated old utility in favour of mapFieldsNew and renamed 2014-01-14 10:41:50 +00:00
Mark Olesen
689d4b2860 ENH: provide operator[] for accessing argList options.
- operator[] with label -> get args at index
- operator[] with word  -> get named option
2010-02-17 11:43:42 +01:00
henry
33a2ec60de Changed the time-selection so that it works correctly with the -parallel option for when
the time directories only exist in the processor sub-directories.
2009-09-02 11:34:58 +01:00
Mark Olesen
8edf105c45 cleanup of time handling (cosmetic changes), used timeSelector in more places 2009-05-20 15:40:30 +02:00
Mark Olesen
d1295da31f adjust solvers and utilities to use new argList methods
- also drop various unused time options from src/OpenFOAM/include
2009-05-19 20:21:50 +02:00
andy
077fc38663 changed default time behaviour to use targetTime (was sourceTime) 2008-06-03 13:09:20 +01:00
andy
43a7de7862 restoring default behaviour of mapFields re: time 2008-05-14 09:47:01 +01:00
andy
7f70974a98 added sourceTime option to mapFields (2) 2008-05-13 16:33:58 +01:00