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

List of all members.

Public Member Functions

 FlexibleBodyFFR (const std::string &name="")
virtual ~FlexibleBodyFFR ()
 destructor
virtual void updatedq (double t, double dt)
virtual void updateqd (double t)
virtual void updateT (double t)
virtual void updateh (double t, int j=0)
virtual void updatehInverseKinetics (double t, int j=0)
virtual void updateStateDerivativeDependentVariables (double t)
virtual void updateM (double t, int i=0)
virtual void updateStateDependentVariables (double t)
virtual void updateJacobians (double t, int j=0)
void updateJacobians0 (double t)
void updateJacobians1 (double t)
virtual void calcqSize ()
virtual void calcuSize (int j=0)
virtual void updateqRef (const fmatvec::Vec &ref)
virtual void updateuRef (const fmatvec::Vec &ref)
virtual void init (InitStage stage)
virtual void initz ()
virtual void facLLM (int i=0)
virtual void setUpInverseKinetics ()
virtual std::string getType () const
virtual void plot (double t, double dt=1)
virtual void updateKinematicsForSelectedFrame (double t)
 updates kinematics of kinematic Frame starting from reference Frame
virtual void updateJacobiansForSelectedFrame0 (double t)
 updates JACOBIAN for kinematics starting from reference Frame
virtual void updateKinematicsForRemainingFramesAndContours (double t)
 updates kinematics for remaining Frames starting with and from cog Frame
virtual void updateJacobiansForRemainingFramesAndContours (double t, int j=0)
 updates remaining JACOBIANS for kinematics starting with and from cog Frame
virtual void updateJacobiansForRemainingFramesAndContours1 (double t)
void setGeneralTranslation (MBSim::Function< fmatvec::Vec3(fmatvec::VecV, double)> *fPrPK_)
 set Kinematic for genral translational motion
void setTimeDependentTranslation (MBSim::Function< fmatvec::Vec3(double)> *fPrPK_)
 set Kinematic for only time dependent translational motion
void setStateDependentTranslation (MBSim::Function< fmatvec::Vec3(fmatvec::VecV)> *fPrPK_)
 set Kinematic for only state dependent translational motion
void setTranslation (MBSim::Function< fmatvec::Vec3(fmatvec::VecV, double)> *fPrPK_)
void setTranslation (MBSim::Function< fmatvec::Vec3(double)> *fPrPK_)
void setTranslation (MBSim::Function< fmatvec::Vec3(fmatvec::VecV)> *fPrPK_)
void setGeneralRotation (MBSim::Function< fmatvec::RotMat3(fmatvec::VecV, double)> *fAPK_)
 set Kinematic for general rotational motion
void setTimeDependentRotation (MBSim::Function< fmatvec::RotMat3(double)> *fAPK_)
 set Kinematic for only time dependent rotational motion
void setStateDependentRotation (MBSim::Function< fmatvec::RotMat3(fmatvec::VecV)> *fAPK_)
 set Kinematic for only state dependent rotational motion
void setRotation (MBSim::Function< fmatvec::RotMat3(fmatvec::VecV, double)> *fAPK_)
void setRotation (MBSim::Function< fmatvec::RotMat3(double)> *fAPK_)
void setRotation (MBSim::Function< fmatvec::RotMat3(fmatvec::VecV)> *fAPK_)
void setTranslationDependentRotation (bool dep)
void setCoordinateTransformationForRotation (bool ct)
MBSim::Function< fmatvec::Vec3(fmatvec::VecV,
double)> * 
getTranslation ()
 get Kinematic for translational motion
MBSim::Function
< fmatvec::RotMat3(fmatvec::VecV,
double)> * 
getRotation ()
 get Kinematic for rotational motion
double getMass () const
FixedNodalFrame * getFrameK ()
void setMass (double m_)
 Set the mass.
