OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

IOPosition< ParticleType > Class Template Reference

Helper IO class to read and write particle positions. More...

Inheritance diagram for IOPosition< ParticleType >:
Collaboration diagram for IOPosition< ParticleType >:

List of all members.


Public Member Functions

virtual const word & type () const
 Runtime type name information. Use cloud type.
 IOPosition (const Cloud< ParticleType > &)
 Construct from cloud.
virtual void readData (Cloud< ParticleType > &c, bool checkClass)
virtual bool write () const
 Write using setting from DB.
virtual bool writeData (Ostream &os) const
 Pure virtual writaData function.

Static Public Attributes

static word particlePropertiesName
 Name of particle properties dictionary.

Detailed Description

template<class ParticleType>
class Foam::IOPosition< ParticleType >

Helper IO class to read and write particle positions.

Source files

Definition at line 45 of file IOPosition.H.


Constructor & Destructor Documentation

IOPosition ( const Cloud< ParticleType > &  c  )  [inline]

Construct from cloud.

Definition at line 88 of file IOPosition.C.


Member Function Documentation

virtual const word& type (  )  const [inline, virtual]

Runtime type name information. Use cloud type.

Definition at line 70 of file IOPosition.H.

void readData ( Cloud< ParticleType > &  c,
bool  checkClass 
) [inline, virtual]

Definition at line 150 of file IOPosition.C.

bool write (  )  const [inline, virtual]

Write using setting from DB.

Reimplemented from regIOobject.

Definition at line 110 of file IOPosition.C.

bool writeData ( Ostream &   )  const [inline, virtual]

Pure virtual writaData function.

Must be defined in derived types

Implements regIOobject.

Definition at line 124 of file IOPosition.C.


Member Data Documentation

Name of particle properties dictionary.

Definition at line 76 of file IOPosition.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd