action functions
|
Please note that the library has not been "officially" released. While we continue to work on the documentation, these web pages are likely to contain broken links and documents in draft form. Please send an email to if you wish to be informed of the library's "official" release. |
Note that cross-sectional area is conserved.
Definition at line 49 of file osc_quarter_ellipse.cc.
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. | |
| MyEllipse::MyEllipse | ( | const double & | a, | |
| const double & | a_hat, | |||
| const double & | period, | |||
| Time * | time_pt | |||
| ) | [inline] |
Constructor: Pass initial x-half axis, amplitude of x-variation, period of oscillation and pointer to time object.
Definition at line 56 of file osc_quarter_ellipse.cc.
| virtual MyEllipse::~MyEllipse | ( | ) | [inline, virtual] |
| void MyEllipse::position | ( | const unsigned & | t, | |
| const Vector< double > & | xi, | |||
| Vector< double > & | r | |||
| ) | const [inline] |
| void MyEllipse::position | ( | const Vector< double > & | xi, | |
| Vector< double > & | r | |||
| ) | const [inline] |
double MyEllipse::A [private] |
double MyEllipse::A_hat [private] |
Amplitude of variation in x-half axis.
Definition at line 97 of file osc_quarter_ellipse.cc.
Referenced by position().
double MyEllipse::T [private] |
Period of oscillation.
Definition at line 100 of file osc_quarter_ellipse.cc.
Referenced by position().
Time* MyEllipse::Time_pt [private] |
Pointer to time object.
Definition at line 103 of file osc_quarter_ellipse.cc.
Referenced by position().
1.4.7