All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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...
 
 enginePiston (const enginePiston &)=delete
 Disallow default bitwise copy construction. 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...
 
void operator= (const enginePiston &)=delete
 Disallow default bitwise assignment. More...
 

Detailed Description

Foam::enginePiston.

Source files

Definition at line 53 of file enginePiston.H.

Constructor & Destructor Documentation

◆ enginePiston() [1/3]

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() [2/3]

enginePiston ( const polyMesh mesh,
const dictionary dict 
)

Construct from dictionary.

Definition at line 54 of file enginePiston.C.

◆ enginePiston() [3/3]

enginePiston ( const enginePiston )
delete

Disallow default bitwise copy construction.

Member Function Documentation

◆ cs()

const coordinateSystem& cs ( ) const
inline

Return coordinate system.

Definition at line 111 of file enginePiston.H.

◆ patchID()

const polyPatchID& patchID ( ) const
inline

Return ID of piston patch.

Definition at line 117 of file enginePiston.H.

◆ minLayer()

scalar minLayer ( ) const
inline

Definition at line 124 of file enginePiston.H.

◆ maxLayer()

scalar maxLayer ( ) const
inline

Definition at line 129 of file enginePiston.H.

References enginePiston::operator=(), and enginePiston::writeDict().

Here is the call graph for this function:

◆ writeDict()

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:

◆ operator=()

void operator= ( const enginePiston )
delete

Disallow default bitwise assignment.

Referenced by enginePiston::maxLayer().

Here is the caller graph for this function:

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