Public Member Functions | Private Attributes | List of all members
NewStraightLine Class Reference

Steady, straight 1D line in 2D space with stretch_ratio. More...

Inheritance diagram for NewStraightLine:

Public Member Functions

 NewStraightLine (const double &stretch_ratio=1.0)
 Constructor derives from GeomObject(1, 2) Pass stretch_ratio to this class (defaults to 1 in which case the Lagrangian coordinate is the arclength)
 
 NewStraightLine (const NewStraightLine &dummy)=delete
 Broken copy constructor.
 
void operator= (const NewStraightLine &)=delete
 Broken assignment operator.
 
void position (const Vector< double > &zeta, Vector< double > &r) const
 Position Vector at Lagrangian coordinate zeta.
 
virtual void dposition (const Vector< double > &zeta, DenseMatrix< double > &drdzeta) const
 Derivative of position Vector w.r.t. to coordinates: $ \frac{dR_i}{d \zeta_\alpha}$ = drdzeta(alpha,i). Evaluated at current time.
 
virtual void d2position (const Vector< double > &zeta, RankThreeTensor< double > &ddrdzeta) const
 2nd derivative of position Vector w.r.t. to coordinates: $ \frac{d^2R_i}{d \zeta_\alpha d \zeta_\beta}$ = ddrdzeta(alpha,beta,i). Evaluated at current time.
 
virtual void d2position (const Vector< double > &zeta, Vector< double > &r, DenseMatrix< double > &drdzeta, RankThreeTensor< double > &ddrdzeta) const
 Posn Vector and its 1st & 2nd derivatives w.r.t. to coordinates: $ \frac{dR_i}{d \zeta_\alpha}$ = drdzeta(alpha,i). $ \frac{d^2R_i}{d \zeta_\alpha d \zeta_\beta}$ = ddrdzeta(alpha,beta,i). Evaluated at current time.
 

Private Attributes

double Stretch_ratio
 Define the length of the beam.
 

Detailed Description

Steady, straight 1D line in 2D space with stretch_ratio.

\[ x = \zeta stretch_ratio \]

\[ y = 0  \]

Definition at line 42 of file tensioned_string2.cc.

Constructor & Destructor Documentation

◆ NewStraightLine() [1/2]

NewStraightLine::NewStraightLine ( const double &  stretch_ratio = 1.0)
inline

Constructor derives from GeomObject(1, 2) Pass stretch_ratio to this class (defaults to 1 in which case the Lagrangian coordinate is the arclength)

Definition at line 49 of file tensioned_string2.cc.

References Stretch_ratio.

◆ NewStraightLine() [2/2]

NewStraightLine::NewStraightLine ( const NewStraightLine dummy)
delete

Broken copy constructor.

Member Function Documentation

◆ d2position() [1/2]

virtual void NewStraightLine::d2position ( const Vector< double > &  zeta,
RankThreeTensor< double > &  ddrdzeta 
) const
inlinevirtual

2nd derivative of position Vector w.r.t. to coordinates: $ \frac{d^2R_i}{d \zeta_\alpha d \zeta_\beta}$ = ddrdzeta(alpha,beta,i). Evaluated at current time.

Definition at line 83 of file tensioned_string2.cc.

◆ d2position() [2/2]

virtual void NewStraightLine::d2position ( const Vector< double > &  zeta,
Vector< double > &  r,
DenseMatrix< double > &  drdzeta,
RankThreeTensor< double > &  ddrdzeta 
) const
inlinevirtual

Posn Vector and its 1st & 2nd derivatives w.r.t. to coordinates: $ \frac{dR_i}{d \zeta_\alpha}$ = drdzeta(alpha,i). $ \frac{d^2R_i}{d \zeta_\alpha d \zeta_\beta}$ = ddrdzeta(alpha,beta,i). Evaluated at current time.

Definition at line 98 of file tensioned_string2.cc.

References Stretch_ratio.

◆ dposition()

virtual void NewStraightLine::dposition ( const Vector< double > &  zeta,
DenseMatrix< double > &  drdzeta 
) const
inlinevirtual

Derivative of position Vector w.r.t. to coordinates: $ \frac{dR_i}{d \zeta_\alpha}$ = drdzeta(alpha,i). Evaluated at current time.

Definition at line 71 of file tensioned_string2.cc.

References Stretch_ratio.

◆ operator=()

void NewStraightLine::operator= ( const NewStraightLine )
delete

Broken assignment operator.

◆ position()

void NewStraightLine::position ( const Vector< double > &  zeta,
Vector< double > &  r 
) const
inline

Position Vector at Lagrangian coordinate zeta.

Definition at line 61 of file tensioned_string2.cc.

References Stretch_ratio.

Member Data Documentation

◆ Stretch_ratio

double NewStraightLine::Stretch_ratio
private

Define the length of the beam.

Definition at line 119 of file tensioned_string2.cc.

Referenced by d2position(), dposition(), NewStraightLine(), and position().


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