Public Member Functions | Private Attributes | List of all members
MyCylinder Class Reference
Inheritance diagram for MyCylinder:

Public Member Functions

 MyCylinder (const double &radius)
 Constructor that takes the radius of the tube as its argument.
 
virtual ~MyCylinder ()
 Destructor.
 
void position (const Vector< double > &xi, Vector< double > &r) const
 Lagrangian coordinate xi.
 
void position (const unsigned &t, const Vector< double > &xi, Vector< double > &r) const
 Return the position of the tube as a function of time (doesn't move as a function of time)
 

Private Attributes

double Radius
 Storage for the radius of the tube.
 

Detailed Description

Definition at line 44 of file full_tube.cc.

Constructor & Destructor Documentation

◆ MyCylinder()

MyCylinder::MyCylinder ( const double &  radius)
inline

Constructor that takes the radius of the tube as its argument.

Definition at line 49 of file full_tube.cc.

◆ ~MyCylinder()

virtual MyCylinder::~MyCylinder ( )
inline

Destructor.

Definition at line 53 of file full_tube.cc.

Member Function Documentation

◆ position() [1/2]

void MyCylinder::position ( const unsigned &  t,
const Vector< double > &  xi,
Vector< double > &  r 
) const
inline

Return the position of the tube as a function of time (doesn't move as a function of time)

Definition at line 66 of file full_tube.cc.

References position().

◆ position() [2/2]

void MyCylinder::position ( const Vector< double > &  xi,
Vector< double > &  r 
) const
inline

Lagrangian coordinate xi.

Definition at line 56 of file full_tube.cc.

References Radius.

Referenced by position().

Member Data Documentation

◆ Radius

double MyCylinder::Radius
private

Storage for the radius of the tube.

Definition at line 75 of file full_tube.cc.

Referenced by position().


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