17#ifndef AGXMODEL_WINDANDWATERPARAMETERS_H
18#define AGXMODEL_WINDANDWATERPARAMETERS_H
26 class WindAndWaterController;
41 DEFAULT_TESSELLATION = MEDIUM
125 agx::Real m_pressureDragCoefficient;
126 agx::Real m_liftCoefficient;
127 agx::Real m_viscousDragCoefficient;
128 agx::Real m_buoyancyScaling;
145 virtual
agx::Bool checkParameter(
Coefficient type ) const override;
172 virtual
agx::Bool checkParameter(
Coefficient type ) const override;
180 return m_tessellation;
Storage that holds data needed for added mass calculations.
AerodynamicsParameters(const agxCollide::Shape *shape, agxModel::AddedMassDbRef addedMassDb)
virtual ~AerodynamicsParameters()
HydrodynamicsParameters(const agxCollide::Shape *shape, agxModel::AddedMassDbRef addedMassDb)
const agxModel::AddedMassStorage * getAddedMassStorage() const
virtual ~HydrodynamicsParameters()
agx::Bool initializeAddedMassStorage(const agx::String &filename)
Initializes the added mass storage given filename to store and/or restore the data for this given sha...
Controller that collects relevant data and executes algorithms (probably mostly aero- and hydrodynami...
const agxCollide::Shape * getShape() const
static void setAerodynamicCoefficient(WindAndWaterController *controller, agx::RigidBody *rb, Coefficient type, agx::Real coefficient)
Set a aerodynamic coefficient for a rigid body.
ShapeTessellation
Tessellation levels of native, non-mesh shapes, e.g, sphere, capsule and cylinder.
virtual void restore(agxStream::InputArchive &in)
Internal method.
void setCoefficient(Coefficient type, agx::Real coefficient)
Set pressure drag, viscous drag, lift or buoyancy coefficient.
WindAndWaterParameters(const agxCollide::Shape *shape, agxModel::AddedMassDbRef addedMassDb)
static agx::Real shapeTessellationLevelToResolution(agxModel::WindAndWaterParameters::ShapeTessellation tessellationLevel)
Translate from ShapeTessellation to scale of default meshing technique.
virtual ~WindAndWaterParameters()
static void setHydrodynamicCoefficient(WindAndWaterController *controller, agx::RigidBody *rb, Coefficient type, agx::Real coefficient)
Set a hydrodynamic coefficient for a rigid body.
virtual void store(agxStream::OutputArchive &out) const
Internal method.
void setShapeTessellationLevel(agxModel::WindAndWaterParameters::ShapeTessellation tessellation)
Assign tessellation level for native shapes (sphere, capsule and cylinder) used during aero- and hydr...
agx::Real getCoefficient(Coefficient type) const
Class for writing serialized data in binary format to a stream.
Base class providing referencing counted objects.
The rigid body class, combining a geometric model and a frame of reference.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
This namespace consists of a set of classes for handling geometric intersection tests including boole...
Contain classes for higher level modeling primitives, such as Tree, Terrain etc.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.