Commit Graph

1731 Commits

Author SHA1 Message Date
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
dcc82bf77b boundingBox has mag() and span() methods - use them 2008-12-31 17:58:23 +01:00
172b862c47 added command bin/finddep, added copyright headers to misc bin/ scripts 2008-12-31 16:16:20 +01:00
7f168dc93c cuttingPlane constructor with plane/mesh instead of mesh/plane 2008-12-31 15:17:18 +01:00
1389f61287 rename PrimitiveMeshedSurface -> BasicMeshedSurface 2008-12-31 14:55:00 +01:00
d3ab1df730 fixed silly mistakes in wmakePrintBuild 2008-12-19 19:04:09 +01:00
822966eb86 Merge branch 'olesenm' 2008-12-19 13:05:19 +00:00
368eec5a07 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2008-12-19 13:03:53 +00:00
d9b9d7f2c0 Corrections to Niklas' contribution for 1.5 to dev. 2008-12-19 13:03:45 +00:00
0c5571519f changes to build version string
- version is WM_PROJECT_VERSION prefix + SHA1 from current git head
- move double quotes from make rules to global.Cver for extra safety
2008-12-19 13:20:14 +01:00
5f7d2acb9c tweaked build version strings
- added wmakePrintBuild -check, -update, -version options
- only update .build cache when explictly requested and
  from within the wmake Cver rules
- use -check option to avoid unnecessary remake in src/Allwmake
2008-12-19 12:13:08 +01:00
cd7cff1e53 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2008-12-19 10:27:39 +00:00
6a4b83bc43 Added wmakePrintBuild for determining the build version
- the $WM_PROJECT_DIR/.build file is automatically updated.
  This file is (and must be) ignored by git.
2008-12-19 11:11:20 +01:00
79e9a90c0e reworked functionObjectList to use PtrList
- This was originally plan 'B', but it is actually probably more efficient
  than using PtrDictionary anyhow.
- straightened out the return value logic, but it wasn't being used anywhere
  anyhow.
- new 'updated_' data member avoids inadvertent execution in the read()
  method when execution is turned off.
2008-12-19 09:29:58 +01:00
707dbe066f fixup header copyrights 2008-12-18 21:00:07 +01:00
43c1bcae6d Merge commit 'OpenCFD/master' into olesenm
Conflicts:

	src/Allwmake
	src/OpenFOAM/global/global.C
	wmake/rules/General/version

Retained solution with global.Cver
2008-12-18 20:52:48 +01:00
a15d0f8ad4 output banner cosmetics
- move url to lower right: makes version information stand out better
2008-12-18 20:29:24 +01:00
b5f06a3833 use git describe for header version, but use existing wmake framework 2008-12-18 19:54:13 +01:00
ae9057c9fe build paraview with experimental PARAVIEW_INSTALL_DEVELOPMENT 2008-12-18 19:52:37 +01:00
5bda264bb6 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2008-12-18 16:58:39 +00:00
e1d7916c3b From Niklas Nordin:
New fuels are iso/n-propanol and urea.  Although urea is a bit dodgy, but that's
all of the properties Ive found so far.

I've also added a variation of temperature instead of constant temperature for
some injector-classes so Im sending you the new version of the dieselFoam
tutorial also.
2008-12-18 16:58:29 +00:00
61187dfedb updated DictionaryTest to test transfer() and remove()
- PtrDictionary and remove(const word&) does not seem to work
2008-12-18 16:54:35 +01:00
5692245bc7 added HashPtrTable forward declaration to HashTable, entry.H cosmetics 2008-12-18 11:29:26 +01:00
94a6462058 update/remove some tests from applications/test 2008-12-18 10:00:03 +01:00
a43b7a916e handle NULL pointer in regExp 2008-12-18 09:30:06 +01:00
0a1a66ecb9 git describe in header 2008-12-17 12:36:29 +00:00
239c31f30f DictionaryBase gets transfer() method 2008-12-17 12:36:55 +01:00
84f9fc5c26 LinkedLists/accessTypes get transfer() method 2008-12-17 12:31:50 +01:00
9681a66a80 DLListBase / SLListBase get transfer() method 2008-12-17 11:51:56 +01:00
d5ac9d4c36 LinkedLists cleanup 2008-12-17 11:36:04 +01:00
625c75630c Dictionary template class - added lookupPtr
- can return NULL pointer instead of FatalError for non-existent entries
2008-12-17 11:14:00 +01:00
e0c749cfe8 Merge commit 'OpenCFD/master' into olesenm 2008-12-17 08:26:10 +01:00
6a4cd5cb5d Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2008-12-16 22:30:56 +00:00
8b446b1ec1 unnecessary clear 2008-12-16 22:30:38 +00:00
a1c8a6c24c handling uniform fields 2008-12-16 22:30:13 +00:00
ebaaa0005f etc/paraview3/*rc - added minor note 2008-12-16 16:07:35 +01:00
6151df3ef1 paraview build - reworking build/install directories 2008-12-16 13:20:53 +01:00
7072a998e8 paraview build - add -abspath/-envpath options 2008-12-16 11:45:12 +01:00
49bbb29ac8 update build scripts and etc/apps/paraview3 settings for paraview-3.5 (cvs)
- The new cmake seems to be even smarter. If we try to use env variables in
  the .cmake files (eg, with And's sed fixup), they are rewritten in a
  subsequent re-make and take much longer).  Adjusting the compiler values
  themselves causes a full remake. On the positive side, disabling the rpath
  seems to mean we may not need any of this.

  In summary - yuck!
2008-12-15 22:06:54 +01:00
bf057f99c0 small change to CMakeLists.txt for cmake-2.6.2 2008-12-15 22:06:44 +01:00
aa522c93f1 buildParaView changes
- set CMAKE_INSTALL_PREFIX:PATH now
- allow separation between -config/-make/-install stages
- update for cmake 2.6
2008-12-13 17:55:07 +01:00
4c6a7ca707 cellModeller - cosmetics 2008-12-12 20:02:50 +01:00
c90a167e5a bugfixing, documentation in global/debug
- catch missing "controlDict" file immediately via findEtcFile() instead of
  checking IFstream::good(). This avoids segfaulting, since the error
  handling in IFstream uses classes that are not yet initialized.
- use new dictionary features (eg, lookupOrAddDefault) to reduce code
- fixed debug::switchSet to use ref-to-pointer so pointer actually gets set!
2008-12-12 19:25:48 +01:00
0571f5393e rename Foam::dotFoam() -> Foam::findEtcFile() with an optional 'mandatory' argument
- if mandatory is true, findEtcFile() will abort with a message (via cerr).
  This allows a non-existent file to be caught at the lowest level and avoid
  error handling in IFstream, which might not be initialized at that stage.
2008-12-12 19:16:32 +01:00
9663072b5f Removed ddtPhiCorr. 2008-12-12 15:06:04 +00:00
089e5e3b00 Merge commit 'OpenCFD/master' into olesenm 2008-12-12 14:30:11 +01:00
c65a40d57d don't need shrink before List::transfer(DynamicList&) anymore 2008-12-12 14:20:56 +01:00
86602859f2 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2008-12-12 12:28:27 +00:00
1d22ab652e Corrected the code for moving-mesh cases with dilatation. 2008-12-12 12:28:19 +00:00