mbsimphysics  4.0.0
MBSim Physics Module
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
MBSimPhysics::Aerodynamics Class Reference
Inheritance diagram for MBSimPhysics::Aerodynamics:
[legend]

Public Member Functions

 Aerodynamics (const std::string &name="")
 
void init (InitStage stage, const MBSim::InitConfigSet &config) override
 
void initializeUsingXML (xercesc::DOMElement *element) override
 
void plot () override
 
void connect (MBSim::Frame *frame_)
 
void setDensityFunction (MBSim::Function< double(double)> *func)
 
void setCoefficientFunction (MBSim::Function< fmatvec::Vec3(fmatvec::Vec2)> *func)
 
void setReferenceSurface (double A_)
 
void setWindSpeed (const fmatvec::Vec3 &vW_)
 
void updateGeneralizedPositions () override
 
void updateGeneralizedVelocities () override
 
void updatelaF () override
 
bool isActive () const override
 
bool gActiveChanged () override
 
bool isSingleValued () const override
 
 BOOST_PARAMETER_MEMBER_FUNCTION ((void), enableOpenMBV, MBSim::tag,(optional(sideOfInteraction,(MBSim::OpenMBVInteractionArrow::SideOfInteraction), MBSim::OpenMBVInteractionArrow::action)(scaleLength,(double), 1)(scaleSize,(double), 1)(referencePoint,(MBSim::OpenMBVArrow::ReferencePoint), MBSim::OpenMBVArrow::toPoint)(colorRepresentation,(MBSim::OpenMBVArrow::ColorRepresentation), MBSim::OpenMBVArrow::none)(minimalColorValue,(double), 0)(maximalColorValue,(double), 1)(diffuseColor,(const fmatvec::Vec3 &),"[-1;1;1]")(transparency,(double), 0)(pointSize,(double), 0)(lineWidth,(double), 0)))
 

Protected Attributes

MBSim::Function< double(double)> * frho {nullptr}
 
MBSim::Function< fmatvec::Vec3(fmatvec::Vec2)> * fc {nullptr}
 
double A {1}
 
fmatvec::Vec3 vW
 
std::shared_ptr
< MBSim::OpenMBVInteractionArrow > 
ombvArrow
 
std::vector< std::shared_ptr
< OpenMBV::Arrow > > 
openMBVForce
 

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