Commit Graph

2273 Commits

Author SHA1 Message Date
e011328d99 Merge commit 'OpenCFD/master' into olesenm 2009-03-12 10:39:22 +01:00
471d45f39f Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-11 16:49:56 +00:00
73b153f302 Updates and extensions to the MRF and SRF handling. 2009-03-11 16:49:46 +00:00
77a80dd5e7 iso surfaces on coupled patches 2009-03-10 22:04:25 +00:00
d6087d356f regions without faces 2009-03-10 20:24:38 +00:00
31dd5faf7d sliced fields as unallocated copies 2009-03-10 13:53:36 +00:00
0b4d8e5892 signed unsigned comparison 2009-03-10 13:53:09 +00:00
9ec530528f Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-10 12:50:34 +00:00
a1db98fae7 dependency checking 2009-03-10 12:50:21 +00:00
34da731896 sampledSurface hacking proof-of-concept
- using 'nil' type to write geometry only, in the future we could fallback to 'null'
  writer and hook in arbitrary formats from surfMesh

- IOobject gets writeEndDivider() static method
2009-03-10 13:12:00 +01:00
ea736dd82b breaking infinite loop for bad decompositions 2009-03-10 09:42:29 +00:00
ce3d79de1c surfMesh changes
- can read MeshedSurface, UnsortedMeshedSurface from surfMesh/
- can write surfMesh in any third-party format
2009-03-10 01:37:06 +01:00
23a579774a Better tag generation. 2009-03-09 19:51:44 +00:00
95d134f4ed Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-09 19:51:01 +00:00
26161164bb Corrected the filtering of the processor patches.
See http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/11559
2009-03-09 19:50:42 +00:00
8e57ed53f6 Merge commit 'bundle/olesenm' into home 2009-03-09 20:32:24 +01:00
b386f4e5e2 Switch: make operator= pass-thru value 2009-03-09 16:35:45 +01:00
6ecdf4fc41 updated DebugSwitches, surfaceWriter
- added obj surfaceWriter
- don't bother with prepended field names on obj and stl surfaceWriter.
  It fills the disk and suggests differences where there are none.
2009-03-09 15:37:54 +01:00
6309810e2e surfMesh reworked
- treat 'ofs' IO just like any other format
- dropped BasicMeshedSurface, since MeshedSurface can now also have zero or
  more zones
- UnsortedMeshedSurface is a special type of MeshedSurface with zero zones,
  but with additional zoneId labels
- use MeshedSurfaceProxy for writing surfaces with points/faces/zones and
  optional faceMap - provides output interface for MeshedSurface,
  UnsortedMeshedSurface and surfMesh.
- simplify output to filenames only, I can't see that the Ostream
  is needed anywhere
- surfMesh renaming now works, after the objectRegistry fix
2009-03-08 00:59:33 +01:00
b968e62ef9 objectRegistry fixes
- objectRegistry gets a rename() that also adjusts the dbDir
- cloud reworked to use static variables subInstance and defaultName.
  This avoids writing "lagrangian" everywhere

string fixes
- avoid masking of std::string::replace in string.H
- avoid old strstream in PV3FoamReader
2009-03-06 15:18:00 +01:00
e26ca2defb readUpdate corrected for new mesh data 2009-03-06 13:35:25 +00:00
e1c28506b7 scaling logic 2009-03-06 13:35:05 +00:00
00328814d9 disconnected cell check 2009-03-06 13:34:35 +00:00
11d9c0f279 rename snappy parameter 2009-03-05 17:01:31 +00:00
7e69b33586 include file 2009-03-05 17:01:16 +00:00
50df688455 demand driven volPointInterpolation 2009-03-05 14:01:23 +00:00
aa7be71de3 problem cell deletion 2009-03-05 13:11:28 +00:00
9ce984d1dc added edge/triFace to the hashing tests 2009-03-05 12:39:22 +01:00
7544164d53 regIOobject, Hasher, IOobject tweak
- regIOobject: don't re-register an unregister object on rename/assignment
- Hasher: split-off HasherInt with uint32_t specializations
- IOobject: writeBanner/writeDivider return Stream for easier chaining.

... also dropped some namespace bracketing while I was at it.
2009-03-05 12:06:57 +01:00
0cfce1a7ab Merge commit 'OpenCFD/master' into olesenm 2009-03-05 11:00:34 +01:00
a5b60b171f Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2009-03-04 15:27:00 +00:00
9611853659 FixedList: added missing #include "contiguous.H" 2009-03-04 15:03:15 +01:00
47bd172682 pushed too soon before fixing typo on wmakeLnInclude 2009-03-04 14:31:37 +01:00
70f1bad088 mesh.C on cyclics 2009-03-04 12:35:15 +00:00
8de54d3ba7 error message 2009-03-04 12:35:01 +00:00
f411ac6884 patchnames on uncached meshes 2009-03-04 12:34:53 +00:00
db8febe9f9 wmakeLnInclude -f now also changes the default linking to 'ln -sf'
- this seems to be the most sensible solution.
  The changed time stamps on the links doesn't seem to bother make at all.
2009-03-04 13:14:11 +01:00
1a2bcf7d84 Merge commit 'OpenCFD/master' into olesenm 2009-03-04 12:20:51 +01:00
9b8de83ab4 HashTable minor/cosmetic changes 2009-03-04 12:15:01 +01:00
17548296be Switched from old hashing functions to use Bob Jenkins' hash routine
- If the underlying type is contiguous, FixedList hashes its storage directly.
- Drop labelPairHash (non-commutative) from fvMeshDistribute since
  FixedList::Hash does the right thing anyhow.
- Hash<edge> specialization is commutative, without multiplication.
- Hash<triFace> specialization kept multiplication (but now uLabel).
  There's not much point optimizing it, since it's not used much anyhow.

Misc. changes

- added StaticAssert to NamedEnum.H
- label.H / uLabel.H : define FOAM_LABEL_MAX, FOAM_ULABEL_MAX with the
  values finally used for the storage.  These can be useful for pre-processor
  checks elsewhere (although I stopped needing them in the meantime).
2009-03-04 10:50:14 +01:00
7e735715a4 more flexible mrfzones
modified:   finiteVolume/cfdTools/general/MRF/MRFZone.C
modified:   finiteVolume/cfdTools/general/MRF/MRFZone.H
	modified:   ../tutorials/incompressible/MRFSimpleFoam/mixerVessel2D/constant/MRFZones
2009-03-03 17:09:01 +00:00
44a86232af Added Jenkin's hash functions in C++ form
- not much speed difference between SuperFastHash and Jenkin's lookup3 but
  both are 5-10% faster than what is currently implemented in Foam::string,
  albeit inlining probably helps there.

- TODO: integration with existing infrastructure
2009-03-02 19:57:17 +01:00
b037b0e98d All tags files are now in the .tags directory; ignore it. 2009-03-01 20:39:40 +00:00
f94fd4eb91 Minor format change. 2009-03-01 20:35:19 +00:00
c92fc95a04 Added forward declarations of IO operators, see:
http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/10948
2009-03-01 20:33:41 +00:00
9446fecf49 Corrected dimension handling in pow functions. 2009-03-01 20:32:41 +00:00
35eac2b9a3 Better tagging support. 2009-03-01 20:31:47 +00:00
f83e4cbd98 reorganized locations of some primitives 2009-02-27 17:46:43 +01:00
106d417de0 StaticAssert added
- catch people using silly template sizes for FixedList, PackedList
2009-02-27 16:41:51 +01:00
0f7b03e69f operator== on result of operator[] behaves weird 2009-02-27 15:41:09 +00:00