ae2ab06312
REL: Release preparations
2019-12-23 09:49:23 +00:00
c2123452b1
ENH: generalize string expression evaluation
...
- replace stringOps::toScalar with a more generic stringOps::evaluate
method that handles scalars, vectors etc.
- improve #eval to handle various mathematical operations.
Previously only handled scalars. Now produce vectors, tensors etc
for the entries. These tokens are streamed directly into the entry.
2019-12-09 19:44:23 +01:00
9e6683f7bc
ENH: add conditionals to #eval (string to scalar)
...
Example,
($radius > 10) ? sin(degToRad(45)) : cos(degToRad(30))
- protect division and modulo against zero-divide.
- add scanner/parser debugging switches in the namespace,
selectable as "stringToScalar". For example,
debug parser: foamDictionary -debug-switch stringToScalar=2
debug scanner: foamDictionary -debug-switch stringToScalar=4
debug both: foamDictionary -debug-switch stringToScalar=6
2019-11-19 14:22:03 +01:00
a5a222f7cf
ENH: support scalar tokens when testing #if, #ifeq
...
- this allows use of #eval results in the tests
2019-11-19 09:00:00 +01:00
98467036b3
STYLE: regularize quoting and exit on failed 'cd'
2019-11-13 13:19:16 +01:00
e6dfb39c66
STYLE: remove unnecessary stdout, stderr /dev/null redirects
...
- no stderr redirect needed:
* 'command -v'
- no stdout/stderr redirect needed:
* 'rm -f'
STYLE: consistent spacing after redirects
2019-11-06 10:44:36 +01:00
ec7e3c88e4
ENH: test for WM_PROJECT_DIR being set/unset in scripts
2019-11-06 09:18:51 +01:00
be44dcaf1f
RELEASE: Version clean-up for release
2019-06-25 11:51:19 +01:00
966fc4c503
TUT: add missing fields
2019-02-12 16:46:40 +01:00
e6f8dfecec
Feature merge OpenFOAM.org
2019-01-10 10:10:06 +00:00
9231534efa
STYLE: Updating version to v1812
2018-12-19 18:07:52 +00:00
b5d4d59ff1
TUT: add Alltest for IO/dictionary
...
- runs in non-verbose mode to avoid spurious detection of FatalError
2018-11-27 11:11:47 +01:00
4d03e4386d
STYLE: update version info in some tutorial files
2018-08-14 11:58:52 +02:00
109a791d35
TUT: adjust dictionary parsing tests
2018-07-05 11:09:40 +02:00
f3f30c94b4
ENH: improve detection of EOF missing/additional braces (issue #762 )
...
- stricter checking for common dictionary input errors such as a
missing ';' for primitive entries, extra or missing closing '}' etc.
2018-07-04 09:24:43 +02:00