Commit Graph

2314 Commits

Author SHA1 Message Date
mattijs
5afc0db5a8 Solaris port 2009-02-02 12:23:41 +00:00
andy
d1854c4559 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-30 16:41:33 +00:00
andy
534d06054e corrected initialisation of sub-grid scale fields - compressible 2009-01-30 16:37:03 +00:00
Mark Olesen
91e12bc50f Merge commit 'OpenCFD/master' into olesenm 2009-01-30 17:21:12 +01:00
andy
6c278d6fea corrected initialisation of sub-grid scale fields 2009-01-30 16:18:38 +00:00
mattijs
c2e810b04f Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-30 16:10:55 +00:00
henry
6c36054c43 Added new centred and upwinded polynomial-fit schemes. 2009-01-30 15:05:33 +00:00
henry
e99857f4be Corrected fv2 for consistency with the choice of fv3. 2009-01-30 15:03:33 +00:00
henry
60dba3fba4 Improved the test for the pow-of-2 constraint from Mark's recommendation. 2009-01-30 15:02:00 +00:00
mattijs
206caf4ccb Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-30 14:45:10 +00:00
mattijs
1393cc04c3 missing template specialisation 2009-01-30 14:44:59 +00:00
mattijs
5ec940465b missing link libraries 2009-01-30 14:44:44 +00:00
Mark Olesen
fe6a83a3a8 moved fileName::IOobjectComponents -> IOobject::fileNameComponents 2009-01-30 09:06:47 +01:00
Mark Olesen
1f6733d91d PackedList - activated lazy evaluation
- moving back to original flat addressing in iterators means there is no
  performance issue with using lazy evaluation
- set() method now has ~0 for a default value.
  We can thus simply write 'set(i) to trun on all of the bits.
  This means we can use it just like labelHashSet::set(i)
- added flip() method for inverting bits. I don't know where we might need
  it, but the STL has it so we might as well too.
2009-01-30 00:07:53 +01:00
andy
9b9bef99e7 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-29 15:02:40 +00:00
Mark Olesen
f0f677e3d6 Merge commit 'OpenCFD/master' into olesenm 2009-01-29 14:57:08 +01:00
Mark Olesen
55d4fb2ec2 PackedList with unsigned template parameter 2009-01-29 14:51:51 +01:00
andy
f7040f7cc1 using DpDt and adding run-time modifiable timestep support 2009-01-29 13:41:08 +00:00
mattijs
bdb4349ebd zonal postprocessing 2009-01-29 13:26:46 +00:00
Mark Olesen
6ac84bf1ef Merge commit 'OpenCFD/master' into olesenm 2009-01-29 14:08:33 +01:00
Mark Olesen
4e56643efe PackedList improvements
- dropped auto-vivification for now (performance issue), but reworked to
  allow easy reinstatement
- derived both iterator and const_iterator from iteratorBase and use
  iteratorBase as our proxy for non-const access to the list elements.
  This allows properly chaining assignments:
     list[1] = list[2];
     list[1] = list[2] = 10;
- assigning iterators from iteratorBase or other iterators works:
     iterator iter = list[20];
- made template parameter nBits=1 the default
2009-01-29 14:03:53 +01:00
Mark Olesen
69f8c3b3a1 relocated PrimitivePatchTools -> PatchTools 2009-01-29 08:10:02 +01:00
mattijs
fe6d908e59 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-28 16:05:36 +00:00
mattijs
1ab7bdce12 new pointMesh allocation method 2009-01-28 16:05:32 +00:00
andy
0f3c91ce0a Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-28 15:55:28 +00:00
andy
5e20eeb0e9 bugfix:
- convertPointField caused a seg-fault if the internal field was null
      - attempted to name the vtk object the name of the null field

+ minor clean-up
2009-01-28 15:54:42 +00:00
Mark Olesen
7c739978b1 PackedList gets count() and trim() methods
- the bit counting is relatively fast:
  under 0.2 seconds for 1M bits counted 1000 times

- trim()'ing the final zero elements tested for a few cases,
  but might need more attention
