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
|
dumpObjects
|
||||||
{
|
{
|
||||||
// Forcibly write registered objects. E.g. fields that have been
|
// Forcibly write registered objects
|
||||||
// created with NO_WRITE.
|
|
||||||
|
|
||||||
type writeRegisteredObject;
|
type writeRegisteredObject;
|
||||||
|
|
||||||
// Where to load it from
|
// Where to load it from
|
||||||
functionObjectLibs ("libIOFunctionObjects.so");
|
functionObjectLibs ("libIOFunctionObjects.so");
|
||||||
|
|
||||||
// Execute upon outputTime:
|
// When to write:
|
||||||
// timeStep
|
// timeStep (with optional outputInterval)
|
||||||
// outputTime
|
// outputTime (with optional outputInterval)
|
||||||
// adjustableTime
|
// adjustableTime
|
||||||
// runTime
|
// runTime
|
||||||
// clockTime
|
// clockTime
|
||||||
// cpuTime
|
// cpuTime
|
||||||
outputControl outputTime;
|
outputControl outputTime;
|
||||||
|
|
||||||
// Is the object written by this function Object alone
|
// Write every writeInterval (only valid for timeStemp, outputTime)
|
||||||
exclusiveWriting true;
|
outputInterval 1;
|
||||||
|
|
||||||
// Interval of time (sec) to write down(
|
// Interval of time (valid for adjustableTime, runTime, clockTime,
|
||||||
writeInterval 10.5 //(adjustableTime, runTime, clockTime, cpuTime)
|
// cpuTime)
|
||||||
|
writeInterval 10.5;
|
||||||
// Write as normal every writeInterval'th outputTime.
|
|
||||||
outputInterval 1; // (timeStep, outputTime)
|
|
||||||
|
|
||||||
// Objects to write
|
// Objects to write
|
||||||
objectNames ();
|
objectNames ();
|
||||||
|
|
||||||
|
|
||||||
|
// Is the object written by this function Object alone
|
||||||
|
// (default is false)
|
||||||
|
//exclusiveWriting true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -46,7 +46,7 @@ Foam::writeRegisteredObject::writeRegisteredObject
|
|||||||
)
|
)
|
||||||
:
|
:
|
||||||
name_(name),
|
name_(name),
|
||||||
exclusiveWriting_(true),
|
exclusiveWriting_(false),
|
||||||
obr_(obr),
|
obr_(obr),
|
||||||
objectNames_()
|
objectNames_()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user