Commit Graph

37 Commits

Author SHA1 Message Date
b5dddd8980 ENH: parallel runTimeModifiable - master only 2010-11-16 12:41:44 +00:00
7e0f1e2a01 ENH: allocate fileMonitor only if wanted 2010-10-21 14:19:10 +01:00
82eedb5b3c BUG: Time : set up file monitoring only if runTimeModifiable 2010-10-19 09:55:33 +01:00
95219e6f76 COMP: specialization Foam::NamedEnum templates within namespace Foam
- otherwise gets flagged as an error by clang
2010-10-12 12:17:13 +02:00
199e130ef4 BUG: writeControl cpuTime/clockTime not synchronised 2010-09-07 16:06:44 +01:00
1a6db8cdfa ENH: fileMonitor : monitor directory, not file
Some editors (emacs) rename file at startup to the backup version. Hence
watching the original file tells one nothing.
2010-08-29 02:42:20 +01:00
28b1a9e2c6 Merge branch 'olesenm' 2010-06-03 10:25:03 +01:00
c51a2b0f63 ENH: have MUST_READ_IF_MODIFIED on IOdictionary construction 2010-06-02 09:48:07 +01:00
182b368bf6 ENH: change return type of Time::stopAt to report if the setting changed 2010-05-17 16:06:53 +02:00
5cfa97624e STYLE: more consistent New methods, use unregistered IOobject where appropriate 2010-04-20 17:13:35 +02:00
d4ca02cf7e BUG: using Time::run() as a loop construct was not doing the functionObjects. 2010-04-15 12:22:56 +01:00
f8ea34bc59 Time: Moved functionObject execution from "++" to "loop"
This change allows functionObjects to cleanly terminate the code e.g. on convergence.
2010-04-09 12:45:13 +01:00
22717f323f Time: Handle side-effects from functionObjects when checking the "running" status. 2010-04-08 13:01:28 +01:00
d29c438657 STYLE: use url for FSF license instead of postal address, switch to GPL v3 2010-03-29 14:07:56 +02:00
dbe29112e3 MULES limitation removed: sub-cycling time now supported on morphing meshes
Support for cell-volume interpolation during time sub-cycling now provided and
used in the MULES VoF solver to allow sub-cycling on morphing meshes.
2010-03-15 17:02:12 +00:00
ab54683904 ENH: Automatically increase the time precision to make timeNames differ.
Before two timesteps could get the same timeName and start overwriting old results.
2010-02-03 16:56:06 +00:00
47eb0c5cd2 Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
Conflicts:
	applications/utilities/postProcessing/dataConversion/foamToTecplot360/Allwmake
2009-12-01 16:47:45 +00:00
d17d015f88 Use new last() method for List-type classes
- use first() method in some places as well where it helps clarity

- there are a few remaining cases: git grep 'size()-1]'
2009-11-26 13:35:57 +01:00
c1d6f266fe prevent outputIndex calculation upon subcycling 2009-11-25 14:40:36 +00:00
3d9c822022 Added abortCalculation function object, exposed Time::stopAtControls
- still needs fine-tuning (testing) to see if it reacts as anticipated under
  various conditions.
2009-11-06 17:18:32 +01:00
4f4d1393fa firstTime always chooses constant 2009-09-03 12:29:49 +01:00
5896bd04f7 remove commented out code 2009-08-17 17:06:45 +01:00
a0b0e23cff proper error handling 2009-08-13 15:27:48 +01:00
138e54af76 do not check files when subcycling 2009-08-03 11:48:09 +01:00
8edf105c45 cleanup of time handling (cosmetic changes), used timeSelector in more places 2009-05-20 15:40:30 +02:00
aa6710901e Added Time::loop() to allow the
while(runTime.loop())
{
...
}

idiom.

Demonstrated in the shallowWaterFoam solver.
2009-02-17 22:00:59 +00:00
fee6e312b9 Time and functionObject updated for end()
- added end() method to functionObject, functionObjectList & associated classes
- moved outputFilters from src/sampling -> src/OpenFOAM/db/functionObjects
2009-02-17 12:48:10 +01:00
e03979ad3b functionObjectList added manualStart()/manualExecute()
- can call start()/execute() manually regardless of the execution status
2009-02-13 15:10:22 +01:00
fafb3e8885 functionObjectList and Time modifications
- added clear() method to functionObjectList. It also gets called by ~Time().
  This should destroy function objects before anything else gets
  destroyed (eg, objectRegistry).
2009-02-12 22:13:30 +01:00
d8ec3376fc avoid calling functionObjectList twice with Time::operator+=()
- make functionObjectList mutable so it can change behind our back
2009-02-12 16:01:39 +01:00
69918f23c5 consistency update
- OSspecific: chmod() -> chMod(), even although it's not used anywhere

- ListOps get subset() and inplaceSubset() templated on BoolListType

- added UList<bool>::operator[](..) const specialization.
  Returns false (actually pTraits<bool>::zero) for out-of-range elements.
  This lets us use List<bool> with lazy evaluation and no noticeable
  change in performance.

- use rcIndex() and fcIndex() wherever possible.
  Could check if branching or modulus is faster for fcIndex().

- UList and FixedList get 'const T* cdata() const' and 'T* data()' members.
  Similar to the STL front() and std::string::data() methods, they return a
  pointer to the first element without needing to write '&myList[0]', recast
  begin() or violate const-ness.
2009-02-06 20:43:09 +01:00
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
3cdc8ca03c static label Time::findClosestTimeIndex(const instantList&, const scalar)
- avoid code duplication in vtkPV3Foam.C and checkTimeOption.H
  - can also be used in Time::findClosestTime(), but didn't touch that
2008-07-25 15:37:38 +02:00
a48bc8746a use dictionary::readIfPresent wherever reasonable 2008-07-20 14:07:49 +02:00
02cabc3cf2 updated Copyright (C) \d+-2008 OpenCFD Ltd. 2008-06-25 15:01:46 +02:00
93d1f74d8c dummy Pstream update and typo in Time.C comment. Sorry for mixup. 2008-06-02 19:16:12 +01:00
3170c7c0c9 Creation of OpenFOAM-dev repository 15/04/2008 2008-04-15 18:56:58 +01:00