Oscillating ellipse. More...
Public Member Functions | |
MyEllipse (const double &a, const double &a_hat, const double &period, Time *time_pt) | |
Constructor: Pass initial x-half axis, amplitude of x-variation, period of oscillation and pointer to time object. More... | |
virtual | ~MyEllipse () |
Destructor: Empty. More... | |
void | position (const Vector< double > &xi, Vector< double > &r) const |
Current position vector to material point at Lagrangian coordinate xi. More... | |
void | position (const unsigned &t, const Vector< double > &xi, Vector< double > &r) const |
Parametrised position on object: r(xi). Evaluated at previous time level. t=0: current time; t>0: previous time level. More... | |
Private Attributes | |
double | A |
x-half axis More... | |
double | A_hat |
Amplitude of variation in x-half axis. More... | |
double | T |
Period of oscillation. More... | |
Time * | Time_pt |
Pointer to time object. More... | |
Oscillating ellipse.
Note that cross-sectional area is conserved.
Definition at line 47 of file osc_quarter_ellipse.cc.
|
inline |
Constructor: Pass initial x-half axis, amplitude of x-variation, period of oscillation and pointer to time object.
Definition at line 54 of file osc_quarter_ellipse.cc.
|
inlinevirtual |
Destructor: Empty.
Definition at line 59 of file osc_quarter_ellipse.cc.
|
inline |
Parametrised position on object: r(xi). Evaluated at previous time level. t=0: current time; t>0: previous time level.
Definition at line 77 of file osc_quarter_ellipse.cc.
References Global_Physical_Variables::A, Global_Physical_Variables::A_hat, and Global_Physical_Variables::T.
|
inline |
Current position vector to material point at Lagrangian coordinate xi.
Definition at line 63 of file osc_quarter_ellipse.cc.
References Global_Physical_Variables::A, Global_Physical_Variables::A_hat, and Global_Physical_Variables::T.
|
private |
x-half axis
Definition at line 92 of file osc_quarter_ellipse.cc.
|
private |
Amplitude of variation in x-half axis.
Definition at line 95 of file osc_quarter_ellipse.cc.
|
private |
Period of oscillation.
Definition at line 98 of file osc_quarter_ellipse.cc.
|
private |
Pointer to time object.
Definition at line 101 of file osc_quarter_ellipse.cc.