mbsimflexiblebody  4.0.0
Public Member Functions | Protected Attributes
MBSimFlexibleBody::NurbsCurve1s Class Reference

contour 1s flexible with NURBS parametrization More...

#include <nurbs_curve_1s.h>

List of all members.

Public Member Functions

 NurbsCurve1s (const std::string &name)
 constructor
virtual ~NurbsCurve1s ()
 destructor
virtual std::string getType () const
virtual void computeRootFunctionPosition (MBSim::ContourPointData &cp)
virtual void computeRootFunctionFirstTangent (MBSim::ContourPointData &cp)
virtual void computeRootFunctionNormal (MBSim::ContourPointData &cp)
virtual void computeRootFunctionSecondTangent (MBSim::ContourPointData &cp)
virtual void updateKinematicsForFrame (MBSim::ContourPointData &cp, MBSim::Frame::Frame::Feature ff)
virtual void updateJacobiansForFrame (MBSim::ContourPointData &cp, int j=0)
virtual MBSim::ContactKinematics * findContactPairingWith (std::string type0, std::string type1)
void setNormalRotationGrid (fmatvec::Vec normal_)
void initContourFromBody (InitStage stage)
 initialize NURBS curve
void computeCurveTranslations (bool update=false)
 interpolates the translations with node-data from body
void computeCurveVelocities (bool update=false)
 interpolates the velocities with the node-data from the body
void computeCurveAngularVelocities (bool update=false)
 interpolates the angular velocities with the node-data from the body
void computeCurveJacobians (bool trans=true, bool rot=true, bool update=false)
 interpolates the Jacobians of translation with the node-data from the body

Protected Attributes

int Elements
 number of elements
int qSize
 number of DOFs
bool openStructure
 open or closed beam structure
double L
 length of entire curve
int degU
 interpolation degree
MBSim::NurbsCurve curveTranslations
 interpolated translations of the contour
MBSim::NurbsCurve curveVelocities
 interpolated velocities of the contour
MBSim::NurbsCurve curveAngularVelocities
 interpolated angular velocities of the contour
fmatvec::Vec3 normalRotationGrid
 closest normal on rotation grid to update direction of normal of nurbs-curve and to avoid jumping
std::vector
< MBSim::ContourPointData > 
jacobiansTrans
 Jacobians of Translation of finite element nodes.
std::vector
< MBSim::ContourPointData > 
jacobiansRot
 Jacobians of Rotation of finite element nodes.
std::vector< MBSim::NurbsCurve > CurveJacobiansOfTranslation
 interpolated Jacobians of Translation of the contour
std::vector< MBSim::NurbsCurve > CurveJacobiansOfRotation
 interpolated Jacobians of Rotation on the contour

Detailed Description

contour 1s flexible with NURBS parametrization

Author:
Thorsten Schindler
Kilian Grundl
Date:
2011-10-16 initial commit (Thorsten Schindler)
2012-03-15 updateKinematicsForFrame and contact Jacobians (Cebulla / Schindler)
2013-02-04 contour now for 2D and 3D Cosserat beam (Zitzewitz / Cebulla / Schindler)
2013-08-19 using self implemented nurbs-curve

Constructor & Destructor Documentation

MBSimFlexibleBody::NurbsCurve1s::NurbsCurve1s ( const std::string &  name)

constructor

Parameters:
nameof contour

Member Function Documentation

void MBSimFlexibleBody::NurbsCurve1s::computeCurveJacobians ( bool  trans = true,
bool  rot = true,
bool  update = false 
)

interpolates the Jacobians of translation with the node-data from the body

Parameters:
interpolatetranslational jacobian
interpolaterotational jacobian

initialize NURBS curve

Parameters:
stageof initialisation

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