Skip to content
Snippets Groups Projects
Commit 6daff22a authored by mattijs's avatar mattijs
Browse files

ENH: writeRegisteredObject: changed default to false

parent 5dbe19b7
Branches
Tags
No related merge requests found
......@@ -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_()
{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment