- 21 Feb, 2017 6 commits
-
-
mark authored
-
mark authored
- makes it slightly easier when packaging various binaries, or when building packages for installation via modules etc.
-
mark authored
- reduces unexpected interactions between various make elements
-
mark authored
- The dirToString -strip option is simple, but reduces effort for the caller.
-
mark authored
- also add some comments about the side-effects
-
mark authored
- For convenience, let "wmake some/path/filename.C" behave similar to "wmake some/path" and trace back for the Make directory.
-
- 20 Feb, 2017 4 commits
-
-
Sergio Ferraris authored
Flat list output See merge request !93
-
mark authored
-
mattijs authored
-
mattijs authored
For certain combinations of rays and triangles the fast bb-triangle intersection routine is not correct. For now revert to slow edge-by-edge intersection.
-
- 15 Feb, 2017 1 commit
-
-
mattijs authored
-
- 10 Feb, 2017 5 commits
-
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
BUG: noise - updated creation of control dictionary to allow -case option and env variables. Fixes #402
-
Andrew Heather authored
-
mark authored
- Introduce writeList(Ostream&, label) method in various List classes to provide more flexibility and avoid hard-coded limits when deciding if a list is too long and should be broken up into multiple lines (ASCII only). - The old hard-code limit (10) is retained in the operator<< versions - This functionality is wrapped in the FlatOutput output adapter class and directly accessible via the 'flatOutput()' function. Eg, #include "ListOps.H" Info<< "methods: " << flatOutput(myLongList) << endl; // OR Info<< "methods: "; myLongList.writeList(os) << endl;
-
- 09 Feb, 2017 7 commits
-
-
sergio authored
-
mark authored
- constness on local variables, pre-increment on loops, parameter names
-
mark authored
- outputs compound tags etc. Should only be called by itself or by a derived class.
-
mark authored
- templated code that is not actually be used yet. ENH: avoid combineFields for serial case Note: a 'master-only' variant with combineList only on the master and without scatter can be pursued later.
-
mark authored
- either (or both) of 0/, 0.orig/ may exist, so error messages about one of them being missing is a bit misleading
-
mark authored
- collects the log information only, without running any cases. This can be useful if the user has terminated the test prematurely but nonetheless wishes to summarize the log output.
-
mark authored
-
- 08 Feb, 2017 2 commits
- 06 Feb, 2017 3 commits
- 03 Feb, 2017 12 commits
-
-
mark authored
- Constructs a validated word, in which all invalid characters have been stripped out and any leading digit is '_'-prefixed. Words with leading digits cause parse issues when read back later. - Replaces previous functionally identical code from src/conversion -- COMP: test against nullObject instead of checking address for null pointer.
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Andrew Heather authored
-
Mark OLESEN authored
Feature bbox improvements See merge request !92
-
mark authored
- more stable/predictable to check for a bounding box !empty() rather than comparing to greatBox directly.
-
mark authored
- The code create a box with a (0,0,0) point. The new definition is more logical and makes it very easy to grow the bounding box to include new points. It also simplifies much of the logic in the constructors. - Use ROOTVGREAT instead of VGREAT for sizing greatBox and invertedBox. Avoids some overflow issues reported by Mattijs (thus GREAT has been used in treeBoundBox), but might still need further revision.
-
mark authored
-
mark authored
- Constructor for bounding box of a single point. - add(boundBox), add(point) ... -> Extend box to enclose the second box or point(s). Eg, bb.add(pt); vs. bb.min() = Foam::min(bb.min(), pt); bb.max() = Foam::max(bb.max(), pt); Also works with other bounding boxes. Eg, bb.add(bb2); // OR bb += bb2; vs. bb.min() = Foam::min(bb.min(), bb2.min()); bb.max() = Foam::max(bb.max(), bb2.max()); '+=' operator allows the reduction to be used in parallel gather/scatter operations. A global '+' operator is not currently needed. Note: may be useful in the future to have a 'clear()' method that resets to a zero-sized (inverted) box. STYLE: make many bounding box constructors explicit
-