Mark Olesen
1310e85225
ENH: support 'get()' for retrieving argList options
...
- previously only had 'opt<..>()' for options, but 'get<..>()'
provides more similarity with dictionary methods.
The 'opt<..>()' method is retained.
2019-11-26 21:07:11 +01:00
OpenFOAM bot
e9219558d7
GIT: Header file updates
2019-10-31 14:48:44 +00:00
Mark Olesen
29a5793b5b
STYLE: argList::opt method instead of the longer argList::lookupOrDefault
...
- also replaced a few instances of readIfPresent with opt<> for
constant values.
2018-12-12 12:10:39 +01:00
Mark Olesen
bff16a0ddc
STYLE: additional comments in Test-decomposePar
2018-12-05 08:42:55 +01:00
Mark Olesen
501326b27a
ENH: additional constructor and methods for regionProperties
...
- can now construct with READ_IF_PRESENT and use count() to determine
if it was loaded. names() and sortedNames() for a collected overview.
2018-10-01 16:01:02 +02:00
Mark Olesen
ae36f5f504
ENH: change argList get<> and getList<> from read<>, readList<>
...
- more consistent with dictionary method naming. The get<> or
getList<> returns a value, doesn't read into a existing location.
2018-08-09 11:27:36 +02:00
Mark Olesen
7cb5b638ad
STYLE: more consistency in handling of -region vs -allRegions
2018-07-19 09:15:33 +02:00
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
Mark Olesen
199dc3376c
STYLE: missing comma in Test-decomposePar
2018-01-08 11:57:54 +01:00
Mark Olesen
7d7b0bfe84
STYLE: use list methods find/found instead of findIndex function
2017-10-24 19:07:34 +02:00
Mark Olesen
e9254eee58
ENH: support KaHIP decomposition
...
- refactor some common metis-like elements into the metisLikeDecomp
abstract class.
2017-10-09 21:00:34 +02:00