Go to file
Mark Olesen 722d23f59c ENH: additional methods/operators for boundBox (related to #196)
- 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
2017-01-25 19:26:50 +01:00
applications ENH: additional methods/operators for boundBox (related to #196) 2017-01-25 19:26:50 +01:00
bin ENH: add small tool for listing the available EXE targets (based on git grep) 2016-12-23 09:13:44 +01:00
doc STYLE: Consistency updates 2016-12-16 14:36:48 +00:00
etc BUG: Incomplete cleanup of paraview environment (fixes #369) 2017-01-03 17:12:02 +01:00
src ENH: additional methods/operators for boundBox (related to #196) 2017-01-25 19:26:50 +01:00
tutorials BUG: STL patch names not being passed through 2017-02-03 09:33:22 +00:00
wmake ENH: add versioning for VTK library to runTimePostProcessing (issue #370) 2017-01-23 13:37:42 +01:00
.gitignore .gitignore: Ignore emacs projectile configuration files 2016-11-09 11:23:20 +00:00
Allwmake STYLE: avoid specifying the path to 'date' (issue #364) 2016-12-23 08:03:09 +01:00
BuildIssues.txt DOC: update BuildIssues 2016-12-22 09:15:13 +01:00
COPYING Copyright transfered to the OpenFOAM Foundation 2011-08-14 12:17:30 +01:00
README.md STYLE: Updated README text 2017-01-04 16:09:00 +00:00

About OpenFOAM

OpenFOAM is a free, open source CFD software released and developed primarily by OpenCFD Ltd since 2004released and developed primarily by. It has a large user base across most areas of engineering and science, from both commercial and academic organisations. OpenFOAM has an extensive range of features to solve anything from complex fluid flows involving chemical reactions, turbulence and heat transfer, to acoustics, solid mechanics and electromagnetics. More...

OpenFOAM+ is professionally released every six months to include customer sponsored developments and contributions from the community, including the OpenFOAM Foundation. Releases designated OpenFOAM+ contain several man years of client-sponsored developments of which much has been transferred to, but not released in the OpenFOAM Foundation branch.

Copyright

OpenFOAM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the file COPYING in this directory or http://www.gnu.org/licenses/, for a description of the GNU General Public License terms under which you can copy the files.

OpenFOAM Trademark

OpenCFD Ltd grants use of the OpenFOAM trademark by Third Parties on a licence basis. ESI Group and the OpenFOAM Foundation Ltd are currently permitted to use the Name and agreed Domain Name. For information on trademark use, please refer to the trademark policy guidelines.

Please contact OpenCFD if you have any questions on the use of the OpenFOAM trademark.

Violations of the Trademark are continuously monitored, and will be duly prosecuted.

Useful Links

Copyright 2016 OpenCFD Ltd