- Nov 19, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
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
-
Mark OLESEN authored
- this allows use of #eval results in the tests
-
Mark OLESEN authored
- this makes it behave more like other dictionary components.
-
Mark OLESEN authored
- can be useful when a scalarField has been used to store booleans and we need to recover a bool directly and deal with potential rounding issues. ENH: support "any" as a Switch counterpart to "none"
-
Mark OLESEN authored
-
Mattijs Janssens authored
-
Mark OLESEN authored
-
- Nov 18, 2019
-
-
Mark OLESEN authored
- now indicate that the dictionary entry is missing, not that it is an unknown function type. STYLE: adjust PatchFunction1New.C to have logic structure look similar
-
Mark OLESEN authored
- handle quoted format statement (m4)
-
Mark OLESEN authored
- avoids generating a log file, which is missing an "End" tag that allows the test loop to identify the completion status
-
Mark OLESEN authored
-
- Nov 15, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- also use tmp::New forwarding internally
-
Mark OLESEN authored
-
Mark OLESEN authored
- the full tensor also supports zip/unzip rows/cols and unzipRow, unzipCol, unzipDiag
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- also support transposed construction when given a set of vectors
-
- Nov 13, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- save in META-INFO/build-info for later re-compilation without git. This improves tracking beyond simply referring to the the patch level. The information is tagged with an underscore to distinguish from "real" build information when git is available. STYLE: improved shell syntax, pushd/popd guards etc.
-
- Nov 14, 2019
-
-
Kutalmış Berçin authored
-
Kutalmış Berçin authored
-
- Nov 13, 2019
-
-
Kutalmış Berçin authored
- Previously, the default mapping method was `planarInterpolation` which was silently suppressed by the default 'interpolate{R,U,L}=false'. STYLE: changes: `0` to `Zero`, `lookupOrDefault` to `getOrDefault` improves header documentation
-
Kutalmış Berçin authored
-
- Nov 11, 2019
-
-
mattijs authored
-
- Nov 12, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
- make constructors explicit, delete unused constructors
-
Mark OLESEN authored
-
- Nov 11, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- silently deprecate 'startsWith', 'endsWith' methods (added in 2016: 2b143606), in favour of 'starts_with', 'ends_with' methods, corresponding to C++20 and allowing us to cull then in a few years. - handle single character versions of starts_with, ends_with. - add single character version of removeEnd and silently deprecate removeTrailing which did the same thing. - drop the const versions of removeRepeated, removeTrailing. Unused and with potential confusion. STYLE: use shrink_to_fit(), erase()
-
Mark OLESEN authored
- Duplicate entries are handled by overwriting, which corresponds more closely to the notion of assignment
-
- Nov 01, 2019
-
-
Andrew Heather authored
-
- Oct 22, 2019
-
-
Andrew Heather authored
Example - create p-rgh from p: pressure-p-rgh { type pressure; libs (fieldFunctionObjects); writeControl writeTime; mode static; rho rhoInf; rhoInf 1; hydrostaticMode subtract; g (0 -9.81 0); hRef 0; } - the hydrostaticMode entry is optional - setting is shown during construction - g and/or hRef values are retrieved from the database if not specified
-
- Nov 01, 2019
-
-
Andrew Heather authored
-
- Nov 11, 2019
-
-
Mark OLESEN authored
-