Commit Graph

66 Commits

Author SHA1 Message Date
3d126aca51 Merge commit 'OpenCFD/master' into olesenm 2009-02-11 10:37:22 +01:00
7bc85824aa typos 2009-02-10 16:49:03 +00:00
f29b065ea7 cyclics handling 2009-02-09 15:58:41 +00:00
ffd9bb08a8 OSspecific: altered file tests
- removed the previously added fileName type(), isDir(), isFile() methods.

- added optional bool parameter to isFile() function to explicitly
  enable/disable the check for gzip files.

- fixed minor bugginess where the default usage of isFile() would result in
  false positive matches.

- be slightly more stringent and use isDir() and isFile() instead of
  exists() function when we actually know the expected type.
2009-02-06 10:25:41 +01:00
8fa4620e0a cutting plane 2009-02-02 12:24:32 +00:00
bdb4349ebd zonal postprocessing 2009-01-29 13:26:46 +00:00
42c04b8505 Merge commit 'OpenCFD/master' into olesenm 2009-01-23 12:51:45 +01:00
5140b7c577 renamed directory 2009-01-22 17:07:49 +00:00
6d57bb4e7b added PackedBoolList typedef (used everywhere) and improved PackedList
- new members:  capacity(), two-argument resize()/setSize(), const storage()
- new static members: max_value(), packing(), etc.
2009-01-21 11:30:10 +01:00
db88110676 signed distance surface error 2009-01-17 13:59:12 +00:00
95dcb6ded7 Simplify checking of container (List/HashTable, strings) sizes
- can use 'XX.empty()' instead of 'XX.size() == 0', 'XX.size() < 1' or
  'XX.size() <= 0' or for simpler coding.
  It also has the same number of characters as '!XX.size()' and /might/ be
  more readable

- many size checking had 'XX.size() > 0', 'XX.size() != 0', or 'XX.size() >= 1'
  when a simple 'XX.size()' suffices
2009-01-10 20:28:06 +01:00
16aaf5b54e autoPtr gets "empty()" method that can be used instead of "! ...valid()" 2009-01-10 10:38:53 +01:00
92c88521c4 bugfix Pstream::master used as a bool 2009-01-09 09:32:33 +01:00
cdd2266467 Merge commit 'OpenCFD/master' into olesenm
Conflicts:

	src/OpenFOAM/db/IOstreams/Pstreams/IPstream.C
	src/OpenFOAM/db/IOstreams/Pstreams/OPstream.C
2009-01-07 09:39:17 +01:00
973b9ea0ce boundBox, octree cleanup
- added boundBox(const tmp<pointField>&) constructor for use with
    coordinate systems
  - moved some methods from treeBoundBox to boundBox and use VectorSpace ops
2009-01-01 17:03:19 +01:00
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
48af574040 new management for sampledSurface(s)
//- Does the surface need an update?
        virtual bool needsUpdate() const = 0;

        //- Mark the surface as needing an update.
        //  May also free up unneeded data.
        //  Return false if surface was already marked as expired.
        virtual bool expire() = 0;

        //- Update the surface as required.
        //  Do nothing (and return false) if no update was required
        virtual bool update() = 0;

    The constructors for the derived classes should generally start in a
    'expired' condition (ie, needsUpdate() == true) and rely on a subsequent
    call to the update() method to complete the initialization. Delaying the
    final construction as late as possible allows the construction of
    surfaces that may depend on intermediate calculation results (eg,
    iso-surfaces) and also avoids the unnecessary reconstruction of surfaces
    between sampling intervals.

    It is the responsibility of the caller to ensure that the surface
    update() is called before the surface is used.  The update() method
    implementation should do nothing when the surface is already up-to-date.
2008-12-31 18:53:57 +01:00
7f168dc93c cuttingPlane constructor with plane/mesh instead of mesh/plane 2008-12-31 15:17:18 +01:00
bf92e869a9 Changed the IOOutputFilter constructor to accept a "name" argument. For details see the changes proposed by Vincent Tang:
http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/10405
2008-12-30 21:18:04 +00:00
7106f490bf Applied patch
http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/10427
2008-12-24 10:23:55 +00:00
c65a40d57d don't need shrink before List::transfer(DynamicList&) anymore 2008-12-12 14:20:56 +01:00
8f48c008d7 parallel fix 2008-12-09 15:59:00 +00:00
b30a6faf2c Merge commit 'OpenCFD/master' into olesenm 2008-11-28 18:06:40 +01:00
9eb5d198bb multiple isosurfaces from unregistered samplefield 2008-11-27 17:17:24 +00:00
7493d1ca16 handling of empty 2008-11-26 11:14:15 +00:00
8b72dbedbe sampling changes
- cuttingPlane and sampledPatch now use PrimitiveMeshedSurface for their
  storage.
- cuttingPlane always triangulates since the cut faces tend to look quite
  horrible anyhow.
- moved triangulation request out of sampledSurface to the inherited
  classes. It might disappear anyhow.
2008-11-23 15:08:16 +01:00
99eea2d52e sampling: use new runtime macros and avoid typedefs for each writer/instance 2008-11-21 21:46:06 +01:00
b352c06f0f Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2008-11-21 15:19:25 +00:00
ba10c42446 isoSurface instead of isoSurfaceCell 2008-11-14 14:50:51 +00:00
24619b5813 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2008-11-14 14:24:45 +00:00
b5a3037463 Merge commit 'OpenCFD/master' into olesenm 2008-11-14 10:55:11 +01:00
4d2284c99d rmt isosurface correction 2008-11-12 16:05:22 +00:00
29d67c3240 averaging in isoSurfaces 2008-11-07 18:14:06 +00:00
856c44c264 simplification 2008-11-07 11:50:58 +00:00
1538606f58 signed distance 2008-11-07 11:46:13 +00:00
c8d4ea0e43 isosurfaces 2008-11-05 13:48:52 +00:00
0a8286b8ed inspired by MeshObject - added coordinateSystems::New selector 2008-10-29 15:00:50 +01:00
f050ca8248 read fields 2008-10-21 19:52:10 +01:00
4c5ebb4cb1 added isoSurface 2008-10-21 15:03:13 +01:00
99e8bf7516 volPointInterpolation, pointMesh now MeshObject 2008-10-21 15:02:04 +01:00
cdb0a8a8d5 iso surface 2008-10-21 14:06:10 +01:00
73b83058b1 Added new extended stencil handling from Mattijs. 2008-10-16 14:56:30 +01:00
63cbb11324 Merge branch 'master' of ssh://hunt/home/hunt2/OpenFOAM/OpenFOAM-dev 2008-09-19 17:28:45 +01:00
17454ed316 correcting typo 2008-09-19 17:28:33 +01:00
958059fb58 dynamicList update 2008-09-17 11:59:50 +01:00
c4c0f54fc6 dynamicList change 2008-09-17 11:53:14 +01:00
e8a70cd066 improved output handling 2008-09-16 10:49:03 +01:00
fb91e80086 tutorial and misc Dict cosmetics 2008-08-10 22:25:06 +02:00
3bd7010781 Merge branch 'master' of ssh://noisy/home/noisy2/OpenFOAM/OpenFOAM-dev 2008-07-31 10:33:52 +01:00
436b8f075d Added support for sphericalTensor and symmTensor. 2008-07-31 10:33:37 +01:00