Example codes
and tutorials
The (Not-so) Quick Guide
List of tutorials/demo codes
Single-Physics Problems
Poisson
Linear wave equation
The Young-Laplace equation
Navier-Stokes
Free-surface Navier-Stokes
Axisymmetric Navier-Stokes
Solid mechanics
Beam structures
Shell structures
Multi-physics Problems
Fluid-structure interaction
Boussinesq convection
Methods-based example codes and tutorials
Mesh generation
Linear solvers and preconditioners
Visualisation of the results
Parallel processing
How to write a new element
How to write a new refineable element
Default nonlinear solvers -- the sequence of action functions
...
Publications
Publications
Talks
Journal publications
Theses
Picture show
FAQ & Contact
FAQ
Change log
Bugs and other known problems
Completeness of the library & our "To-Do List"
Contact the developers
Get involved

 Beta release! 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 oomph-lib AT maths DOT man DOT ac DOT uk if you wish to be informed of the library's "official" release.

# MyEllipse Class Reference

List of all members.

## Detailed Description

Oscillating ellipse

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.

## Constructor & Destructor Documentation

 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]

Destructor: Empty.

Definition at line 61 of file osc_quarter_ellipse.cc.

## Member Function Documentation

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

Parametrised position on object: r(xi). Evaluated at previous time level. t=0: current time; t>0: previous time level.

Definition at line 79 of file osc_quarter_ellipse.cc.

References A, A_hat, T, and Time_pt.

 void MyEllipse::position ( const Vector< double > & xi, Vector< double > & r ) const [inline]

Current position vector to material point at Lagrangian coordinate xi.

Definition at line 65 of file osc_quarter_ellipse.cc.

References A, A_hat, T, and Time_pt.

## Member Data Documentation

 double MyEllipse::A [private]

x-half axis

Definition at line 94 of file osc_quarter_ellipse.cc.

Referenced by position().

 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().

The documentation for this class was generated from the following file:
Generated on Mon Aug 10 11:34:05 2009 by  1.4.7