Allows some fields/registered objects to be written more often than others. More...
#include <IOFunctionObjects/partialWrite.H>
Allows some fields/registered objects to be written more often than others.
Works in the opposite way: deletes at intermediate times all but selected fields.
Definition at line 61 of file partialWrite.H.
Collaboration diagram for partialWrite:Public Member Functions | |
| TypeName ("partialWrite") | |
| Runtime type information.
| |
| partialWrite (const word &name, const objectRegistry &, const dictionary &, const bool loadFromFiles=false) | |
| Construct for given objectRegistry and dictionary.
| |
| virtual | ~partialWrite () |
| Destructor.
| |
| virtual const word & | name () const |
| Return name of the partialWrite.
| |
| virtual void | read (const dictionary &) |
| Read the partialWrite data.
| |
| virtual void | execute () |
| Execute, currently does nothing.
| |
| virtual void | end () |
| Execute at the final time-loop, currently does nothing.
| |
| virtual void | write () |
| Write the partialWrite.
| |
| virtual void | updateMesh (const mapPolyMesh &) |
| Update for changes of mesh.
| |
| virtual void | movePoints (const pointField &) |
| Update for changes of mesh.
| |
Protected Member Functions | |
| partialWrite (const partialWrite &) | |
| Disallow default bitwise copy construct.
| |
| void | operator= (const partialWrite &) |
| Disallow default bitwise assignment.
| |
Protected Attributes | |
| word | name_ |
| Name of this set of partialWrite.
| |
| const objectRegistry & | obr_ |
| HashSet< word > | objectNames_ |
| Names of objects to dump always.
| |
| label | writeInterval_ |
| Write interval for restart dump.
| |
| label | writeInstance_ |
| Current dump instance. If reaches writeInterval do a full write.
| |
| partialWrite | ( | const partialWrite & | ) | [protected]
|
Disallow default bitwise copy construct.
| partialWrite | ( | const word & | name, |
| const objectRegistry & | obr, | ||
| const dictionary & | dict, | ||
| const bool | loadFromFiles = false
|
||
| ) |
Construct for given objectRegistry and dictionary.
Allow the possibility to load fields from files
Definition at line 44 of file partialWrite.C.
| ~partialWrite | ( | ) | [virtual]
|
Destructor.
Definition at line 60 of file partialWrite.C.
| void operator= | ( | const partialWrite & | ) | [protected]
|
Disallow default bitwise assignment.
| TypeName | ( | "partialWrite" | ) |
Runtime type information.
| virtual const word& name | ( | ) | const [inline, virtual]
|
Return name of the partialWrite.
Definition at line 121 of file partialWrite.H.
References partialWrite::name_.
| void read | ( | const dictionary & | dict ) | [virtual]
|
Read the partialWrite data.
Definition at line 66 of file partialWrite.C.
References Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, forAllConstIter, Foam::Info, dictionary::lookup(), Foam::name(), Foam::nl, and Foam::type().
| void execute | ( | ) | [virtual]
|
Execute, currently does nothing.
Definition at line 93 of file partialWrite.C.
| void end | ( | ) | [virtual]
|
Execute at the final time-loop, currently does nothing.
Definition at line 100 of file partialWrite.C.
| void write | ( | ) | [virtual]
|
Write the partialWrite.
Definition at line 107 of file partialWrite.C.
References fileName::DIRECTORY, Foam::endl(), f(), forAll, forAllConstIter, fileName::name(), Foam::name(), OSstream::name(), Foam::Pout, cloud::prefix, Foam::readDir(), and Foam::rm().
| virtual void updateMesh | ( | const mapPolyMesh & | ) | [inline, virtual]
|
Update for changes of mesh.
Definition at line 139 of file partialWrite.H.
| virtual void movePoints | ( | const pointField & | ) | [inline, virtual]
|
Update for changes of mesh.
Definition at line 143 of file partialWrite.H.
Name of this set of partialWrite.
Definition at line 68 of file partialWrite.H.
Referenced by partialWrite::name().
const objectRegistry& obr_ [protected]
|
Definition at line 70 of file partialWrite.H.
HashSet<word> objectNames_ [protected]
|
Names of objects to dump always.
Definition at line 76 of file partialWrite.H.
label writeInterval_ [protected]
|
Write interval for restart dump.
Definition at line 79 of file partialWrite.H.
label writeInstance_ [protected]
|
Current dump instance. If reaches writeInterval do a full write.
Definition at line 83 of file partialWrite.H.