MBSim

Project Page
Public Member Functions | Protected Attributes
MBSim::Contour1s Class Reference

basic class for contours described by one contour parameter $s$ More...

#include <contour1s.h>

Inheritance diagram for MBSim::Contour1s:
MBSim::ContourContinuum< double > MBSim::Contour MBSim::Element MBSim::Contour1sAnalytical

List of all members.

Public Member Functions

 Contour1s (const std::string &name)
 constructor
std::string getType () const
virtual fmatvec::Vec computeTangent (ContourPointData &cp)
virtual fmatvec::Vec computeBinormal (ContourPointData &cp)
virtual double computeCurvature (ContourPointData &cp)
virtual double computeDistance (const double s, const int order=0)
void setDiameter (double diameter_)
double getDiameter ()
- Public Member Functions inherited from MBSim::ContourContinuum< double >
 ContourContinuum (const std::string &name)
 constructor
virtual void computeRootFunctionPosition (ContourPointData &cp)=0
 compute necessary parameters for contact kinematics root function
virtual void computeRootFunctionFirstTangent (ContourPointData &cp)=0
virtual void computeRootFunctionNormal (ContourPointData &cp)=0
virtual void computeRootFunctionSecondTangent (ContourPointData &cp)=0
void setAlphaStart (doubleas_)
void setAlphaEnd (doubleae_)
const double & getAlphaStart () const
const double & getAlphaEnd () const
void setNodes (const std::vector< double > &nodes_)
const std::vector< double > & getNodes () const
- Public Member Functions inherited from MBSim::Contour
 Contour (const std::string &name)
 constructor
virtual ~Contour ()
 destructor
virtual void plot (double t, double dt=1)
 plots time dependent data
virtual void updateKinematicsForFrame (ContourPointData &cp, FrameFeature ff)=0
 cartesian kinematic for contour (normal, tangent, binormal) is set by implementation class
virtual void updateJacobiansForFrame (ContourPointData &cp, int j=0)=0
 JACOBIAN for contour (normal, tangent, binormal) is set by implementation class.
virtual fmatvec::Vec computeNormal (ContourPointData &cp)
virtual fmatvec::Vec computePosition (ContourPointData &cp)
virtual fmatvec::Vec computeVelocity (ContourPointData &cp)
virtual fmatvec::Vec computeAngularVelocity (ContourPointData &cp)
virtual fmatvec::Vec computeLagrangeParameter (const fmatvec::Vec &WrPoint)
 projects the point on the contour to compute the Lagrange parameter
virtual void setReferencePosition (const fmatvec::Vec &WrOP)
virtual void setReferenceOrientation (const fmatvec::SqrMat &AWC)
virtual void setReferenceVelocity (const fmatvec::Vec &WvP)
virtual void setReferenceAngularVelocity (const fmatvec::Vec &WomegaC)
virtual void setReferenceJacobianOfTranslation (const fmatvec::Mat &WJP, int j=0)
virtual void setReferenceGyroscopicAccelerationOfTranslation (const fmatvec::Vec &WjP, int j=0)
virtual void setReferenceJacobianOfRotation (const fmatvec::Mat &WJR, int j=0)
virtual void setReferenceGyroscopicAccelerationOfRotation (const fmatvec::Vec &WjR, int j=0)
virtual void setReferenceAcceleration (const fmatvec::Vec &WaP)
virtual void setReferenceAngularAcceleration (const fmatvec::Vec &WpsiC)
virtual void init (InitStage stage)
 TODO.
virtual ContactKinematics * findContactPairingWith (std::string type0, std::string type1)=0
 find contact kinematics
Frame * getFrame ()
const fmatvec::Vec & getReferencePosition () const
const fmatvec::SqrMat & getReferenceOrientation () const
const fmatvec::Vec & getReferenceVelocity () const
const fmatvec::Vec & getReferenceAngularVelocity () const
const fmatvec::Mat & getReferenceJacobianOfTranslation (int j=0) const
const fmatvec::Mat & getReferenceJacobianOfRotation (int j=0) const
fmatvec::Mat & getReferenceJacobianOfTranslation (int j=0)
fmatvec::Mat & getReferenceJacobianOfRotation (int j=0)
const fmatvec::Vec & getReferenceGyroscopicAccelerationOfTranslation () const
const fmatvec::Vec & getReferenceGyroscopicAccelerationOfRotation () const
fmatvec::Vec & getReferenceGyroscopicAccelerationOfTranslation ()
fmatvec::Vec & getReferenceGyroscopicAccelerationOfRotation ()
int gethSize (int i=0) const
int gethInd (int i=0) const
void sethSize (int size, int i=0)
void sethInd (int ind, int i=0)
virtual void setPlotFeature (PlotFeature pf, PlotFeatureStatus value)
 Set a plot feature.
