Commit Graph

91 Commits

Author SHA1 Message Date
928a283a6a Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2008-12-02 15:37:11 +00:00
5722298f64 no local segments 2008-12-02 15:36:52 +00:00
b30a6faf2c Merge commit 'OpenCFD/master' into olesenm 2008-11-28 18:06:40 +01:00
ece5fc8924 distance at centre 2008-11-26 11:14:29 +00:00
41bbcb6337 DynamicList changes.
- 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
2008-11-24 17:22:37 +01:00
d6b247a3b1 added static data boundBox::greatBox and boundBox::invertedBox
- 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.
2008-11-22 11:15:20 +01:00
1c9102dada HashSet gets additional operators
- 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
2008-11-18 23:11:09 +01:00
345df1e970 Merge commit 'OpenCFD/master' into olesenm 2008-11-05 10:42:05 +01:00
0a8286b8ed inspired by MeshObject - added coordinateSystems::New selector 2008-10-29 15:00:50 +01:00
8ad016dd2c small normal tolerance. Fixed indexing error 2008-10-28 21:11:48 +00:00
6520f35f1e nearestToPoint 2008-10-28 21:07:05 +00:00
59821d6094 added optional notes to coordinate systems
porousZone constructor in the same order as sampling
2008-10-28 17:25:59 +01:00
20430a8586 Merge commit 'OpenCFD/master' into olesenm 2008-10-27 17:01:53 +01:00
619f7838e8 Merge branch 'master' of /home/hunt2/OpenFOAM/OpenFOAM-dev 2008-10-27 09:07:51 +00:00
88cd954540 triSurface/triSurfaceMesh adjustments
- typedefs to simplify code
 - added scalePoints() member
   * this is especially useful for the triSurfaceMesh dictionary constructor
     when we have surfaces in mm or inches and don't wish to rescale in some
     external program
2008-10-25 16:34:35 +02:00
c2dd9825fa Merge commit 'OpenCFD/master' into olesenm 2008-10-24 18:11:02 +02:00
ac00f974e6 drop ununsed nUsedFaces parameter from polyMesh::resetPrimitives(xfer<..)
- use xfer form for calls to resetPrimitives
2008-10-24 12:25:27 +02:00
536269a267 use new bounding box 2008-10-23 20:53:45 +01:00
651a64d609 force ascii writing of IOdictionary 2008-10-23 18:18:52 +01:00
805b45e88a dumping redistributed surfaces 2008-10-21 21:38:43 +01:00
99e8bf7516 volPointInterpolation, pointMesh now MeshObject 2008-10-21 15:02:04 +01:00
5640ed63c2 writing 2008-10-21 13:49:25 +01:00
42fbaffabf indexing errors 2008-10-15 11:24:02 +01:00
e81c5a29e3 annoying message 2008-09-26 10:33:25 +01:00
16fefa2f14 Merge branch 'master' of /home/hunt2/OpenFOAM/OpenFOAM-dev
Conflicts:

	src/OpenFOAM/containers/Lists/DynamicList/DynamicListI.H
2008-09-25 09:56:08 +01:00
7fe0ded9f8 changed to UPtrList 2008-09-24 11:28:30 +01:00
ae0581dfcb use dictionary::lookupOrDefault to simplify some code 2008-09-19 13:12:32 +02:00
958059fb58 dynamicList update 2008-09-17 11:59:50 +01:00
c4c0f54fc6 dynamicList change 2008-09-17 11:53:14 +01:00
e2f40769a8 Merge branch 'master' of /home/hunt2/OpenFOAM/OpenFOAM-dev 2008-09-16 21:22:14 +01:00
36fcd1cda6 binary read/write 2008-09-16 21:13:05 +01:00
e95b3a9312 Merge branch 'master' of ssh://hunt/home/hunt2/OpenFOAM/OpenFOAM-dev 2008-09-16 11:27:07 +01:00
571d39c321 further updates to mapping 2008-09-16 11:25:08 +01:00
ecf18da9d4 distributed surfaces 2008-09-15 12:20:51 +01:00
13e9ce0e95 contiguous data 2008-09-15 12:20:31 +01:00
e76a962441 distributed surfaces 2008-09-15 12:19:13 +01:00
f3d9fb59b0 tolerances 2008-09-15 12:18:04 +01:00
00e865c8d5 distributed surfaces 2008-09-15 12:17:19 +01:00
b77b0e5b39 new searchableSurfaces 2008-09-15 12:14:51 +01:00
f83fa73134 general update 2008-09-12 12:48:13 +01:00
e716b6e140 on-the-fly addressing 2008-09-10 12:51:16 +01:00
f8ee0ef2c8 unnecessary include 2008-09-09 17:14:12 +01:00
d056b6edc0 smaller extents 2008-09-09 17:13:45 +01:00
d9c203b959 extent also ensures 3Dness 2008-09-09 17:13:33 +01:00
0d1d3014c3 indexing fixes 2008-09-09 17:12:55 +01:00
40d72633ce unnecessary include 2008-09-09 17:12:31 +01:00
c70526aeb9 general mapping 2008-09-09 17:12:11 +01:00
ec1b7f7022 switch to indexedOctree 2008-09-09 12:36:47 +01:00
fb99c7b63e indentation 2008-09-04 21:48:34 +01:00
c2d3722bbd primitiveMesh instead of polyMesh 2008-09-04 21:48:05 +01:00