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. | |
| virtual | ~MyEllipse () |
| Destructor: Empty. | |
| void | position (const Vector< double > &xi, Vector< double > &r) const |
| Current position vector to material point at Lagrangian coordinate xi. | |
| 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. | |
Private Attributes | |
| double | A |
| x-half axis | |
| double | A_hat |
| Amplitude of variation in x-half axis. | |
| double | T |
| Period of oscillation. | |
| Time * | Time_pt |
| Pointer to time object. | |
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 |
|
inline |
|
private |
x-half axis
Definition at line 92 of file osc_quarter_ellipse.cc.
Referenced by position(), and position().
|
private |
Amplitude of variation in x-half axis.
Definition at line 95 of file osc_quarter_ellipse.cc.
Referenced by position(), and position().
|
private |
Period of oscillation.
Definition at line 98 of file osc_quarter_ellipse.cc.
Referenced by position(), and position().
|
private |
Pointer to time object.
Definition at line 101 of file osc_quarter_ellipse.cc.
Referenced by position(), and position().