Loading...
Searching...
No Matches
enginePiston Class Reference

Foam::enginePiston. More...

#include <enginePiston.H>

Public Member Functions

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

Detailed Description

Foam::enginePiston.

Source files

Definition at line 51 of file enginePiston.H.

Constructor & Destructor Documentation

◆ enginePiston() [1/2]

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

Construct from components.

Definition at line 28 of file enginePiston.C.

References maxLayer(), mesh, minLayer(), and Foam::refCast().

Here is the call graph for this function:

◆ enginePiston() [2/2]

enginePiston ( const polyMesh & mesh,
const dictionary & dict )

Construct from dictionary.

Definition at line 46 of file enginePiston.C.

References dict, Foam::GlobalIOList< Tuple2< scalar, vector > >::typeName, mesh, Foam::New(), and Foam::refCast().

Here is the call graph for this function:

◆ ~enginePiston()

~enginePiston ( )
default

Destructor.

Member Function Documentation

◆ cs()

const coordinateSystem & cs ( ) const
inline

Return coordinate system.

Definition at line 143 of file enginePiston.H.

◆ patchID()

const polyPatchID & patchID ( ) const
inline

Return ID of piston patch.

Definition at line 151 of file enginePiston.H.

◆ minLayer()

scalar minLayer ( ) const
inline

Definition at line 158 of file enginePiston.H.

Referenced by enginePiston().

Here is the caller graph for this function:

◆ maxLayer()

scalar maxLayer ( ) const
inline

Definition at line 163 of file enginePiston.H.

Referenced by enginePiston().

Here is the caller graph for this function:

◆ writeDict()

void writeDict ( Ostream & os) const

Write dictionary.

Definition at line 66 of file enginePiston.C.

References Foam::nl, and os().

Here is the call graph for this function:

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