FreeFOAM The Cross-Platform CFD Toolkit
partialWrite Class Reference

Allows some fields/registered objects to be written more often than others. More...

#include <IOFunctionObjects/partialWrite.H>


Detailed Description

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.

Source files

Definition at line 61 of file partialWrite.H.

+ Collaboration diagram for partialWrite:

List of all members.

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 wordname () 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 objectRegistryobr_
HashSet< wordobjectNames_
 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.

Constructor & Destructor Documentation

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.


Member Function Documentation

void operator= ( const partialWrite )
protected

Disallow default bitwise assignment.

TypeName ( "partialWrite"  )

Runtime type information.

virtual const word& name ( ) const
inlinevirtual

Return name of the partialWrite.

Definition at line 121 of file partialWrite.H.

References partialWrite::name_.

void read ( const dictionary dict)
virtual
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.

virtual void updateMesh ( const mapPolyMesh )
inlinevirtual

Update for changes of mesh.

Definition at line 139 of file partialWrite.H.

virtual void movePoints ( const pointField )
inlinevirtual

Update for changes of mesh.

Definition at line 143 of file partialWrite.H.


Member Data Documentation

word name_
protected

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.


The documentation for this class was generated from the following files: