GeneralCircle in 2D space.
The three parameters and
are represented by Data and can therefore be unknowns in the problem.
More...
#include <circle.h>
Public Member Functions | |
GeneralCircle (const double &x_c, const double &y_c, const double &r) | |
Constructor: Pass x and y-coords of centre and radius (all pinned) More... | |
GeneralCircle (Data *geom_data_pt) | |
Alternative constructor: Pass x and y-coords of centre and radius (all as part of Data) More... | |
virtual | ~GeneralCircle () |
Destructor: Clean up if necessary. More... | |
void | position (const Vector< double > &zeta, Vector< double > &r) const |
Position Vector at Lagrangian coordinate zeta. More... | |
void | position (const unsigned &t, const Vector< double > &zeta, Vector< double > &r) const |
Position Vector at Lagrangian coordinate zeta at time level t (t=0: present; t>0: previous level). Steady object, so we simply forward the call to the steady version. More... | |
double & | x_c () |
Access function to x-coordinate of centre of circle. More... | |
double & | y_c () |
Access function to y-coordinate of centre of circle. More... | |
double & | R () |
Access function to radius of circle. More... | |
unsigned | ngeom_data () const |
How many items of Data does the shape of the object depend on? More... | |
Data * | geom_data_pt (const unsigned &j) |
Return pointer to the j-th Data item that the object's shape depends on. More... | |
Protected Attributes | |
Vector< Data * > | Geom_data_pt |
Vector of pointers to Data items that affects the object's shape. More... | |
bool | Must_clean_up |
Do I need to clean up? More... | |
GeneralCircle in 2D space.
The three parameters and
are represented by Data and can therefore be unknowns in the problem.
|
inline |
|
inline |
Alternative constructor: Pass x and y-coords of centre and radius (all as part of Data)
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
Position Vector at Lagrangian coordinate zeta.
Definition at line 187 of file circle.h.
References oomph::SimpleCircle::R, oomph::SimpleCircle::X_c, and oomph::SimpleCircle::Y_c.
Referenced by main().
|
inline |
Position Vector at Lagrangian coordinate zeta at time level t (t=0: present; t>0: previous level). Steady object, so we simply forward the call to the steady version.
Definition at line 204 of file circle.h.
References oomph::SimpleCircle::position().
|
inline |
|
inline |
|
inline |
Access function to y-coordinate of centre of circle.
Definition at line 212 of file circle.h.
Referenced by oomph::ElasticallySupportedRingElement::fill_in_generic_residual_contribution(), and main().
|
protected |
Vector of pointers to Data items that affects the object's shape.
Definition at line 228 of file circle.h.
Referenced by oomph::ElasticallySupportedRingElement::ElasticallySupportedRingElement().
|
protected |
Do I need to clean up?
Definition at line 231 of file circle.h.
Referenced by oomph::ElasticallySupportedRingElement::ElasticallySupportedRingElement().