mattijs
e4f7c306ab
BUG: Time: have separate timer for secondary write interval
2012-10-16 14:15:14 +01:00
mattijs
f3590edfa0
BUG: Time: restart with non-standard Time (e.g. engineTime) compared values instead of names.
2012-02-23 14:55:28 +00:00
Henry
8691b18271
OpenFOAM/Time: updated the setting of deltaT on restart
...
Use the deltaT in the controlDict if "adjustTimeStep" is not present or set
otherwise use that in the "uniform/time" file
2012-01-30 16:03:04 +00:00
mattijs
81ba434cc1
ENH: Time.C: warn for same timename
2012-01-26 09:42:45 +00:00
mattijs
df916fb923
ENH: Time.C: compare based on current time precision
2011-11-30 17:55:33 +00:00
mattijs
8558af2cdf
COMP: 64bit label changes
2011-11-28 11:10:46 +00:00
Henry
5f587a080a
Time: Corrected the restart of deltaT for cases with variable time-step
2011-11-03 16:35:25 +00:00
mattijs
3829ca5660
ENH: Time: check restart time value.
2011-10-21 14:16:53 +01:00
mattijs
99c860d2e2
ENH: Time: secondary write controls, signal handling
2011-10-05 17:31:12 +01:00
Henry
c2dd153a14
Copyright transfered to the OpenFOAM Foundation
2011-08-14 12:17:30 +01:00
mattijs
da836edfc1
ENH: argList: added -noFunctionObjects to all argList
2011-06-08 14:21:51 +01:00
mattijs
f79aeb9402
ENH: Time: construct dlLibraryTable before reading dictionary so controlDict can have e.g. #codeStream
2011-04-20 11:52:24 +01:00
mattijs
a791316896
ENH: dlLibraryTable: moved library handles to objects
2011-04-18 16:41:21 +01:00
mattijs
6ee1d853b6
BUG: Time: not setting IO flags for e.g. fvSolution constructed from Time.
2011-03-28 16:43:04 +01:00
mattijs
acc8d7714a
BUG: Time.C: adjustTimeStep overflow of scalar
2011-02-24 10:44:22 +00:00
andy
eaef8d482b
STYLE: Updated 1991 start copyright year to 2004
2011-01-14 16:08:00 +00:00
andy
099cc39e2e
Revert "STYLE: 2011 copyright date."
...
This reverts commit b18f6cc1ce
.
2011-01-05 18:24:29 +00:00
graham
b18f6cc1ce
STYLE: 2011 copyright date.
2011-01-05 11:14:26 +00:00
Mark Olesen
85bae17943
STYLE: add formatting of NamedEnum template arguments
2010-12-17 14:36:13 +01:00
mattijs
b5dddd8980
ENH: parallel runTimeModifiable - master only
2010-11-16 12:41:44 +00:00
mattijs
7e0f1e2a01
ENH: allocate fileMonitor only if wanted
2010-10-21 14:19:10 +01:00
mattijs
82eedb5b3c
BUG: Time : set up file monitoring only if runTimeModifiable
2010-10-19 09:55:33 +01:00
Mark Olesen
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
mattijs
199e130ef4
BUG: writeControl cpuTime/clockTime not synchronised
2010-09-07 16:06:44 +01:00
mattijs
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
andy
28b1a9e2c6
Merge branch 'olesenm'
2010-06-03 10:25:03 +01:00
mattijs
c51a2b0f63
ENH: have MUST_READ_IF_MODIFIED on IOdictionary construction
2010-06-02 09:48:07 +01:00
Mark Olesen
182b368bf6
ENH: change return type of Time::stopAt to report if the setting changed
2010-05-17 16:06:53 +02:00
Mark Olesen
5cfa97624e
STYLE: more consistent New methods, use unregistered IOobject where appropriate
2010-04-20 17:13:35 +02:00
mattijs
d4ca02cf7e
BUG: using Time::run() as a loop construct was not doing the functionObjects.
2010-04-15 12:22:56 +01:00
henry
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
henry
22717f323f
Time: Handle side-effects from functionObjects when checking the "running" status.
2010-04-08 13:01:28 +01:00
Mark Olesen
d29c438657
STYLE: use url for FSF license instead of postal address, switch to GPL v3
2010-03-29 14:07:56 +02:00
henry
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
mattijs
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
mattijs
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
Mark Olesen
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
mattijs
c1d6f266fe
prevent outputIndex calculation upon subcycling
2009-11-25 14:40:36 +00:00
Mark Olesen
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
mattijs
4f4d1393fa
firstTime always chooses constant
2009-09-03 12:29:49 +01:00
mattijs
5896bd04f7
remove commented out code
2009-08-17 17:06:45 +01:00
mattijs
a0b0e23cff
proper error handling
2009-08-13 15:27:48 +01:00
mattijs
138e54af76
do not check files when subcycling
2009-08-03 11:48:09 +01:00
Mark Olesen
8edf105c45
cleanup of time handling (cosmetic changes), used timeSelector in more places
2009-05-20 15:40:30 +02:00
henry
aa6710901e
Added Time::loop() to allow the
...
while(runTime.loop())
{
...
}
idiom.
Demonstrated in the shallowWaterFoam solver.
2009-02-17 22:00:59 +00:00
Mark Olesen
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
Mark Olesen
e03979ad3b
functionObjectList added manualStart()/manualExecute()
...
- can call start()/execute() manually regardless of the execution status
2009-02-13 15:10:22 +01:00
Mark Olesen
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
Mark Olesen
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
Mark Olesen
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