Commit Graph

1375 Commits

Author SHA1 Message Date
70a38319d6 added xfer::operator->() for easier de-referencing of underlying methods 2008-10-16 14:27:16 +02:00
dffbda287c src/OpenFOAM/memory for holding all the memory management bits 2008-10-14 18:47:27 +02:00
e8843a35b5 foamToEnsightParts: add -noMesh option 2008-10-14 18:00:33 +02:00
58c6aa7b77 longstanding bug?? - changed odd read option in GeometricField::readOldTimeIfPresent 2008-10-14 16:13:40 +02:00
7e9846a524 IOobjects - consistency fixes
- consistent constructors and consistent behaviour with MUST_READ,
    READ_IF_PRESENT
2008-10-14 16:05:21 +02:00
56296e89c1 foamToEnsightParts: added -index option, streamlined IOobject usage, fixed typo 2008-10-14 15:29:30 +02:00
2c6b136876 DynamicList changes
- setSize(const label)
    * When the new size is greater than the addressed list size, the allocated
      list sizes is adjusted and the addressed size does not change.
    * Otherwise the addressed list size is just reduced and the allocated
      size does not change. inline void setSize(const label);

  - setSize(const label, const T&)
    Disabled, since the usefulness and semantics are not quite clear

  - operator=(const T&)
    should not affect the allocated size (BUGFIX)
2008-10-13 11:54:19 +02:00
53671c5123 avoid setSize(s,t) in refinementHistory 2008-10-13 11:53:48 +02:00
073569c070 minor consistency changes, docu cosmetics 2008-10-13 09:28:34 +02:00
103abb8ac2 Merge commit 'OpenCFD/master' into olesenm 2008-10-13 09:16:57 +02:00
f2877c8176 xfer: minor name adjustment 2008-10-13 06:45:46 +02:00
fa4de24846 Added the new files. 2008-10-12 11:46:00 +01:00
08c51ae0be Added support for DDES and IDDES SGS models for incompressible LES in to the SA base class. 2008-10-12 11:45:41 +01:00
7544110b0b Improved extendedStencil handling. 2008-10-12 11:44:29 +01:00
4e2027c1f9 Added optional UEqn relaxation. 2008-10-12 11:43:35 +01:00
8342283907 Added DDES and IDDES SGS models for incompressible LES. 2008-10-12 11:43:08 +01:00
4e4f9e0a0a Added quadraticFit snGrad. 2008-10-12 11:42:20 +01:00
b770ddf357 DynamicList - consistent setSize() behaviour
- expansion of a list beyond the currently addressed list size
    changes both the allocated size and the addressed list size

  - contracting list below the currently addressed list size
    changes the addressed list size only.

  If someone really wishes to increase the underlying allocated list size
  without touching the addressed list size:

      prevSize = myList.size();
      myList.setSize(largerSize);
      myList.setSize(prevSize);

  or introduce an equivalent allocSize(const label) method if this is needed
2008-10-10 21:10:31 +02:00
b92ed1ec98 DynamicList - fixed setSize() semantics
setSize(const label)
  - When the new size is smaller than the addressed list size, the addressed
    list size is reduced and the allocated size does not change.
  - Otherwise the allocated size is adjusted, but the addressed list size
    does not change.

setSize(const label, const T&)
  - When the new size is larger than the addressed list size, both allocated
    and addressed list sizes are adjusted.

NOTE: it might be more consistent to have setSize(label) also adjust the
      addressed list size.  This also corresponds to what previous releases
      did, although I don't know if anyone has relied upon any particular
      behaviour
2008-10-10 20:58:16 +02:00
68f6553404 Merge branch 'master' of ssh://hunt/home/hunt2/OpenFOAM/OpenFOAM-dev 2008-10-10 16:53:23 +01:00
8293b56e17 consistency update 2008-10-10 16:52:10 +01:00
8aa36e10aa Merge commit 'bundle/olesenm' into home 2008-10-10 17:34:38 +02:00
b8a5d2ef59 minor cosmetics change 2008-10-10 14:55:46 +01:00
03c27d2b60 eliminated label& List::size() completely 2008-10-10 14:52:23 +02:00
8207cf0e47 more consistent behaviour for DynamicList::setSize()
- in most places this can now be used instead of label& List<T>::size(),
   and should also be much safer
2008-10-10 13:30:54 +02:00
8d63073b08 Add protected member List::size(const label) and removed some of the old
usage of the public 'label& List::size()'.

IMO this method is much too dangerous to leave public - the different
signature is needed to avoid confusing the compiler.
2008-10-10 10:20:18 +02:00
a82aa515b5 docu cosmetics 2008-10-10 10:34:56 +02:00
8c23f5423c add xfer constructors to cell/face/point Zone and (Static)HashTable 2008-10-10 10:22:08 +02:00
56702ea99d xfer class improvements
- Allow xfer to assume control of a pointer
  - Added xferCopy macro
  - Doxygen
2008-10-10 10:11:57 +02:00
26450bdc7e modified xfer class make transfer optional 2008-10-09 16:37:09 +02:00
4caaeaef14 added test/xfer with lists 2008-10-09 16:15:38 +02:00
7a77e7ad3e Merge commit 'OpenCFD/master' into olesenm 2008-10-09 16:13:41 +02:00
a60a620b80 updated xfer class 2008-10-09 16:12:55 +02:00
b4263cca93 Added more aggressive limiting of the quadratic correction. 2008-10-09 14:19:24 +01:00
f86db703c3 Merge branch 'master' of ssh://hunt/home/hunt2/OpenFOAM/OpenFOAM-dev 2008-10-09 14:18:23 +01:00
45422cda59 Changed the access to derived properties to ensure the old-time level values are stored if required. 2008-10-09 11:23:05 +01:00
7b5f45b459 ListLoop.s deleted 2008-10-09 11:21:16 +02:00
12bec33d04 translation vector on cyclicPolyPatch; adapted createPatch 2008-10-08 11:42:23 +01:00
3feae1f3f6 extraneous copy 2008-10-08 11:41:38 +01:00
9891d37172 parallel postChannel 2008-10-08 07:55:07 +01:00
ab5c014a69 tweaked tutorial run scripts, avoid some bashisms 2008-10-08 08:39:16 +02:00
0bbc8fd2c4 parallel checkMesh 2008-10-07 18:24:56 +01:00
69c567167d intel compiler messages 2008-10-07 18:02:50 +01:00
e70ba80286 Merge branch 'master' of /home/hunt2/OpenFOAM/OpenFOAM-dev 2008-10-07 13:10:21 +01:00
3c69749b47 intel compiler from Ayad 2008-10-07 13:10:16 +01:00
81f08283f4 Added momentum equation relaxation to allow forcing diagonal-dominance. 2008-10-07 10:07:43 +01:00
e9e2c1036f Merge branch 'master' of ssh://hunt/home/hunt2/OpenFOAM/OpenFOAM-dev 2008-10-07 08:29:51 +01:00
ea2b087db9 Upgraded to the new improved SVD weighting. 2008-10-07 08:28:55 +01:00
28696e51ab Use LIB_SRC instead of FOAM_SRC in Make/options files 2008-10-07 09:18:18 +02:00
b1360b7671 etc/settings.{csh,sh} - streamline
- avoid mkdir except for a few directories
  - grouped settings and added comments
  - minor bugfix: $FOAM_INST_DIR/linux64/bin was in path (pre OpenFOAM-1.5)
  - local (non-exported) variables in lowercase
2008-10-06 17:38:29 +02:00