Public Member Functions | List of all members
UnitCircle Class Reference

Unit circle in 2D, centred at the origin, parametrised by a single Lagrangian coordinate, the polar angle. More...

Inheritance diagram for UnitCircle:

Public Member Functions

 UnitCircle ()
 Constructor: Pass the number of Lagrangian and Eulerian coordinates to the constructor of the GeomObject base class.
 
virtual ~UnitCircle ()
 Destructor – emtpy.
 
void position (const Vector< double > &xi, Vector< double > &r) const
 Position vector, r, to the point on the circle identified by
its 1D Lagrangian coordinate, xi (passed as a 1D Vector):
 
void position (const unsigned &t, const Vector< double > &xi, Vector< double > &r) const
 Position vector, r, to the point on the circle identified by
its 1D Lagrangian coordinate, xi (passed as a 1D Vector) at discrete time level t (t=0: present; t>0: previous). The shape of the object is not time-dependent, therefore we forward this call to the steady version.
 

Detailed Description

Unit circle in 2D, centred at the origin, parametrised by a single Lagrangian coordinate, the polar angle.

Definition at line 43 of file fish_domain.cc.

Constructor & Destructor Documentation

◆ UnitCircle()

UnitCircle::UnitCircle ( )
inline

Constructor: Pass the number of Lagrangian and Eulerian coordinates to the constructor of the GeomObject base class.

Definition at line 51 of file fish_domain.cc.

◆ ~UnitCircle()

virtual UnitCircle::~UnitCircle ( )
inlinevirtual

Destructor – emtpy.

Definition at line 54 of file fish_domain.cc.

Member Function Documentation

◆ position() [1/2]

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

Position vector, r, to the point on the circle identified by
its 1D Lagrangian coordinate, xi (passed as a 1D Vector) at discrete time level t (t=0: present; t>0: previous). The shape of the object is not time-dependent, therefore we forward this call to the steady version.

Definition at line 71 of file fish_domain.cc.

References position().

◆ position() [2/2]

void UnitCircle::position ( const Vector< double > &  xi,
Vector< double > &  r 
) const
inline

Position vector, r, to the point on the circle identified by
its 1D Lagrangian coordinate, xi (passed as a 1D Vector):

Definition at line 58 of file fish_domain.cc.

Referenced by main(), and position().


The documentation for this class was generated from the following file: