Simple circle in 2D space. More...
#include <circle.h>
Public Member Functions | |
SimpleCircle (const double &x_c, const double &y_c, const double &r) | |
Constructor: Pass x and y-coords of centre and radius. | |
void | position (const Vector< double > &zeta, Vector< double > &r) const |
Position Vector at Lagrangian coordinate zeta. | |
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. | |
Protected Attributes | |
double | X_c |
X-coordinate of centre. | |
double | Y_c |
Y-coordinate of centre. | |
double | R |
Radius. | |
|
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 62 of file circle.h.
References demo_fish_poisson(), and position().
|
inline |
Position Vector at Lagrangian coordinate zeta.
Definition at line 52 of file circle.h.
References demo_fish_poisson(), R, X_c, and Y_c.
Referenced by position().
|
protected |
|
protected |
|
protected |