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

Public Member Functions

 Leaflet (const double &length, const double &d_x, const double &d_y, const double &x_0, const double &period, Time *time_pt)
 Constructor: Pass length (in Lagrangian coordinates), the amplitude of the horizontal and vertical deflection of the tip, the x-coordinate of the origin and the period of the oscillation. Passes the number of Lagrangian and Eulerian coordinates to the constructor of the GeomObject base class. More...
 
virtual ~Leaflet ()
 Destructor – emtpy. More...
 
void position (const unsigned &t, const Vector< double > &xi, Vector< double > &r) const
 Position vector, r, to the point identified by its 1D Lagrangian coordinate, xi (passed as a 1D Vector) at discrete time level t (t=0: present; t>0: previous). More...
 
void position (const Vector< double > &xi, Vector< double > &r) const
 Steady version: Get current shape. More...
 
unsigned ngeom_data () const
 Number of geometric Data in GeomObject: None. More...
 
double length ()
 Length of the leaflet. More...
 
double & d_x ()
 Amplitude of horizontal tip displacement. More...
 
double d_y ()
 Amplitude of vertical tip displacement. More...
 
double x_0 ()
 x-coordinate of leaflet origin More...
 

Private Attributes

double Length
 Length in terms of Lagrangian coordinates. More...
 
double D_x
 Horizontal displacement of tip. More...
 
double D_y
 Vertical displacement of tip. More...
 
double X_0
 Origin. More...
 
double T
 Period of the oscillations. More...
 
Time * Time_pt
 Pointer to the global time object. More...
 

Detailed Description

GeomObject representing a vertical leaflet that performs bending and stretching oscillations.

Definition at line 47 of file channel_with_leaflet.cc.

Constructor & Destructor Documentation

Leaflet::Leaflet ( const double &  length,
const double &  d_x,
const double &  d_y,
const double &  x_0,
const double &  period,
Time *  time_pt 
)
inline

Constructor: Pass length (in Lagrangian coordinates), the amplitude of the horizontal and vertical deflection of the tip, the x-coordinate of the origin and the period of the oscillation. Passes the number of Lagrangian and Eulerian coordinates to the constructor of the GeomObject base class.

Definition at line 57 of file channel_with_leaflet.cc.

virtual Leaflet::~Leaflet ( )
inlinevirtual

Destructor – emtpy.

Definition at line 64 of file channel_with_leaflet.cc.

Member Function Documentation

double& Leaflet::d_x ( )
inline

Amplitude of horizontal tip displacement.

Definition at line 92 of file channel_with_leaflet.cc.

double Leaflet::d_y ( )
inline

Amplitude of vertical tip displacement.

Definition at line 95 of file channel_with_leaflet.cc.

double Leaflet::length ( )
inline

Length of the leaflet.

Definition at line 89 of file channel_with_leaflet.cc.

unsigned Leaflet::ngeom_data ( ) const
inline

Number of geometric Data in GeomObject: None.

Definition at line 86 of file channel_with_leaflet.cc.

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

Position vector, r, to the point identified by its 1D Lagrangian coordinate, xi (passed as a 1D Vector) at discrete time level t (t=0: present; t>0: previous).

Definition at line 69 of file channel_with_leaflet.cc.

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

Steady version: Get current shape.

Definition at line 80 of file channel_with_leaflet.cc.

double Leaflet::x_0 ( )
inline

x-coordinate of leaflet origin

Definition at line 98 of file channel_with_leaflet.cc.

Member Data Documentation

double Leaflet::D_x
private

Horizontal displacement of tip.

Definition at line 106 of file channel_with_leaflet.cc.

double Leaflet::D_y
private

Vertical displacement of tip.

Definition at line 109 of file channel_with_leaflet.cc.

double Leaflet::Length
private

Length in terms of Lagrangian coordinates.

Definition at line 103 of file channel_with_leaflet.cc.

double Leaflet::T
private

Period of the oscillations.

Definition at line 115 of file channel_with_leaflet.cc.

Time* Leaflet::Time_pt
private

Pointer to the global time object.

Definition at line 118 of file channel_with_leaflet.cc.

double Leaflet::X_0
private

Origin.

Definition at line 112 of file channel_with_leaflet.cc.


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