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

Public Member Functions

 Buoyancy (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 setDisplacedVolume (double V_)
 
void setDensityFunction (MBSim::Function< double(double)> *func)
 
void setGravityFunction (MBSim::Function< double(double)> *func)
 
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

double V {0}
 
MBSim::Function< double(double)> * frho {nullptr}
 
MBSim::Function< double(double)> * fg {nullptr}
 
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: