//////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// 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 |
Constructor: Pass x and y-coords of centre and radius (all pinned)
Definition at line 101 of file circle.h.
References Geom_data_pt, Must_clean_up, x_c(), and y_c().
|
inline |
Alternative constructor: Pass x and y-coords of centre and radius (all as part of Data)
Definition at line 143 of file circle.h.
References geom_data_pt(), Geom_data_pt, and Must_clean_up.
|
inlinevirtual |
Destructor: Clean up if necessary.
Definition at line 167 of file circle.h.
References Geom_data_pt, Must_clean_up, and ngeom_data().
|
inline |
Return pointer to the j-th Data item that the object's shape depends on.
Definition at line 218 of file circle.h.
References Geom_data_pt.
Referenced by GeneralCircle().
|
inline |
How many items of Data does the shape of the object depend on?
Definition at line 214 of file circle.h.
References Geom_data_pt.
Referenced by ~GeneralCircle().
|
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 200 of file circle.h.
References position().
|
inline |
Position Vector at Lagrangian coordinate zeta.
Definition at line 183 of file circle.h.
References Geom_data_pt, and R().
Referenced by main(), and position().
|
inline |
Access function to radius of circle.
Definition at line 211 of file circle.h.
References Geom_data_pt.
Referenced by position().
|
inline |
Access function to x-coordinate of centre of circle.
Definition at line 205 of file circle.h.
References Geom_data_pt.
Referenced by GeneralCircle().
|
inline |
Access function to y-coordinate of centre of circle.
Definition at line 208 of file circle.h.
References Geom_data_pt.
Referenced by GeneralCircle().
|
protected |
Vector of pointers to Data items that affects the object's shape.
Definition at line 224 of file circle.h.
Referenced by GeneralCircle(), geom_data_pt(), ngeom_data(), position(), R(), x_c(), y_c(), and ~GeneralCircle().
|
protected |
Do I need to clean up?
Definition at line 227 of file circle.h.
Referenced by GeneralCircle(), and ~GeneralCircle().