- 09 Jan, 2019 1 commit
-
-
Mark OLESEN authored
- in 1812 propagated through the distinction between areaNormal and unitNormal (issue #885). In older versions, the normal() always meant the area-normal for certain of these primitive. However, the .org version changed this to now return the unit-normal instead, but with the same method name. Thus add the deprecated message to avoid future inadvertent uses of normal() without being certain which one is being meant.
-
- 11 Nov, 2018 1 commit
-
-
Mark OLESEN authored
- Start brief descriptions with 'Deprecated(YYYY-MM)' so that it is readily visible in the short method description. Consistent date format (YYYY-MM), placed immediately after the \deprecated tag.
-
- 18 Oct, 2018 1 commit
-
-
Mark OLESEN authored
- more dictionary-like methods, enforce keyType::LITERAL for all lookups to avoid any spurious keyword matching. - new readEntry, readIfPresent methods - The get() method replaces the now deprecate lookup() method. - Deprecate lookupOrFailsafe() Failsafe behaviour is now an optional parameter for lookupOrDefault, which makes it easier to tailor behaviour at runtime. - output of the names is now always flatted without line-breaks. Thus, os << flatOutput(someEnumNames.names()) << nl; os << someEnumNames << nl; both generate the same output. - Constructor now uses C-string (const char*) directly instead of Foam::word in its initializer_list. - Remove special enum + initializer_list constructor form since it can create unbounded lookup indices. - Removd old hasEnum, hasName forms that were provided during initial transition from NamedEnum. - Added static_assert on Enum contents to restrict to enum or integral values. Should not likely be using this class to enumerate other things since it internally uses an 'int' for its values. Changed volumeType accordingly to enumerate on its type (enum), not the class itself.
-
- 03 Aug, 2018 1 commit
-
-
Mark OLESEN authored
- signedDistance() method is like distance() but retains the positive/negative sign for the side of the plane. - the sign() method returns the sign as -1,0,+1 integer for classification purposes where it is important to distinguish between a zero value and a positive value (eg, for cutting). Optional tolerance can be supplied to round for zero. - refactor and inlined simple and frequently used methods. - add boundBox faceCentre() method, which can be useful for creating clipping planes from a bounding box. Relocated treeBoundBox faceNormals to boundBox since they apply equally there - the meaning of the faces (x-min, x-max, etc) is the same, even if the point addressing for the faces differs.
-
- 20 Jun, 2018 1 commit
-
-
Mark OLESEN authored
-
- 14 Aug, 2018 1 commit
-
-
Mark OLESEN authored
- a quick test for which side of the face a point is located
-
- 18 Nov, 2017 1 commit
-
-
Mark OLESEN authored
- this provides a better typesafe means of locating predefined cell models than relying on strings. The lookup is now ptr() or ref() directly. The lookup functions behave like on-demand singletons when loading "etc/cellModels". Functionality is now located entirely in cellModel but a forwarding version of cellModeller is provided for API (but not ABI) compatibility with older existing user code. STYLE: use constexpr for cellMatcher constants
-
- 03 Jul, 2017 1 commit
-
-
Mark OLESEN authored
-
- 26 May, 2017 1 commit
-
-
Mark OLESEN authored
-
- 06 Jun, 2017 1 commit
-
-
Updated the tetrahedron and triangle classes to use the barycentric primitives. Removed duplicate code for generating random positions in tets and tris, and fixed bug in tri random position.
-
- 28 Apr, 2017 1 commit
-
-
Andrew Heather authored
-
- 23 Apr, 2017 1 commit
-
-
Mark OLESEN authored
- improves flexibility. STYLE: make longestEdge a face method and deprecate the global function
-
- 25 Jan, 2017 1 commit
-
-
Mark Olesen 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
-
- 30 Sep, 2016 1 commit
-
-
Henry Weller authored
Patch contributed by Mattijs Janssens Resolves bug-report http://bugs.openfoam.org/view.php?id=2278
-
- 28 Apr, 2016 1 commit
-
-
Andrew Heather authored
-
- 17 Apr, 2016 1 commit
-
-
Henry Weller authored
See also http://www.openfoam.org/mantisbt/view.php?id=2036
-
- 15 Apr, 2016 1 commit
-
-
Henry Weller authored
-
- 19 Dec, 2015 1 commit
-
-
mattijs authored
-
- 26 Nov, 2015 1 commit
-
-
mattijs authored
- bounds option (see $FOAM_UTILITIES/postProcessing/sampling/sample/sampleDict) - fixes memory error http://www.openfoam.org/mantisbt/view.php?id=1487 - cleans up iso surface normal orientation
-
- 17 Nov, 2015 2 commits
-
-
mattijs authored
- redistributePar to have almost (complete) functionality of decomposePar+reconstructPar - low-level distributed Field mapping - support for mapping surfaceFields (including flipping faces) - support for decomposing/reconstructing refinement data
-
mattijs authored
- redistributePar to have almost (complete) functionality of decomposePar+reconstructPar - low-level distributed Field mapping - support for mapping surfaceFields (including flipping faces) - support for decomposing/reconstructing refinement data
-
- 08 Nov, 2015 1 commit
-
-
Henry Weller authored
Avoids the clutter and maintenance effort associated with providing the function signature string.
-
- 12 Jul, 2013 1 commit
-
-
andy authored
-
- 30 Apr, 2013 1 commit
-
-
mattijs authored
-
- 19 Apr, 2013 1 commit
-
-
mattijs authored
-
- 23 Dec, 2011 1 commit
-
-
mattijs authored
-
- 14 Aug, 2011 1 commit
-
-
Henry authored
-
- 19 Jan, 2011 2 commits
-
-
graham authored
-
- 14 Jan, 2011 1 commit
-
-
Andrew Heather authored
-
- 07 Jan, 2011 1 commit
-
-
graham authored
-
- 05 Jan, 2011 2 commits
-
-
Andrew Heather authored
This reverts commit b18f6cc1.
-
graham authored
-
- 22 Dec, 2010 1 commit
-
-
graham authored
No warnings on recoverable degeneracies.
-
- 17 Dec, 2010 1 commit
-
-
Mark Olesen authored
-
- 15 Dec, 2010 2 commits
- 29 Nov, 2010 1 commit
-
-
Mark Olesen authored
ENH: add constructors from UList<Point> + FixedList<label,..> - simplifies construction from edge,triFace etc.
-
- 26 Nov, 2010 1 commit
-
-
Mark Olesen authored
-
- 12 Oct, 2010 1 commit
-
-
Mark Olesen authored
- otherwise gets flagged as an error by clang
-