- Dec 06, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- Dec 03, 2019
-
-
Mark OLESEN authored
-
- Dec 06, 2019
-
-
Andrew Heather authored
-
Mark OLESEN authored
-
Mark OLESEN authored
Set the m4 -I include accordingly to have the folllowing: - the directory of the parser. - include/ in the top-level source tree of the current target (eg, src/finiteVolume/include-m4/ when compiling libfiniteVolume) - include/ from OpenFOAM Additional -dry-run option for makeParser, wrap-lemon for expanding m4 only. Extend m4 wrapping support to include bison as well.
-
Mark OLESEN authored
-
Mark OLESEN authored
- include the trailing newline for the "// comment" form, but also add in leading space removal. This ensure that we do not introduce odd indentation, while also eliminating lines that are solely C++ comments.
-
Mark OLESEN authored
-
Mark OLESEN authored
- output the "uniform", "nonuniform" Field entry tags as words instead of raw character strings, which can help for direct tokenization or when sending/receiving via Pstreams.
-
Mark OLESEN authored
-
Andrew Heather authored
-
- Dec 02, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- The case files may contain #... comment lines - The geometry file may contain an optional "extents" entry - Properly handle element id specifications (off|assign|ignore|given). - Partially handle node id specifications (off|assign|ignore|given). Treat "given" like "ignore", since results in the lightest amount of coding and in many cases the "given" node ids are in fact 1-based contiguous values and thus no different than "ignore" for our purposes.
-
- Nov 27, 2019
-
-
mattijs authored
-
- Nov 26, 2019
-
-
Mark OLESEN authored
- previously only had 'opt<..>()' for options, but 'get<..>()' provides more similarity with dictionary methods. The 'opt<..>()' method is retained.
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- Nov 25, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- allows use of Enum in more situations where a tiny Map/HashTable replacement is desirable. The new methods can be combined with null constructed for to have a simple low-weight caching system for words/integers instead of fitting in a HashTable.
-
Mark OLESEN authored
ENH: downgrade error on type-mismatch to a warning - Ensight data files generated by OpenFOAM will start with the name of the data type (Eg, "scalar", "vector" etc), but this convention may fail for data files that have been generated elsewhere.
-
- Nov 20, 2019
-
-
mattijs authored
-
- Nov 18, 2019
-
-
Mark OLESEN authored
- polymorphic field/result
-
- Nov 25, 2019
-
-
Mark OLESEN authored
-
- Nov 22, 2019
-
-
Mark OLESEN authored
- improves usability in other contexts ENH: expose topoSet::findIOobject as public
-
Mark OLESEN authored
- since pointPatchField is not derived from Field, methods such as negate() or a unary min(), max() are missing. These have apparently not been needed thus far, but are used indirectly via GeometricField.
-
Mark OLESEN authored
STYLE: split off into separate file
-
- Nov 20, 2019
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- Nov 21, 2019
-
-
Mark OLESEN authored
- can be used in combination with std::generate, or as a substitute unary operator to supply random numbers for std::transform.
-
Mark OLESEN authored
-
- Nov 20, 2019
-
-
Mark OLESEN authored
- the noOp now returns const reference, noexcept
-
Mark OLESEN authored
-
- Nov 21, 2019
-
-
mattijs authored
-
- Nov 20, 2019
-
-
Mark OLESEN authored
-
- Nov 19, 2019
-
-
Mark OLESEN authored
- improves similarity to autoPtr. Simplifies coding. Example, tmp<volScalarField> tfield; // sometime later... tfield.reset ( volScalarField::New("myfield", mesh, dimensionedScalar(Zero)) ); - as per tmp, disallow tmpNrc assignment from literal nullptr - as per autoPtr, allow explicit test as bool (same as valid).
-
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.
-