- 18 Oct, 2019 1 commit
-
-
mattijs authored
-
- 07 Jan, 2019 1 commit
-
-
Mark OLESEN authored
- reduced clutter when iterating over containers
-
- 06 Feb, 2019 1 commit
-
-
OpenFOAM bot authored
-
- 11 Dec, 2018 1 commit
-
-
Mark OLESEN authored
- makes the intent clearer and avoids the need for additional constructor casting. Eg, labelList(10, Zero) vs. labelList(10, 0) scalarField(10, Zero) vs. scalarField(10, scalar(0)) vectorField(10, Zero) vs. vectorField(10, vector::zero)
-
- 05 Nov, 2018 1 commit
-
-
Mark OLESEN authored
- now applicable to labelLists. Note: in some situations it will be more efficient to use Foam::identity() directly. Eg, globalIndex globalCells(mesh.nCells()); ... labelList cellIds ( identity(globalCells.localSize(), globalCells.localStart()) );
-
- 20 Jun, 2018 1 commit
-
-
Andrew Heather authored
-
- 05 Mar, 2018 1 commit
-
-
Mark OLESEN authored
This class is largely a pre-C++11 holdover. It is now possible to simply use move construct/assignment directly. In a few rare cases (eg, polyMesh::resetPrimitives) it has been replaced by an autoPtr.
-
- 24 Oct, 2017 1 commit
-
-
Mark OLESEN authored
-
- 10 Mar, 2017 1 commit
-
-
Henry Weller authored
-
- 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
-
- 18 May, 2016 1 commit
-
-
Henry Weller authored
-
- 25 Apr, 2016 2 commits
-
-
Henry Weller authored
-
Henry Weller authored
-
- 03 Apr, 2016 1 commit
-
-
Henry Weller authored
//- Disallow default shallow-copy assignment // // Assignment of UList<T> may need to be either shallow (copy pointer) // or deep (copy elements) depending on context or the particular type // of list derived from UList and it is confusing and prone to error // for the default assignment to be either. The solution is to // disallow default assignment and provide separate 'shallowCopy' and // 'deepCopy' member functions. void operator=(const UList<T>&) = delete; //- Copy the pointer held by the given UList. inline void shallowCopy(const UList<T>&); //- Copy elements of the given UList. void deepCopy(const UList<T>&);
-
- 20 Jan, 2016 1 commit
-
-
Henry Weller authored
-
- 10 Jan, 2016 1 commit
-
-
Henry Weller authored
-
- 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
-
- 11 Nov, 2015 1 commit
-
-
Henry Weller authored
Avoids the clutter and maintenance effort associated with providing the function signature string.
-
- 26 May, 2015 1 commit
-
-
Henry authored
mapFields: Reinstated mapFields from OpenFOAM-2.2.x and renamed the current mapFields -> mapFieldsPar This required the addition of the meshToMesh class in the sampling library from OpenFOAM-2.2.x which is now named meshToMesh0.
-
- 14 Jan, 2014 1 commit
-
-
andy authored
-
- 09 Jan, 2013 1 commit
-
-
andy authored
-