2009-01-28 16:32:47 +01:00
andy
d0e99ff347 Adding new buoyantBoussinesqSimpleFoam
- incompressible, Boussinesq variant of buoyantSimpleFoam
    - requires new fixedFluxBoussinesqBuoyantPressure bc on pd at walls
      to balance the flux generated by the temperature gradient
2009-01-28 15:11:43 +00:00
mattijs
908e8fd36f allow hangling facezone faces 2009-01-28 13:55:41 +00:00
mattijs
87f86815f0 Switch reading 2009-01-28 13:55:20 +00:00
Mark Olesen
22df173acb Merge commit 'OpenCFD/master' into olesenm 2009-01-27 23:13:37 +01:00
Mark Olesen
c39f2a1aa4 Switch: fixed (really) stupid typo 2009-01-27 23:13:01 +01:00
Mark Olesen
ffdb280a27 reworked surfMesh and PrimitivePatchExtra
- ditched PrimitivePatchExtra in favour of a PatchTools class that is
  currently just a collection of static functions. They could equally well
  live within PrimitivePatch itself, but isolated also has its advantages.

- MeshedSurface, UnsortedMeshedSurface now have 'regions' instead of
  'patches' since they are more like a faceZone for meshed surfaces than
  patches. This might avoid confusion at a later stage.
2009-01-27 23:03:21 +01:00
Mark Olesen
c6e9b323f5 added HashSet::operator[]() const
- can use the same syntax for boolList, PackedBoolList and labelHashSet
    if (myHashedSet[x]) ...
    if (myBoolList[x]) ...
    if (myPackedList[x]) ...
2009-01-27 21:55:03 +01:00
mattijs
bdb532e0f3 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-01-27 20:25:19 +00:00
mattijs
0bab1aa068 face surface data consistent with cell 2009-01-27 20:25:05 +00:00
mattijs
326a2e501d face surface data consistent with cell 2009-01-27 20:19:07 +00:00
mattijs
8abbcc08c1 added option for sloppily matching cell zones to regions 2009-01-27 20:18:35 +00:00
Mark Olesen
c048dd88c7 use new IOobject constructor: blockMesh, surfaceCoordinateSystemTransform(beta) 2009-01-27 15:12:19 +01:00
Mark Olesen
defe13e205 fileName gets additional convenience methods
- exists() = forward to OSspecific exists(...)
- isDir()  = forward to OSspecific dir(...)
- isFile() = forward to OSspecific file(...)
- IOobjectComponents() - split into instance, local, name following rules
  set out for IOobject.

- added IOobject(path, registry, ...) constructor that uses
  fileName::IOobjectComponents(). This hides the complexity we otherwise need.
2009-01-27 13:28:45 +01:00
henry
1a1a919c70 Minor format change. 2009-01-26 13:27:03 +00:00
henry
038c199051 Corrected the implementation of the spectral function. 2009-01-26 13:26:42 +00:00
henry
1d46bf6fb0 Corrected the handling of no transformation. 2009-01-26 13:26:07 +00:00
Mark Olesen
295d503d83 PackedList tweaks
- set() handles overflow as max_value() - the principle of least surprise.
- use pointers in iterator to avoid any assignment issues. Allows default
  bitwise copy/assignment.
2009-01-26 10:16:37 +01:00
Mark Olesen
94dc33da2e Merge commit 'bundle/home' into olesenm 2009-01-26 08:28:15 +01:00
Mark Olesen
84ec272d23 PackedList changes
- added Mattijs' speed tests
- optimized resize() and assignment operators to avoid set() method
- add const_iterator and re-did the proxy handling.

Reading/writing by looping across iterators is still somewhat slow, but
might be acceptable.
2009-01-26 00:33:28 +01:00
mattijs
a922f81999 one-off warning for unsorted boundaries 2009-01-23 17:57:30 +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
Mark Olesen
f86636edd1 Merge commit 'OpenCFD/master' into olesenm 2009-01-23 10:24:02 +01:00