Mark Olesen
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
..
2019-08-07 09:22:09 +02:00
2019-11-19 14:22:03 +01:00
2019-08-07 09:22:09 +02:00
2019-08-07 09:22:09 +02:00
2019-08-07 09:22:09 +02:00
2019-08-07 09:22:09 +02:00
2019-08-07 09:22:09 +02:00
2019-08-07 09:22:09 +02:00
2019-08-07 09:22:09 +02:00
2019-08-07 09:22:09 +02:00
2019-08-07 09:22:09 +02:00
2019-08-07 09:22:09 +02:00
2019-08-07 09:22:09 +02:00
2019-08-07 09:22:09 +02:00
2019-08-07 09:22:09 +02:00
2019-08-07 09:22:09 +02:00
2019-08-07 09:22:09 +02:00
2019-08-07 09:22:09 +02:00
2019-08-07 09:22:09 +02:00
2019-08-07 09:22:09 +02:00