mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: writeRegisteredObject: changed default to false
This commit is contained in:
@ -86,34 +86,36 @@ functions
|
||||
|
||||
dumpObjects
|
||||
{
|
||||
// Forcibly write registered objects. E.g. fields that have been
|
||||
// created with NO_WRITE.
|
||||
// Forcibly write registered objects
|
||||
|
||||
type writeRegisteredObject;
|
||||
|
||||
// Where to load it from
|
||||
functionObjectLibs ("libIOFunctionObjects.so");
|
||||
|
||||
// Execute upon outputTime:
|
||||
// timeStep
|
||||
// outputTime
|
||||
// When to write:
|
||||
// timeStep (with optional outputInterval)
|
||||
// outputTime (with optional outputInterval)
|
||||
// adjustableTime
|
||||
// runTime
|
||||
// clockTime
|
||||
// cpuTime
|
||||
outputControl outputTime;
|
||||
|
||||
// Is the object written by this function Object alone
|
||||
exclusiveWriting true;
|
||||
// Write every writeInterval (only valid for timeStemp, outputTime)
|
||||
outputInterval 1;
|
||||
|
||||
// Interval of time (sec) to write down(
|
||||
writeInterval 10.5 //(adjustableTime, runTime, clockTime, cpuTime)
|
||||
|
||||
// Write as normal every writeInterval'th outputTime.
|
||||
outputInterval 1; // (timeStep, outputTime)
|
||||
// Interval of time (valid for adjustableTime, runTime, clockTime,
|
||||
// cpuTime)
|
||||
writeInterval 10.5;
|
||||
|
||||
// Objects to write
|
||||
objectNames ();
|
||||
|
||||
|
||||
// Is the object written by this function Object alone
|
||||
// (default is false)
|
||||
//exclusiveWriting true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@ Foam::writeRegisteredObject::writeRegisteredObject
|
||||
)
|
||||
:
|
||||
name_(name),
|
||||
exclusiveWriting_(true),
|
||||
exclusiveWriting_(false),
|
||||
obr_(obr),
|
||||
objectNames_()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user