mbsimflexiblebody  4.0.0
MBSim Flexible Body Module
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
MBSimFlexibleBody::Contour2sNeutralLinearExternalFFR Class Reference
Inheritance diagram for MBSimFlexibleBody::Contour2sNeutralLinearExternalFFR:
[legend]

Public Member Functions

 Contour2sNeutralLinearExternalFFR (const std::string &name_)
 standard constructor
 
 ~Contour2sNeutralLinearExternalFFR () override
 destructor
 
void init (InitStage stage, const MBSim::InitConfigSet &config) override
 
int getNumberOfTransNodesU ()
 
int getNumberOfTransNodesV ()
 
void setTransNodes (const fmatvec::MatVI &transNodes)
 function to set the indices of the nodes for the interpolation The function expects index for the first node the index 1 for the second node the index 2 etc. --> Thus index 0 is not possible here. More...
 
void readTransNodes (const std::string &file)
 read data from a file that consists of sorted lists for nodes that should be interpolated Every line in the has to be a row of nodes in U-direction (the first direction of the interpolation) More...
 
fmatvec::Vec3 evalPosition (const fmatvec::Vec2 &zeta) override
 
fmatvec::Vec3 evalWs (const fmatvec::Vec2 &zeta) override
 
fmatvec::Vec3 evalWt (const fmatvec::Vec2 &zeta) override
 
fmatvec::Vec3 evalWu (const fmatvec::Vec2 &zeta) override
 
fmatvec::Vec3 evalWv (const fmatvec::Vec2 &zeta) override
 
fmatvec::Vec3 evalWn (const fmatvec::Vec2 &zeta) override
 
void updatePositions (MBSim::ContourFrame *frame) override
 
void updateVelocities (MBSim::ContourFrame *frame) override
 
void updateJacobians (MBSim::ContourFrame *frame, int j=0) override
 
fmatvec::MatVI getTransNodes ()
 returns the nodes for interpolation
 
void setdegU (int deg)
 set interpolation degree in U-direction
 
void setdegV (int deg)
 set interpolation degree in V-direction
 
void setOpenStructure (bool openstructure)
 set open or closed structure
 
bool getOpenStructure ()
 get open or closed structure
 
void resetUpToDate () override
 
- Public Member Functions inherited from MBSimFlexibleBody::Contour2sNeutralFactory
 Contour2sNeutralFactory (const std::string &name)
 
MBSim::ContourFrame * createContourFrame (const std::string &name="P") override
 
bool isZetaOutside (const fmatvec::Vec2 &zeta) override
 
MBSim::ContactKinematics * findContactPairingWith (const std::type_info &type0, const std::type_info &type1) override
 
- Public Member Functions inherited from MBSimFlexibleBody::Contour2s
 Contour2s (const std::string &name)
 constructor More...
 
- Public Member Functions inherited from MBSim::Contour
 Contour (const std::string &name)
 
virtual fmatvec::Vec3 evalParDer1Wn (const fmatvec::Vec2 &zeta)
 
virtual fmatvec::Vec3 evalParDer2Wn (const fmatvec::Vec2 &zeta)
 
virtual fmatvec::Vec3 evalParDer1Wu (const fmatvec::Vec2 &zeta)
 
virtual fmatvec::Vec3 evalParDer2Wu (const fmatvec::Vec2 &zeta)
 
virtual fmatvec::Vec3 evalParDer1Wv (const fmatvec::Vec2 &zeta)
 
virtual fmatvec::Vec3 evalParDer2Wv (const fmatvec::Vec2 &zeta)
 
void createPlotGroup () override
 
- Public Member Functions inherited from MBSim::Element
 Element (const std::string &name)
 
virtual void setDynamicSystemSolver (DynamicSystemSolver *sys)
 
virtual void plot ()
 
virtual void plotAtSpecialEvent ()
 
const std::string & getName () const
 
void setName (const std::string &str)
 
DynamicSystemSolver * getDynamicSystemSolver ()
 
virtual void init (InitStage stage, const InitConfigSet &config)
 
H5::GroupBase * getPlotGroup ()
 
bool getPlotFeature (const PlotFeatureEnum &pf)
 
virtual void setPlotFeature (const PlotFeatureEnum &pf, bool value)
 