void setc0 (const fmatvec::Vec3 &c0_)
void setI0 (const fmatvec::SymMat3 &I0_)
 Set the inertia tensor of the undeformend state w.r.t.
void setC1 (const fmatvec::Mat3xV &C1_)
void setC3 (const std::vector< std::vector< fmatvec::SqrMatV > > &C3_)
void setC4 (const std::vector< fmatvec::SqrMat3 > &C4_)
void setKe (const fmatvec::SymMatV &Ke_)
void setDe (const fmatvec::SymMatV &De_)
void setProportionalDamping (const fmatvec::Vec2 &beta_)
void setC7 (const std::vector< fmatvec::SqrMatV > &C7_)
void setC8 (const std::vector< std::vector< fmatvec::SqrMatV > > &C8_)
void setK0t (const std::vector< fmatvec::SqrMatV > &K0t_)
void setK0r (const std::vector< fmatvec::SqrMatV > &K0r_)
void setK0om (const std::vector< fmatvec::SqrMatV > &K0om_)
void setke0 (const fmatvec::VecV &ke0_)
void setKe0 (const fmatvec::SqrMatV &Ke0_)
void setmCM (const Taylor< fmatvec::Vec3, fmatvec::Mat3xV > &mCM_)
void setmmi (const Taylor< fmatvec::SymMat3, std::vector< fmatvec::SymMat3 >, std::vector< std::vector< fmatvec::SqrMat3 > > > &mmi_)
void setCt (const Taylor< fmatvec::MatVx3, std::vector< fmatvec::SqrMatV > > &Ct_)
void setCr (const Taylor< fmatvec::MatVx3, std::vector< fmatvec::SqrMatV > > &Cr_)
void setMe (const Taylor< fmatvec::SymMatV > &Me_)
void setGr (const Taylor< std::vector< fmatvec::SqrMat3 >, std::vector< std::vector< fmatvec::SqrMat3 > > > &Gr_)
void setGe (const Taylor< std::vector< fmatvec::SqrMatV > > &Ge_)
void setOe (const Taylor< fmatvec::Matrix< fmatvec::General, fmatvec::Var, fmatvec::Fixed< 6 >, double >, std::vector< fmatvec::SqrMatV > > &Oe_)
void setKe (const Taylor< fmatvec::SymMatV, std::vector< fmatvec::SqrMatV >, std::vector< std::vector< fmatvec::SqrMatV > > > &Ke_)
void setDe (const Taylor< fmatvec::SymMatV, std::vector< fmatvec::SqrMatV >, std::vector< std::vector< fmatvec::SqrMatV > > > &De_)
void setksigma (const Taylor< fmatvec::VecV, fmatvec::SqrMatV > &ksigma_)
void readBIDFromFile (const std::string &file)
 Read basic input data (BID) from file.
void readSIDFromFile (const std::string &file)
 Read standard input data (SID) from file.
void addFrame (FixedNodalFrame *frame)
virtual void initializeUsingXML (xercesc::DOMElement *element)
virtual xercesc::DOMElement * writeXMLFile (xercesc::DOMNode *element)
const fmatvec::Mat3xV & getWJTrel () const
const fmatvec::Mat3xV & getWJRrel () const
fmatvec::Mat3xV & getWJTrel ()
fmatvec::Mat3xV & getWJRrel ()
fmatvec::Vec & getqRel ()
fmatvec::Vec & getuRel ()
fmatvec::Mat & getTRel ()
fmatvec::Mat3xV & getPJT (int i=0)
fmatvec::Mat3xV & getPJR (int i=0)
int getqRelSize () const
int getuRelSize (int i=0) const
bool transformCoordinates () const

Protected Member Functions

void updateMConst (double t, int i=0)
 update constant mass matrix
void updateMNotConst (double t, int i=0)
 update time dependend mass matrix
void facLLMConst (int i=0)
 Cholesky decomposition of constant mass matrix.
void facLLMNotConst (int i=0)
 Cholesky decomposition of time dependent mass matrix.
