Commit Graph

433 Commits

Author SHA1 Message Date
mattijs
bfb8d042fd split of decompositionAgglomeration 2009-04-02 13:29:28 +01:00
mattijs
96da5f0e5b sorted zones
modified:   ../applications/utilities/mesh/manipulation/setsToZones/setsToZones.C
	modified:   dynamicMesh/polyTopoChange/polyTopoChange/polyTopoChange.C
2009-03-26 12:07:56 +00:00
Mark Olesen
be8cbc1018 use timeSelector mechanism in a few more utilities 2009-03-23 16:57:26 +01:00
mattijs
0128b2be68 UIndirectList 2009-03-12 19:25:21 +00:00
mattijs
642dadf1f7 yaw pitch roll 2009-03-12 15:12:31 +00:00
mattijs
9ec530528f Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-10 12:50:34 +00:00
mattijs
00328814d9 disconnected cell check 2009-03-06 13:34:35 +00:00
Mark Olesen
507ad1e643 Merge commit 'OpenCFD/master' into olesenm 2009-02-25 10:50:26 +01:00
mattijs
c49b302aa3 added solutionD and geometricD 2009-02-24 19:20:55 +00:00
Mark Olesen
4b60453cf1 use while (runTime.loop() { .. } where possible in solvers
- change system/controlDict to use functions {..} instead of functions (..);
  * This is internally more efficient
- fixed formatting of system/controlDict functions entry

- pedantic change: use 'return 0' instead of 'return(0)' in the applications,
  since return is a C/C++ keyword, not a function.
2009-02-18 08:57:10 +01:00
Mark Olesen
c2256e51f3 change solvers, utilities, etc. to use while (..) time-looping idiom
- this (now deprecated) idiom:
      for (runTime++; !runTime.end(); runTime++) { ... }
  has a few problems:
    * stop-on-next-write will be off-by-one (ie, doesn't work)
    * function objects are not executed on exit with runTime.end()
  Fixing these problems is not really possible.

- this idiom
      while (runTime.run())
      {
          runTime++;
          ...
      }
  works without the above problems.
2009-02-17 08:47:42 +01:00
andy
ac084b840b Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-02-11 12:45:17 +00:00
andy
6a908364c2 added cylinderToCell and sphereToCell options 2009-02-09 11:59:31 +00:00
Mark Olesen
844211a940 Merge commit 'OpenCFD/master' into olesenm 2009-02-06 21:19:42 +01:00
mattijs
9b0bebec00 making overwrite work 2009-02-06 15:12:24 +00:00
Mark Olesen
ffd9bb08a8 OSspecific: altered file tests
- removed the previously added fileName type(), isDir(), isFile() methods.

- added optional bool parameter to isFile() function to explicitly
  enable/disable the check for gzip files.

- fixed minor bugginess where the default usage of isFile() would result in
  false positive matches.

- be slightly more stringent and use isDir() and isFile() instead of
  exists() function when we actually know the expected type.
2009-02-06 10:25:41 +01:00
mattijs
1ab7bdce12 new pointMesh allocation method 2009-01-28 16:05:32 +00:00
mattijs
bdb532e0f3 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-27 20:25:19 +00:00
mattijs
8abbcc08c1 added option for sloppily matching cell zones to regions 2009-01-27 20:18:35 +00:00
Mark Olesen
ce14f243c6 Removed handling of single-quoted strings. 2009-01-23 15:17:01 +01:00
Mark Olesen
42c04b8505 Merge commit 'OpenCFD/master' into olesenm 2009-01-23 12:51:45 +01:00
mattijs
45bfb91afb thisDb to get at objectRegistry 2009-01-23 08:46:54 +00:00
Mark Olesen
d9096c1e47 cosmetics 2009-01-20 17:14:53 +01:00
mattijs
3c426d3b2e wildcard usage 2009-01-16 17:14:24 +00:00
mattijs
782bd24fb1 unsynchronised looping 2009-01-14 12:24:42 +00:00
Mark Olesen
95dcb6ded7 Simplify checking of container (List/HashTable, strings) sizes
- 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
2009-01-10 20:28:06 +01:00
Mark Olesen
b85c9a7487 avoided some unneeded conversions of string::npos, minor cleanup of className
- string doesn't use any debug info, remove it
- restructured the macros to add in NoDebug macro versions to className,
  typeInfo.  Might be helpful with tackling the globals bootstrapping issue.
- HashTableName + StaticHashTableName - avoid lookup of debug switch when
  FULLDEBUG is not defined
2009-01-09 15:15:21 +01:00
Mark Olesen
cdd2266467 Merge commit 'OpenCFD/master' into olesenm
Conflicts:

	src/OpenFOAM/db/IOstreams/Pstreams/IPstream.C
	src/OpenFOAM/db/IOstreams/Pstreams/OPstream.C
2009-01-07 09:39:17 +01:00
mattijs
eb2e37b296 SiCortex port 2009-01-06 21:41:20 +00:00
Mark Olesen
19503c93e1 rename xfer<T> class to Xfer<T>
- 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.
2009-01-05 12:30:19 +01:00
Mark Olesen
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
Mark Olesen
dcc82bf77b boundingBox has mag() and span() methods - use them 2008-12-31 17:58:23 +01: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
mattijs
c731cfdca4 initial mattijsLib merge 2008-04-23 15:51:54 +01:00
OpenFOAM-admin
3170c7c0c9 Creation of OpenFOAM-dev repository 15/04/2008 2008-04-15 18:56:58 +01:00