void setPlotFeatureForChildren (const PlotFeatureEnum &pf, bool value)
 
void setPlotFeatureRecursive (const PlotFeatureEnum &pf, bool value)
 
T * getByPath (const std::string &path, bool initialCaller=true) const
 
std::string getPath (const Element *relTo=nullptr, std::string sep="/") const
 
virtual Element * getChildByContainerAndName (const std::string &container, const std::string &name) const
 
std::vector< Element * > getDependencies () const
 
int computeLevel ()
 
- Public Member Functions inherited from fmatvec::Atom
Atom & operator= (const Atom &)
 
void setMessageStreamActive (MsgType type, bool activeFlag)
 
void getMessageStream (MsgType type, std::shared_ptr< bool > &a, std::shared_ptr< std::ostream > &s) const
 
void adoptMessageStreams (const Atom *src=nullptr)
 
std::ostream & msg (MsgType type) const
 
bool msgAct (MsgType type) const
 

Protected Member Functions

virtual NeutralNurbsVelocity2s * createNeutralVelocity ()
 
virtual NeutralNurbsPosition2s * createNeutralPosition ()
 
virtual NeutralNurbsLocalPosition2s * createNeutralLocalPosition ()
 
virtual void createNeutralModeShape ()
 
- Protected Member Functions inherited from fmatvec::Atom
 Atom (const Atom &src)
 

Protected Attributes

fmatvec::MatVI transNodes
 Matrix of all node numbers that are interpolated. More...
 
double nodeOffset
 offset between translation and rotational nodes
 
fmatvec::VecV uk
 
fmatvec::VecV vl
 
int degU
 
int degV
 
bool openStructure
 
NeutralNurbsPosition2s * NP
 
NeutralNurbsLocalPosition2s * NLP
 
NeutralNurbsVelocity2s * NV
 
int qSize
 
std::vector< MBSim::NurbsSurface > surfaceModeShape
 
- Protected Attributes inherited from MBSim::Contour
int hSize [2]
 
double thickness
 
- Protected Attributes inherited from MBSim::Element
std::string name
 
std::string path
 
MBXMLUtils::DOMEvalException domEvalError
 
DynamicSystemSolver * ds
 
H5::VectorSerie< double > * plotVectorSerie
 
std::vector< double > plotVector
 
std::vector< std::string > plotColumns
 
H5::GroupBase * plotGroup
 
std::vector< Element * > dependency
 
PlotFeatureMap plotFeature
 

Additional Inherited Members

- Public Types inherited from MBSim::Element
enum  InitStage
 
- Public Types inherited from fmatvec::Atom
enum  MsgType
 
- Static Public Member Functions inherited from fmatvec::Atom
static void setCurrentMessageStream (MsgType type, const std::shared_ptr< bool > &a=std::make_shared< bool >(true), const std::shared_ptr< std::ostream > &s=std::make_shared< std::ostream >(std::cout.rdbuf()))
 
static std::ostream & msgStatic (MsgType type)
 
static bool msgActStatic (MsgType type)
 
- Public Attributes inherited from MBSim::Element
 resolveStringRef
 
 preInit
 
 plotting
 
 unknownStage
 

Member Function Documentation

◆ readTransNodes()

void MBSimFlexibleBody::Contour2sNeutralLinearExternalFFR::readTransNodes ( const std::string &  file)

read data from a file that consists of sorted lists for nodes that should be interpolated Every line in the has to be a row of nodes in U-direction (the first direction of the interpolation)

The node numbering starts with 1.

◆ setTransNodes()

void MBSimFlexibleBody::Contour2sNeutralLinearExternalFFR::setTransNodes ( const fmatvec::MatVI &  transNodes)

function to set the indices of the nodes for the interpolation The function expects index for the first node the index 1 for the second node the index 2 etc. --> Thus index 0 is not possible here.

Member Data Documentation

◆ transNodes

fmatvec::MatVI MBSimFlexibleBody::Contour2sNeutralLinearExternalFFR::transNodes
protected

Matrix of all node numbers that are interpolated.

Each row contains a list of node-numbers in u-direction of the contour (first direction) REMARK: MBSim starts indexing with 0. Therefore in the set-nodes routine one index is substracted


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