void determineSID ()
void prefillMassMatrix ()

Protected Attributes

double m
fmatvec::Vec3 c0
fmatvec::SymMat3 I0
fmatvec::Mat3xV C1
fmatvec::Mat3xV C2
std::vector< std::vector
< fmatvec::SqrMatV > > 
C3
std::vector< fmatvec::SqrMat3 > C4
std::vector< fmatvec::Mat3xV > C5
std::vector< std::vector
< fmatvec::SqrMat3 > > 
C6
std::vector< fmatvec::SqrMatV > C7
std::vector< std::vector
< fmatvec::SqrMatV > > 
C8
std::vector< fmatvec::SqrMatV > K0t
std::vector< fmatvec::SqrMatV > K0r
std::vector< fmatvec::SqrMatV > K0om
fmatvec::Vec2 beta
fmatvec::VecV ke0
fmatvec::SqrMatV Ke0
Taylor< fmatvec::Vec3,
fmatvec::Mat3xV > 
mCM
Taylor< fmatvec::SymMat3,
std::vector< fmatvec::SymMat3 >
, std::vector< std::vector
< fmatvec::SqrMat3 > > > 
mmi
Taylor< fmatvec::MatVx3,
std::vector< fmatvec::SqrMatV > > 
Ct
Taylor< fmatvec::MatVx3,
std::vector< fmatvec::SqrMatV > > 
Cr
Taylor< fmatvec::SymMatV > Me
Taylor< std::vector
< fmatvec::SqrMat3 >
, std::vector< std::vector
< fmatvec::SqrMat3 > > > 
Gr
Taylor< std::vector
< fmatvec::SqrMatV > > 
Ge
Taylor< fmatvec::Matrix
< fmatvec::General,
fmatvec::Var, fmatvec::Fixed
< 6 >, double >, std::vector
< fmatvec::SqrMatV > > 
Oe
Taylor< fmatvec::SymMatV,
std::vector< fmatvec::SqrMatV >
, std::vector< std::vector
< fmatvec::SqrMatV > > > 
Ke
Taylor< fmatvec::SymMatV,
std::vector< fmatvec::SqrMatV >
, std::vector< std::vector
< fmatvec::SqrMatV > > > 
De
Taylor< fmatvec::VecV,
fmatvec::SqrMatV > 
ksigma
int ne
FixedNodalFrame * K
fmatvec::SymMat Mbuf
 TODO.
bool coordinateTransformation
 boolean to use body fixed Frame for rotation
fmatvec::Mat3xV PJT [2]
 JACOBIAN of translation, rotation and their derivatives in parent system.
fmatvec::Mat3xV PJR [2]
fmatvec::Vec3 PjhT
fmatvec::Vec3 PjhR
fmatvec::Vec3 PjbT
fmatvec::Vec3 PjbR
fmatvec::SqrMat3 APK
 rotation matrix from kinematic Frame to parent Frame
fmatvec::Vec3 PrPK
 translation from parent to kinematic Frame in parent and world system
fmatvec::Vec3 WrPK
fmatvec::Vec3 WvPKrel
 translational and angular velocity from parent to kinematic Frame in world system
fmatvec::Vec3 WomPK
MBSim::Function< fmatvec::MatV(fmatvec::VecV)> * fTR
MBSim::Function< fmatvec::Vec3(fmatvec::VecV,
double)> * 
fPrPK
 translation from parent Frame to kinematic Frame in parent system
MBSim::Function
< fmatvec::RotMat3(fmatvec::VecV,
double)> * 
fAPK
 rotation from kinematic Frame to parent Frame
void(FlexibleBodyFFR::* updateM_ )(double t, int i)
 function pointer to update mass matrix
void(FlexibleBodyFFR::* facLLM_ )(int i)
 function pointer for Cholesky decomposition of mass matrix
