![]() |
|
Public Member Functions | |
MyEllipse (const double &a, const double &b, const double &a_hat, const double &b_hat, const double &period, Time *time_pt) | |
virtual | ~MyEllipse () |
Destructor: Empty. More... | |
void | position (const Vector< double > &xi, Vector< double > &r) const |
void | position (const unsigned &t, const Vector< double > &xi, Vector< double > &r) const |
MyEllipse (const double &a, const double &a_hat, const double &period, Time *time_pt) | |
virtual | ~MyEllipse () |
Destructor: Empty. More... | |
void | position (const Vector< double > &xi, Vector< double > &r) const |
void | position (const unsigned &t, const Vector< double > &xi, Vector< double > &r) const |
MyEllipse (const double &a, const double &b) | |
Constructor: Pass half axes. More... | |
virtual | ~MyEllipse () |
Destructor: Empty. More... | |
void | position (const Vector< double > &xi, Vector< double > &r) const |
void | position (const unsigned &t, const Vector< double > &xi, Vector< double > &r) const |
MyEllipse (const double &a, const double &b, const double &a_hat, const double &b_hat, const double &period, Time *time_pt) | |
virtual | ~MyEllipse () |
Destructor: Empty. More... | |
void | position (const Vector< double > &xi, Vector< double > &r) const |
void | position (const unsigned &t, const Vector< double > &xi, Vector< double > &r) const |
MyEllipse (const double &a, const double &b, const double &a_hat, const double &b_hat, const double &period, Time *time_pt) | |
virtual | ~MyEllipse () |
Destructor: Empty. More... | |
void | position (const Vector< double > &xi, Vector< double > &r) const |
void | position (const unsigned &t, const Vector< double > &xi, Vector< double > &r) const |
![]() | |
GeomObject () | |
Default constructor. More... | |
GeomObject (const unsigned &ndim) | |
GeomObject (const unsigned &nlagrangian, const unsigned &ndim) | |
GeomObject (const unsigned &nlagrangian, const unsigned &ndim, TimeStepper *time_stepper_pt) | |
GeomObject (const GeomObject &dummy)=delete | |
Broken copy constructor. More... | |
void | operator= (const GeomObject &)=delete |
Broken assignment operator. More... | |
virtual | ~GeomObject () |
(Empty) destructor More... | |
unsigned | nlagrangian () const |
Access function to # of Lagrangian coordinates. More... | |
unsigned | ndim () const |
Access function to # of Eulerian coordinates. More... | |
void | set_nlagrangian_and_ndim (const unsigned &n_lagrangian, const unsigned &n_dim) |
Set # of Lagrangian and Eulerian coordinates. More... | |
TimeStepper *& | time_stepper_pt () |
TimeStepper * | time_stepper_pt () const |
virtual unsigned | ngeom_data () const |
virtual Data * | geom_data_pt (const unsigned &j) |
virtual void | position (const double &t, const Vector< double > &zeta, Vector< double > &r) const |
virtual void | dposition_dt (const Vector< double > &zeta, const unsigned &j, Vector< double > &drdt) |
virtual void | dposition (const Vector< double > &zeta, DenseMatrix< double > &drdzeta) const |
virtual void | d2position (const Vector< double > &zeta, RankThreeTensor< double > &ddrdzeta) const |
virtual void | d2position (const Vector< double > &zeta, Vector< double > &r, DenseMatrix< double > &drdzeta, RankThreeTensor< double > &ddrdzeta) const |
virtual void | locate_zeta (const Vector< double > &zeta, GeomObject *&sub_geom_object_pt, Vector< double > &s, const bool &use_coordinate_as_initial_guess=false) |
virtual void | interpolated_zeta (const Vector< double > &s, Vector< double > &zeta) const |
Protected Attributes | |
double | A |
x-half axis More... | |
double | B |
y-half axis More... | |
double | A_hat |
Amplitude of variation in x-half axis. More... | |
double | B_hat |
Amplitude of variation in y-half axis. More... | |
double | T |
Period of oscillation. More... | |
Time * | Time_pt |
Pointer to time object. More... | |
![]() | |
unsigned | NLagrangian |
Number of Lagrangian (intrinsic) coordinates. More... | |
unsigned | Ndim |
Number of Eulerian coordinates. More... | |
TimeStepper * | Geom_object_time_stepper_pt |
Oscillating ellipse
\[ x = (a + \widehat{a} \sin(2\Pi t/T)) \cos(\xi) \]
\[ y = (b + \widehat{b} \sin(2\Pi t/T)) \sin(\xi) \]
Oscillating ellipse
\[ x = (A + \widehat{A} \cos(2\pi t/T)) \cos(\xi) \]
\[ y = \frac{\sin(\xi)}{A + \widehat{A} \cos(2\pi t/T)} \]
Note that cross-sectional area is conserved.
Ellipse
\[ x = a \cos(\xi) \]
\[ y = b \sin(\xi) \]
|
inline |
Constructor: Pass half axes, amplitudes of their variation, period of oscillation and pointer to time object.
Constructor: Pass half axes.
|
inlinevirtual |
Parametrised position on object: r(xi). Evaluated at previous time level. t=0: current time; t>0: previous time level.
Reimplemented from oomph::GeomObject.
References Global_Physical_Variables::A_hat, cos(), BiharmonicTestFunctions2::Pi, UniformPSDSelfTest::r, sin(), plotPSD::t, oomph::Time::time(), and Flag_definition::Time_pt.
|
inlinevirtual |
Parametrised position on object: r(xi). Evaluated at previous time level. t=0: current time; t>0: previous time level.
Reimplemented from oomph::GeomObject.
References Global_Physical_Variables::A_hat, cos(), BiharmonicTestFunctions2::Pi, UniformPSDSelfTest::r, sin(), plotPSD::t, oomph::Time::time(), and Flag_definition::Time_pt.
|
inlinevirtual |
Parametrised position on object: r(xi). Evaluated at previous time level. t=0: current time; t>0: previous time level.
Reimplemented from oomph::GeomObject.
References UniformPSDSelfTest::r.
|
inlinevirtual |
Parametrised position on object: r(xi). Evaluated at previous time level. t=0: current time; t>0: previous time level.
Reimplemented from oomph::GeomObject.
References Global_Physical_Variables::A_hat, cos(), BiharmonicTestFunctions2::Pi, UniformPSDSelfTest::r, sin(), plotPSD::t, oomph::Time::time(), and Flag_definition::Time_pt.
|
inlinevirtual |
Parametrised position on object: r(xi). Evaluated at previous time level. t=0: current time; t>0: previous time level.
Reimplemented from oomph::GeomObject.
References Global_Physical_Variables::A_hat, cos(), BiharmonicTestFunctions2::Pi, UniformPSDSelfTest::r, sin(), plotPSD::t, oomph::Time::time(), and Flag_definition::Time_pt.
Current position vector to material point at Lagrangian coordinate xi
Implements oomph::GeomObject.
References Global_Physical_Variables::A_hat, cos(), BiharmonicTestFunctions2::Pi, UniformPSDSelfTest::r, sin(), oomph::Time::time(), and Flag_definition::Time_pt.
Current position vector to material point at Lagrangian coordinate xi
Implements oomph::GeomObject.
References Global_Physical_Variables::A_hat, cos(), BiharmonicTestFunctions2::Pi, UniformPSDSelfTest::r, sin(), oomph::Time::time(), and Flag_definition::Time_pt.
Current position vector to material point at Lagrangian coordinate xi
Implements oomph::GeomObject.
References cos(), UniformPSDSelfTest::r, and sin().
Current position vector to material point at Lagrangian coordinate xi
Implements oomph::GeomObject.
References Global_Physical_Variables::A_hat, cos(), BiharmonicTestFunctions2::Pi, UniformPSDSelfTest::r, sin(), oomph::Time::time(), and Flag_definition::Time_pt.
Current position vector to material point at Lagrangian coordinate xi
Implements oomph::GeomObject.
References Global_Physical_Variables::A_hat, cos(), BiharmonicTestFunctions2::Pi, UniformPSDSelfTest::r, sin(), oomph::Time::time(), and Flag_definition::Time_pt.
|
protected |
x-half axis
|
protected |
Amplitude of variation in x-half axis.
|
protected |
y-half axis
|
protected |
Amplitude of variation in y-half axis.
|
protected |
Period of oscillation.
|
protected |
Pointer to time object.