Commit Graph

1447 Commits

Author SHA1 Message Date
andy
10e8b73275 merge Mark's branch 2008-10-16 12:47:25 +01:00
mattijs
881718d21b temporarily disabling check for hanging points - not allowed during all phases of meshing 2008-10-16 12:32:55 +01:00
mattijs
0c00070155 disabling incorrect debug code 2008-10-16 12:32:13 +01:00
mattijs
242e53ed6e distributed regions 2008-10-16 12:31:59 +01:00
mattijs
bbe1952b08 extraneous parallel sync 2008-10-16 12:30:58 +01:00
mattijs
42fbaffabf indexing errors 2008-10-15 11:24:02 +01:00
mattijs
100f60654e two argument constructor 2008-10-15 11:23:50 +01:00
Mark Olesen
dffbda287c src/OpenFOAM/memory for holding all the memory management bits 2008-10-14 18:47:27 +02:00
mattijs
7c24deb529 missing include 2008-10-14 17:21:47 +01:00
mattijs
c334892d40 use point merge information 2008-10-14 17:21:24 +01:00
mattijs
2726b5775f topological point merging 2008-10-14 17:19:24 +01:00
mattijs
03f50a8b0a point merge check 2008-10-14 17:18:57 +01:00
mattijs
c782734200 extend, never shrink patch info 2008-10-14 17:18:33 +01:00
mattijs
4d7cd47341 use average when merging points to prevent truncation error 2008-10-14 17:05:52 +01:00
mattijs
43705d781b use average when merging points to prevent truncation error 2008-10-14 17:05:48 +01:00
mattijs
d8c44047bf point merging 2008-10-14 17:05:21 +01:00
Mark Olesen
e8843a35b5 foamToEnsightParts: add -noMesh option 2008-10-14 18:00:33 +02:00
Mark Olesen
58c6aa7b77 longstanding bug?? - changed odd read option in GeometricField::readOldTimeIfPresent 2008-10-14 16:13:40 +02:00
Mark Olesen
7e9846a524 IOobjects - consistency fixes
- consistent constructors and consistent behaviour with MUST_READ,
    READ_IF_PRESENT
2008-10-14 16:05:21 +02:00
Mark Olesen
56296e89c1 foamToEnsightParts: added -index option, streamlined IOobject usage, fixed typo 2008-10-14 15:29:30 +02:00
mattijs
c1cb8b6dbc setSize mis-usage 2008-10-13 17:28:20 +01:00
Mark Olesen
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
Mark Olesen
53671c5123 avoid setSize(s,t) in refinementHistory 2008-10-13 11:53:48 +02:00
mattijs
028b68800c Merge branch 'master' of /home/hunt2/OpenFOAM/OpenFOAM-dev 2008-10-13 09:42:03 +01:00
mattijs
54c2804419 missing include file 2008-10-13 09:34:46 +01:00
mattijs
cd41c7d07d allowing wildcards 2008-10-13 09:34:29 +01:00
mattijs
c49e93d4d4 unecessary shrink 2008-10-13 09:34:08 +01:00
mattijs
682c247e00 gcc 4.2.1 compiler warning 2008-10-13 09:33:36 +01:00
Mark Olesen
073569c070 minor consistency changes, docu cosmetics 2008-10-13 09:28:34 +02:00
Mark Olesen
103abb8ac2 Merge commit 'OpenCFD/master' into olesenm 2008-10-13 09:16:57 +02:00
Mark Olesen
f2877c8176 xfer: minor name adjustment 2008-10-13 06:45:46 +02:00
henry
fa4de24846 Added the new files. 2008-10-12 11:46:00 +01:00
henry
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
henry
7544110b0b Improved extendedStencil handling. 2008-10-12 11:44:29 +01:00
henry
4e2027c1f9 Added optional UEqn relaxation. 2008-10-12 11:43:35 +01:00
henry
8342283907 Added DDES and IDDES SGS models for incompressible LES. 2008-10-12 11:43:08 +01:00
henry
4e4f9e0a0a Added quadraticFit snGrad. 2008-10-12 11:42:20 +01:00
Mark Olesen
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
Mark Olesen
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
andy
68f6553404 Merge branch 'master' of ssh://hunt/home/hunt2/OpenFOAM/OpenFOAM-dev 2008-10-10 16:53:23 +01:00
andy
8293b56e17 consistency update 2008-10-10 16:52:10 +01:00
Mark Olesen
8aa36e10aa Merge commit 'bundle/olesenm' into home 2008-10-10 17:34:38 +02:00
andy
b8a5d2ef59 minor cosmetics change 2008-10-10 14:55:46 +01:00
Mark Olesen
03c27d2b60 eliminated label& List::size() completely 2008-10-10 14:52:23 +02:00
mattijs
c713c814e3 make output compatible with dictionary entries 2008-10-10 12:34:16 +01:00
Mark Olesen
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
Mark Olesen
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
Mark Olesen
a82aa515b5 docu cosmetics 2008-10-10 10:34:56 +02:00
Mark Olesen
8c23f5423c add xfer constructors to cell/face/point Zone and (Static)HashTable 2008-10-10 10:22:08 +02:00
Mark Olesen
56702ea99d xfer class improvements
- Allow xfer to assume control of a pointer
  - Added xferCopy macro
  - Doxygen
2008-10-10 10:11:57 +02:00