- Public Member Functions inherited from MBSim::Element
 Element (const std::string &name)
 constructor
virtual ~Element ()
 destructor
virtual void initDataInterfaceBase (DynamicSystemSolver *parentds)
 TODO.
virtual void setDynamicSystemSolver (DynamicSystemSolver *sys)
virtual void plotAtSpecialEvent (double t, double dt=1)
 plots time dependent data at special events
virtual void closePlot ()
 closes plot file
const std::string & getName () const
const std::string getShortName () const
void setName (const std::string &str)
DynamicSystemSolver * getDynamicSystemSolver ()
virtual void createPlotGroup ()
 creates the plotGroup for H5-output
H5::Group * getPlotGroup ()
void setPlotFeatureForChildren (PlotFeature pf, PlotFeatureStatus value)
 Set a plot feature for the children of this object.
void setPlotFeatureRecursive (PlotFeature pf, PlotFeatureStatus value)
 Set a plot feature for this object and the children of this object.
PlotFeatureStatus getPlotFeature (PlotFeature pf)
PlotFeatureStatus getPlotFeatureForChildren (PlotFeature pf)
virtual void initializeUsingXML (TiXmlElement *element)
template<class T >
T * getByPath (std::string path)
 a general element access
virtual Element * getByPathSearch (std::string path)
 a general element search by path
virtual Element * getParent ()
virtual const Element * getParent () const
virtual void setParent (Element *parent_)
std::string getPath (char pathDelim='.')

Protected Attributes

double diameter
 diameter of neutral fibre
- Protected Attributes inherited from MBSim::ContourContinuum< double >
double as
double ae
std::vector< double > nodes
- Protected Attributes inherited from MBSim::Contour
int hSize [2]
 object the contour belongs to
int hInd [2]
Frame R
 coordinate system of contour
- Protected Attributes inherited from MBSim::Element
Element * parent
std::string name
 name of element
DynamicSystemSolver * ds
 dynamic system
H5::VectorSerie< double > * plotVectorSerie
 time series
std::vector< double > plotVector
 one entry of time series
std::vector< std::string > plotColumns
 columns of time series
H5::Group * plotGroup
 associated plot group

Detailed Description

basic class for contours described by one contour parameter $s$

Author:
Roland Zander
Date:
2009-04-20 frame-concept (Thorsten Schindler)
2009-06-04 new file (Thorsten Schindler)

Constructor & Destructor Documentation

MBSim::Contour1s::Contour1s ( const std::string &  name)
inline

constructor

Parameters:
nameof contour

Member Function Documentation

virtual fmatvec::Vec MBSim::Contour1s::computeBinormal ( ContourPointData &  cp)
inlinevirtual
Returns:
binormal in world frame
Parameters:
Lagrangianposition
virtual double MBSim::Contour1s::computeCurvature ( ContourPointData &  cp)
inlinevirtual
Returns:
radius of contour in contour point
Parameters:
contourposition

Reimplemented from MBSim::ContourContinuum< double >.

Reimplemented in MBSim::Contour1sAnalytical.

virtual double MBSim::Contour1s::computeDistance ( const double  s,
const int  order = 0 
)
inlinevirtual
Returns:
distance between frameOfReference and possible contour point
Parameters:
Lagrangianposition
orderOfDerivative

Reimplemented in MBSim::Contour1sAnalytical.

virtual fmatvec::Vec MBSim::Contour1s::computeTangent ( ContourPointData &  cp)
inlinevirtual
Returns:
tangent in world frame
Parameters:
contourposition
std::string MBSim::Contour1s::getType ( ) const
inlinevirtual
Returns:
std::string representation

Reimplemented from MBSim::ContourContinuum< double >.

Reimplemented in MBSim::Contour1sAnalytical.


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