void(FlexibleBodyFFR::* updateJacobians_ [2])(double t)
fmatvec::Vec aT
fmatvec::Vec aR
fmatvec::Vec qRel
fmatvec::Vec uRel
fmatvec::Mat TRel
fmatvec::VecV qTRel
fmatvec::VecV qRRel
fmatvec::VecV uTRel
fmatvec::VecV uRRel
fmatvec::Mat3xV WJTrel
fmatvec::Mat3xV WJRrel
fmatvec::Mat3xV PJTT
fmatvec::Mat3xV PJRR
int nu [2]
int nq
MBSim::Frame * frameForJacobianOfRotation
std::vector< FixedNodalFrame * > RBF
std::vector
< MBSim::CompoundContour * > 
RBC
fmatvec::Range< fmatvec::Var,
fmatvec::Var > 
iqT
fmatvec::Range< fmatvec::Var,
fmatvec::Var > 
iqR
fmatvec::Range< fmatvec::Var,
fmatvec::Var > 
iqE
fmatvec::Range< fmatvec::Var,
fmatvec::Var > 
iuT
fmatvec::Range< fmatvec::Var,
fmatvec::Var > 
iuR
fmatvec::Range< fmatvec::Var,
fmatvec::Var > 
iuE
bool translationDependentRotation
bool constJT
bool constJR
bool constjT
bool constjR
fmatvec::SymMatV M_
fmatvec::VecV h_
fmatvec::MatV KJ [2]
fmatvec::VecV Ki [2]

Member Function Documentation

MBSim::Function<fmatvec::RotMat3(fmatvec::VecV, double)>* MBSimFlexibleBody::FlexibleBodyFFR::getRotation ( ) [inline]

get Kinematic for rotational motion

Returns:
rotational kinematic description
MBSim::Function<fmatvec::Vec3(fmatvec::VecV, double)>* MBSimFlexibleBody::FlexibleBodyFFR::getTranslation ( ) [inline]

get Kinematic for translational motion

Returns:
translational kinematic description
void MBSimFlexibleBody::FlexibleBodyFFR::setGeneralRotation ( MBSim::Function< fmatvec::RotMat3(fmatvec::VecV, double)> *  fAPK_) [inline]

set Kinematic for general rotational motion

Parameters:
fAPKrotational kinematic description
void MBSimFlexibleBody::FlexibleBodyFFR::setGeneralTranslation ( MBSim::Function< fmatvec::Vec3(fmatvec::VecV, double)> *  fPrPK_) [inline]

set Kinematic for genral translational motion

Parameters:
fPrPKtranslational kinematic description
void MBSimFlexibleBody::FlexibleBodyFFR::setI0 ( const fmatvec::SymMat3 &  I0_) [inline]

Set the inertia tensor of the undeformend state w.r.t.

the frame K.

void MBSimFlexibleBody::FlexibleBodyFFR::setStateDependentRotation ( MBSim::Function< fmatvec::RotMat3(fmatvec::VecV)> *  fAPK_) [inline]

set Kinematic for only state dependent rotational motion

Parameters:
fAPKrotational kinematic description
void MBSimFlexibleBody::FlexibleBodyFFR::setStateDependentTranslation ( MBSim::Function< fmatvec::Vec3(fmatvec::VecV)> *  fPrPK_) [inline]

set Kinematic for only state dependent translational motion

Parameters:
fPrPKtranslational kinematic description
void MBSimFlexibleBody::FlexibleBodyFFR::setTimeDependentRotation ( MBSim::Function< fmatvec::RotMat3(double)> *  fAPK_) [inline]

set Kinematic for only time dependent rotational motion

Parameters:
fAPKrotational kinematic description
void MBSimFlexibleBody::FlexibleBodyFFR::setTimeDependentTranslation ( MBSim::Function< fmatvec::Vec3(double)> *  fPrPK_) [inline]

set Kinematic for only time dependent translational motion

Parameters:
fPrPKtranslational kinematic description

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