![]() |
|
Penetrator – here implemented as a circle. More...
#include <contact_elements.h>
Public Member Functions | |
CircularPenetrator (Vector< double > *r_c_pt, const double &r) | |
Constructor: Pass pointer to centre and radius. More... | |
virtual | ~CircularPenetrator () |
Destructor. More... | |
void | penetration (const Vector< double > &x, const Vector< double > &n, double &d, bool &intersection) const |
Get penetration for given point x. More... | |
void | output (std::ostream &outfile, const unsigned &nplot) const |
Output coordinates of penetrator at nplot plot points. More... | |
void | position_from_zeta (const Vector< double > &zeta, Vector< double > &r) const |
Get position to surface, r, in terms of surface coordinate zeta. More... | |
void | surface_coordinate (const Vector< double > &x, Vector< double > &zeta) const |
Vector< double > | rigid_body_displacement () const |
Get rigid body displacement of reference point in penetrator. More... | |
void | set_original_centre (const Vector< double > &orig_centre) |
![]() | |
Penetrator () | |
Constructor. More... | |
virtual | ~Penetrator () |
Destructor. More... | |
virtual Vector< std::pair< Data *, unsigned > > | equilibrium_data () |
Protected Attributes | |
Vector< double > * | Centre_pt |
Vector< double > | Orig_centre |
double | Radius |
Radius of penetrator. More... | |
Penetrator – here implemented as a circle.
///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
|
inline |
Constructor: Pass pointer to centre and radius.
References Centre_pt, i, n, Orig_centre, UniformPSDSelfTest::r, and Radius.
|
inlinevirtual |
Output coordinates of penetrator at nplot plot points.
Implements oomph::Penetrator.
References cos(), j, oomph::MathematicalConstants::Pi, Radius, and sin().
|
inlinevirtual |
Get penetration for given point x.
Implements oomph::Penetrator.
References min, n, Radius, sqrt(), and plotDoE::x.
|
inline |
Get position to surface, r, in terms of surface coordinate zeta.
References cos(), UniformPSDSelfTest::r, Radius, sin(), and Eigen::zeta().
Get rigid body displacement of reference point in penetrator.
Reimplemented from oomph::Penetrator.
References i, n, and Orig_centre.
Set original centre of penetrator (for computation of rigid body displacement
References Orig_centre.
|
inlinevirtual |
Get surface coordinate along penetrator for given point x. We assume that point on the surface and given point share the same polar angle and return that polar angle
Reimplemented from oomph::Penetrator.
References atan2(), Centre_pt, plotDoE::x, and Eigen::zeta().
Pointer to centre of penetrator (origin for cylindrical polar coordinate system)
Referenced by CircularPenetrator(), surface_coordinate(), and oomph::HeatedCircularPenetrator::temperature().
Original centre of penetrator (origin for cylindrical polar coordinate system)
Referenced by CircularPenetrator(), rigid_body_displacement(), and set_original_centre().
|
protected |
Radius of penetrator.
Referenced by CircularPenetrator(), output(), penetration(), and position_from_zeta().