- 24 Feb, 2009 1 commit
-
-
mattijs authored
-
- 13 Feb, 2009 1 commit
-
-
mattijs authored
-
- 06 Feb, 2009 1 commit
-
-
Mark Olesen authored
- OSspecific: chmod() -> chMod(), even although it's not used anywhere - ListOps get subset() and inplaceSubset() templated on BoolListType - added UList<bool>::operator[](..) const specialization. Returns false (actually pTraits<bool>::zero) for out-of-range elements. This lets us use List<bool> with lazy evaluation and no noticeable change in performance. - use rcIndex() and fcIndex() wherever possible. Could check if branching or modulus is faster for fcIndex(). - UList and FixedList get 'const T* cdata() const' and 'T* data()' members. Similar to the STL front() and std::string::data() methods, they return a pointer to the first element without needing to write '&myList[0]', recast begin() or violate const-ness.
-
- 05 Feb, 2009 1 commit
-
-
Mark Olesen authored
-
- 02 Feb, 2009 1 commit
-
-
Mark Olesen authored
-
- 29 Jan, 2009 2 commits
-
-
Mark Olesen authored
-
Mark Olesen authored
-
- 27 Jan, 2009 1 commit
-
-
Mark Olesen authored
- ditched PrimitivePatchExtra in favour of a PatchTools class that is currently just a collection of static functions. They could equally well live within PrimitivePatch itself, but isolated also has its advantages. - MeshedSurface, UnsortedMeshedSurface now have 'regions' instead of 'patches' since they are more like a faceZone for meshed surfaces than patches. This might avoid confusion at a later stage.
-
- 23 Jan, 2009 2 commits
- 21 Jan, 2009 2 commits
-
-
Mark Olesen authored
- new members: capacity(), two-argument resize()/setSize(), const storage() - new static members: max_value(), packing(), etc.
-
Mark Olesen authored
-
- 16 Jan, 2009 2 commits
-
-
Mark Olesen authored
- grammar in comments, namespace qualifiers, etc.
-
Mark Olesen authored
- uniform use of reinterpret_cast<foo*>(0) instead of reinterpret_cast<foo*>(NULL) - make all static null() members inline since they are really only a cast: "*reinterpret_cast<foo*>(0)"
-
- 10 Jan, 2009 2 commits
-
-
Mark Olesen authored
- can use 'XX.empty()' instead of 'XX.size() == 0', 'XX.size() < 1' or 'XX.size() <= 0' or for simpler coding. It also has the same number of characters as '!XX.size()' and /might/ be more readable - many size checking had 'XX.size() > 0', 'XX.size() != 0', or 'XX.size() >= 1' when a simple 'XX.size()' suffices
-
Mark Olesen authored
-
- 08 Jan, 2009 1 commit
-
-
henry authored
-
- 05 Jan, 2009 1 commit
-
-
Mark Olesen authored
- The capitalization is consistent with most other template classes, but more importantly frees up xfer() for use as method name without needing special treatment to avoid ambiguities. It seems reasonable to have different names for transfer(...) and xfer() methods, since the transfer is occuring in different directions. The xfer() method can thus replace the recently introduced zero-parameter transfer() methods. Other name candidates (eg, yield, release, etc.) were deemed too abstract.
-
- 01 Jan, 2009 1 commit
-
-
Mark Olesen authored
- added boundBox(const tmp<pointField>&) constructor for use with coordinate systems - moved some methods from treeBoundBox to boundBox and use VectorSpace ops
-
- 31 Dec, 2008 2 commits
-
-
Mark Olesen authored
-
Mark Olesen authored
-
- 12 Dec, 2008 3 commits
-
-
Mark Olesen authored
-
Mark Olesen authored
- if mandatory is true, findEtcFile() will abort with a message (via cerr). This allows a non-existent file to be caught at the lowest level and avoid error handling in IFstream, which might not be initialized at that stage.
-
Mark Olesen authored
-
- 10 Dec, 2008 1 commit
-
-
Mark Olesen authored
- moved findStrings from stringList to new stringListOps (helps reduce the influence on dependencies) - findStrings can also do partial matches
-
- 29 Nov, 2008 1 commit
-
-
Mark Olesen authored
- using SizeInc to define the granularity in the SizeMult=0 needed?
-
- 24 Nov, 2008 1 commit
-
-
Mark Olesen authored
- setSize() adjusts the addressable length only. Changed setSize(label) usage to setCapacity(label) or reserve(label) throughout. The final name (capacity vs. storageSize() vs. whatever) can easily be decided at a later date. - added setSize(label, const T&), which may still not be really useful, but is at least now meaningful - made shrink() a bit more legible. - added append(UList<T>&) - copying from a UList avoids reallocations where possible The following bits of code continue to use the DynamicList::setSize(), but appear to be legitimate (or the corresponding code itself needs rethinking). src/OpenFOAM/meshes/primitiveMesh/primitiveMeshPointCells.C:167: error: within this context src/OpenFOAM/lnInclude/faceTemplates.C:44: error: within this context src/surfMesh/surfaceFormats/tri/TRIsurfaceFormatCore.C:178: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:737: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:741: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:745: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:749: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:754: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:935: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:940: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:1041: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:1046: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2161: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2162: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2201: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2205: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2261: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2262: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2263: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2264: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:2265: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3011: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3076: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3244: error: within this context src/dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C:3371: error: within this context src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:73: error: within this context src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:91: error: within this context src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:73: error: within this context src/dynamicMesh/meshCut/cellLooper/topoCellLooper.C:91: error: within this context
-
- 22 Nov, 2008 2 commits
-
-
Mark Olesen authored
- plain nTriangles() inline method for face class - triFace gets the same for symmetry - face::triangles(), face::trianglesQuads() return the number of faces generated - face::triangles() can append to a DynamicList
-
Mark Olesen authored
- boundBox::invertedBox is useful for initializing our own calculations - NOTE treeBoundBox::greatBox is still in place, since it uses GREAT instead of VGREAT. If this is only historical, we can drop it.
-
- 21 Nov, 2008 1 commit
-
-
Mark Olesen authored
-
- 20 Nov, 2008 1 commit
-
-
henry authored
-
- 18 Nov, 2008 1 commit
-
-
Mark Olesen authored
- operator+= : add in the listed keys - operator-= : remove the listed keys - operator&= : intersection of keys - added xfer constructor (just in case) - moved labelHashSet typedef to HashSet.H, for consistency with the wordHashSet typedef being there and since it is used so often
-
- 17 Nov, 2008 1 commit
-
-
Mark Olesen authored
-
- 15 Nov, 2008 1 commit
-
-
Mark Olesen authored
-
- 07 Nov, 2008 2 commits
-
-
Mark Olesen authored
-
Mark Olesen authored
-
- 31 Oct, 2008 1 commit
-
-
mattijs authored
-
- 27 Oct, 2008 1 commit
-
-
mattijs authored
-
- 24 Oct, 2008 2 commits
-
-
Mark Olesen authored
- drop copy components constructors in favour of the xfer versions. Even if the caller sends through constant data, if will be automatically promoted to xfer (via a copy operation).
-
Mark Olesen authored
-