Public Member Functions | List of all members
enginePiston Class Reference

Foam::enginePiston. More...

Public Member Functions

 enginePiston (const polyMesh &mesh, const word &pistonPatchName, const autoPtr< coordinateSystem > &pistonCS, const scalar minLayer, const scalar maxLayer)
 Construct from components. More...
 enginePiston (const polyMesh &mesh, const dictionary &dict)
 Construct from dictionary. More...
const coordinateSystemcs () const
 Return coordinate system. More...
const polyPatchIDpatchID () const
 Return ID of piston patch. More...
scalar minLayer () const
scalar maxLayer () const
void writeDict (Ostream &) const
 Write dictionary. More...

Detailed Description


Source files

Definition at line 53 of file enginePiston.H.

Constructor & Destructor Documentation

enginePiston ( const polyMesh mesh,
const word pistonPatchName,
const autoPtr< coordinateSystem > &  pistonCS,
const scalar  minLayer,
const scalar  maxLayer 

Construct from components.

Definition at line 35 of file enginePiston.C.

enginePiston ( const polyMesh mesh,
const dictionary dict 

Construct from dictionary.

Definition at line 54 of file enginePiston.C.

Member Function Documentation

const coordinateSystem& cs ( ) const

Return coordinate system.

Definition at line 120 of file enginePiston.H.

const polyPatchID& patchID ( ) const

Return ID of piston patch.

Definition at line 126 of file enginePiston.H.

scalar minLayer ( ) const

Definition at line 133 of file enginePiston.H.

scalar maxLayer ( ) const

Definition at line 138 of file enginePiston.H.

References enginePiston::writeDict().

Here is the call graph for this function:

void writeDict ( Ostream os) const

Write dictionary.

Definition at line 80 of file enginePiston.C.

References token::BEGIN_BLOCK, token::END_BLOCK, token::END_STATEMENT, Foam::endl(), DynamicID< ObjectType >::name(), and Foam::nl.

Referenced by enginePiston::maxLayer().

Here is the call graph for this function:

Here is the caller graph for this function:

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