Commit Graph

27070 Commits

Author SHA1 Message Date
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
61aadcdbf0 handling [(nil)] from sicortex 2008-12-31 11:10:50 +00:00
d611b85924 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2008-12-31 08:47:57 +00:00
cdfc52d2dd Returned the web address to original location, it looked like it had got lost and forgotten about. 2008-12-31 08:41:27 +00:00
09463aaa9f Further correction for commit bf92e86. 2008-12-30 23:02:05 +00:00
1d450fbe11 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev 2008-12-30 22:00:52 +00:00
22393b4262 new bc 2008-12-30 22:00:17 +00: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
7386e4c94d Changed "flex++" to "flex --c++" to avoid the need to create the link from "flex" to "flex++" after installing "flex". 2008-12-30 19:02:45 +00:00
1089d5a5d5 Moved the construction of the static "null" strings to stringsGlobals.C which is included in global.Cver to avoid inter-dependency problems in the construction of globals.
Patch supplied by Michael Wild, see
http://openfoam.cfd-online.com/cgi-bin/forum/show.cgi?126/10442
2008-12-29 18:54:46 +00:00
eb37259958 Changed the "unsigned int" old-style cast to a "unsigned" type conversion to avoid
warning: use of old-style cast
2008-12-29 18:51:40 +00:00
0831602f7a surplus include 2008-12-29 13:20:18 +00:00
57af4614ca small porting warnings 2008-12-29 13:20:04 +00:00
5381d742bf Changed "uint" to "unsigned int". 2008-12-29 12:24:38 +00:00
499d0b4f0e Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2008-12-24 10:24:02 +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
3d3b9ddb23 Merge branch 'master' into cvm 2008-12-22 17:10:09 +00:00
36fc7b0b87 Merge branch 'master' into molecularDynamics 2008-12-22 17:09:06 +00:00
428d80539b Parallel transfer of list of site forces and postitions. 2008-12-22 17:00:03 +00:00
3521536322 Adding -DNDEBUG option speeds up CGAL, as per mailing list suggestion 2008-12-20 21:35:11 +00:00
d3ab1df730 fixed silly mistakes in wmakePrintBuild 2008-12-19 19:04:09 +01:00
b7c0d4ffcb Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2008-12-19 18:00:33 +00:00
eaea0460cd general updates for new turbulence model structure 2008-12-19 17:59:54 +00:00
a62197f1ea bugfix/consistency update: turbulenceModel renamed simulationType 2008-12-19 17:47:10 +00:00
14314fc126 correcting script for refs/heads/master instead of HEAD
- if local repo is up to date, HEAD and origin/HEAD are the same
  so id was returned twice
2008-12-19 16:39:35 +00:00
b59632c757 Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2008-12-19 15:45:17 +00:00
894f8f3b13 moving function objects to functionObjects sub-folder 2008-12-19 15:44:26 +00:00
a49ddb5fe2 moving function objects to functionObjects sub-folder 2008-12-19 15:44:26 +00:00
468668d0be muf -> muEff for consistency 2008-12-19 14:48:54 +00:00
c5c622e1ab adding pFinal 2008-12-19 14:45:28 +00:00
3672a2786d Fix for single cell meshes in directInteractionList build. Change label cast in pairPotential to avoid warning (from Mattijs). 2008-12-19 14:27:26 +00:00
9596677119 labelled muf - grad(muf) used, so can now manipulate in fvSolution etc 2008-12-19 14:03:49 +00:00
393e4d232e added explicit call to UEqn.relax() 2008-12-19 14:01:00 +00:00
dbe5e08213 minor mods:
- added pdFinal option
    - labelled muf - grad(muf) used, so can now manipulate in fvSolution etc
    - added absolute/relative around the calculation of divU
2008-12-19 13:59:05 +00:00
0421563db0 more tidying up: NOTE - inject() functionality should be moved to the injection sub-model 2008-12-19 13:44:48 +00:00
532721b804 minor fix on trackData 2008-12-19 13:29:50 +00:00
65ac30953d Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev 2008-12-19 13:24:52 +00:00
72066fd645 minor clean-up 2008-12-19 13:24:32 +00:00
dda4777ebe moved setInjectorCellAndPosition functionality to injection model 2008-12-19 13:11:26 +00: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
9aeff34526 Adding spherical cut-off to electrostatic interaction at rCutMax 2008-12-19 11:50:43 +00:00
e35713279b bugfix: alpha parameter was not being written 2008-12-19 11:21:24 +00: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