Commit Graph

52 Commits

Author SHA1 Message Date
mattijs
eb2e37b296 SiCortex port 2009-01-06 21:41:20 +00:00
Mark Olesen
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
Mark Olesen
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
Mark Olesen
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
Mark Olesen
345df1e970 Merge commit 'OpenCFD/master' into olesenm 2008-11-05 10:42:05 +01:00
Mark Olesen
5d0b3348c5 can call Allwmake scripts directly instead of with ( cd foo && ./Allwmake ) 2008-11-05 10:39:06 +01:00
mattijs
3403802282 region option 2008-10-28 21:07:59 +00:00
mattijs
b5ee8b6dc1 detect only option 2008-10-28 21:07:37 +00:00
Mark Olesen
9a4de95354 made xfer constructors explicit, with trickle down to polyMesh/fvMesh calls 2008-10-27 13:14:07 +01:00
Mark Olesen
c2dd9825fa Merge commit 'OpenCFD/master' into olesenm 2008-10-24 18:11:02 +02:00
Mark Olesen
ac00f974e6 drop ununsed nUsedFaces parameter from polyMesh::resetPrimitives(xfer<..)
- use xfer form for calls to resetPrimitives
2008-10-24 12:25:27 +02:00
mattijs
3c2f9b3337 comment 2008-10-23 13:41:13 +01:00
mattijs
c5998b7045 improved matching 2008-10-23 12:54:19 +01:00
mattijs
99e8bf7516 volPointInterpolation, pointMesh now MeshObject 2008-10-21 15:02:04 +01:00
mattijs
d6bad4c556 new dictionary feature 2008-10-09 09:45:31 +01:00
mattijs
12bec33d04 translation vector on cyclicPolyPatch; adapted createPatch 2008-10-08 11:42:23 +01:00
mattijs
3feae1f3f6 extraneous copy 2008-10-08 11:41:38 +01:00
mattijs
0bbc8fd2c4 parallel checkMesh 2008-10-07 18:24:56 +01:00
mattijs
0dc639e90a switch off functionObjects 2008-09-28 19:27:04 +01:00
Mark Olesen
f73739c79e modified remaining Allwmake scripts to run from anywhere 2008-09-19 14:47:06 +02:00
mattijs
d8638da06f set number of patches before changing faces 2008-07-29 11:50:18 +01:00
mattijs
d3ccd23b42 boundary face handling 2008-07-28 16:27:17 +01:00
mattijs
537f11310f baffle splitting in parallel 2008-07-18 12:59:26 +01:00
mattijs
46b102bd8f Merge branch 'master' of /home/noisy2/OpenFOAM/OpenFOAM-dev 2008-07-15 22:11:10 +01:00
mattijs
8e3d196ec8 logic 2008-07-15 22:06:26 +01:00
Mark Olesen
5e5b26edd5 update dictionary headers and FoamFile entry to 1.5 format 2008-07-14 14:50:35 +02:00
Mark Olesen
ff2040f26f fixup copyright dates 2008-07-14 14:49:20 +02:00
mattijs
b7be6bce24 updated 2008-07-14 11:34:47 +01:00
mattijs
46c6422976 corrected logic 2008-07-01 18:17:07 +01:00
Mark Olesen
69bcc1baad Merge commit 'OpenCFD/master' into olesenm 2008-06-26 14:08:49 +02:00
andy
47673b653f added overwrite flag 2008-06-26 12:24:18 +01:00
Mark Olesen
02cabc3cf2 updated Copyright (C) \d+-2008 OpenCFD Ltd. 2008-06-25 15:01:46 +02:00
Mark Olesen
2c2be499a9 Merge commit 'origin/master' into olesenm 2008-06-23 14:22:37 +02:00
Mark Olesen
eb69b16d3e removed old (junk) files
* should gzstream move to ThirdParty?
2008-06-23 14:19:31 +02:00
andy
82fdeb2736 bug fix - previously exited after first command as error flag was used instead of ok flag in main while loop 2008-06-23 11:44:24 +01:00
henry
54df3819a8 Removed trailing '\' 2008-06-18 15:10:24 +01:00
henry
5b4983c759 Moved setSet into manipulation 2008-06-18 12:53:03 +01:00
henry
47996ef186 Removed all warnings from gcc-4.3.0 except those from
NamedEnum (bug in compiler?)
molecule (Graham dealing with it)
lex (no comment)
VTK (again no comment)
2008-06-11 15:55:07 +01:00
mattijs
e5ff607998 overwrite zones if already existing 2008-06-06 17:29:36 +01:00
andy
168c7e1ca9 removing FoamX 2008-06-04 13:40:02 +01:00
mattijs
8827ab2df1 moved metis into src/other; moved decomposition libraries into src/ 2008-05-23 12:08:42 +01:00
mattijs
ffa939952c subsetting point fields 2008-05-23 11:06:43 +01:00
mattijs
ef1dd516e2 Merge branch 'master' of /home/noisy2/OpenFOAM/OpenFOAM-dev/ 2008-05-16 14:05:01 +01:00
mattijs
4b5809ea7b Printing of bounding box of patches 2008-05-16 14:00:22 +01:00
Henry Weller
00dc73fad7 Corrected READLINE flag testing 2008-05-16 12:31:49 +01:00
mattijs
258e4b9710 Initial size determination 2008-05-12 17:47:03 +01:00
mattijs
c1dc097c56 Cells in multiple cellZones not flagged. 2008-05-12 17:01:31 +01:00
mattijs
e1938c7a0c Edge alignment check for 2D cases 2008-05-08 23:42:20 +01:00
mattijs
c3474e528e debug printing in autoHexMesh; missing entry in createPatchDict 2008-05-01 22:24:52 +01:00
mattijs
f53f614c43 Initial autoMesh merge 2008-04-24 13:16:10 +01:00