Commit Graph

1593 Commits

Author SHA1 Message Date
bbe1952b08 extraneous parallel sync 2008-10-16 12:30:58 +01:00
42fbaffabf indexing errors 2008-10-15 11:24:02 +01:00
100f60654e two argument constructor 2008-10-15 11:23:50 +01:00
dffbda287c src/OpenFOAM/memory for holding all the memory management bits 2008-10-14 18:47:27 +02:00
7c24deb529 missing include 2008-10-14 17:21:47 +01:00
c334892d40 use point merge information 2008-10-14 17:21:24 +01:00
2726b5775f topological point merging 2008-10-14 17:19:24 +01:00
03f50a8b0a point merge check 2008-10-14 17:18:57 +01:00
c782734200 extend, never shrink patch info 2008-10-14 17:18:33 +01:00
4d7cd47341 use average when merging points to prevent truncation error 2008-10-14 17:05:52 +01:00
43705d781b use average when merging points to prevent truncation error 2008-10-14 17:05:48 +01:00
d8c44047bf point merging 2008-10-14 17:05:21 +01: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
c1cb8b6dbc setSize mis-usage 2008-10-13 17:28:20 +01: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
028b68800c Merge branch 'master' of /home/hunt2/OpenFOAM/OpenFOAM-dev 2008-10-13 09:42:03 +01:00
54c2804419 missing include file 2008-10-13 09:34:46 +01:00
cd41c7d07d allowing wildcards 2008-10-13 09:34:29 +01:00
c49e93d4d4 unecessary shrink 2008-10-13 09:34:08 +01:00
682c247e00 gcc 4.2.1 compiler warning 2008-10-13 09:33:36 +01: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
c713c814e3 make output compatible with dictionary entries 2008-10-10 12:34:16 +01: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