- Nov 24, 2008
-
-
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
-
Mark Olesen authored
-
Mark Olesen authored
-
- Nov 23, 2008
-
-
henry authored
-
henry authored
-
Mark Olesen authored
-
henry authored
(transient solvers) and corrected paths to the new location of the turbulence models.
-
Mark Olesen authored
- cuttingPlane and sampledPatch now use PrimitiveMeshedSurface for their storage. - cuttingPlane always triangulates since the cut faces tend to look quite horrible anyhow. - moved triangulation request out of sampledSurface to the inherited classes. It might disappear anyhow.
-
henry authored
-
henry authored
This allows the constructions of applications which are independent of the particular type of turbulence modelling.
-
- Nov 22, 2008
-
-
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
-
- Nov 23, 2008
-
-
Mark Olesen authored
* DynamicList::allocSize(label) - Adjust the allocated size. The addressed list can be truncated but not extended, use setSize() for that. * DynamicList::reserve(label) - Reserve allocation for *at least* this number of elements. Never shrinks the allocated size, nor touches the addressed list size. * DynamicList::setSize(label) - proposed behaviour: Adjust the addressed list size, allocating extra space if required. - The current behaviour is ambiguous about what addressable size will actually get set and using it to extend the addressable size (as per List) automatically shrinks the allocated space to this size!
-
- Nov 22, 2008
-
-
Mark Olesen authored
- expose faceMap info in triangulate() - for use in inherited classes - surfMesh::triangulate() works with or without underlying pointField - onePatch tries to be more intelligent about retaining the patch name
-
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.
-
- Nov 21, 2008
-
-
Mark Olesen authored
-
Mark Olesen authored
-
Mark Olesen authored
- added -rm | -remove option - added -rmdir option
-
Mark Olesen authored
- added -rm | -remove option - added -rmdir option
-
Mark Olesen authored
-
Mark Olesen authored
-
Mark Olesen authored
- all formats except ftr and gts are now read as MeshedSurface (thus sorted immediately). Avoid unnecessary sorting during construction though. - moved cleanup routines completely into PrimitiveMeshedSurface
-
- Nov 20, 2008
-
-
henry authored
-
henry authored
-
Mark Olesen authored
-
henry authored
-
ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-devhenry authored
Conflicts: src/turbulenceModels/Allwmake Conflicts: src/turbulenceModels/Allwmake Conflicts: src/turbulenceModels/Allwmake Conflicts: src/turbulenceModels/Allwmake
-
henry authored
-
henry authored
-
henry authored
-
Mark Olesen authored
- optimized stl reading to skip sort if possible
-
- Nov 19, 2008
-
-
Mark Olesen authored
-
Mark Olesen authored
-
Mark Olesen authored
- use new HashSet capabilities and sortedOrder function - make STL format a MeshedSurface instead of an UnsortedMeshedSurface for better (MeshedSurface) reader efficiency
-
henry authored
-
Mark Olesen authored
-
Mark Olesen authored
- added global operator|, operator& and operator^ - can construct from table of contents of another HashTable
-
Mark Olesen authored
-
Mark Olesen authored
- now works as expected with transfer() and assignment from other Lists - shrink() method : clears indices and returns underlying List
-
Mark Olesen authored
- changed template<class List> to template<class ListType> for better distinction between List as class and as template type
-
Mark Olesen authored
-