17 #ifndef AGXHYDRAULICS_FLOW_UNIT_H
18 #define AGXHYDRAULICS_FLOW_UNIT_H
245 using Unit::isConnected;
270 virtual
void addTankPressure();
276 virtual bool preUpdate(
agx::Real timeStep)
override;
301 void updateBodyMass();
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
#define AGXHYDRAULICS_EXPORT
#define AGX_DECLARE_VECTOR_TYPES(type)
A FlowConnector is a junction of a set of FlowUnits.
A FlowDimension represents the flow of fluid through a FlowUnit.
FlowUnit is the base class for Units that contains a FlowDimension.
agxHydraulics::FlowDimensionRef m_flowDimension
FlowUnit(agx::Real length, agx::Real area, agx::Real fluidDensity)
Create a FlowUnit with inertia calculated from the given parameters.
Abstract base class for storing/restoring a line/drums with version control.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
AGXHYDRAULICS_EXPORT void setFluidViscosity(agxPowerLine::PowerLine *powerLine, agx::Real viscosity)
Set the fluid viscosity of all FlowUnits in a PowerLine.
AGXHYDRAULICS_EXPORT void setFluidDensity(agxPowerLine::PowerLine *powerLine, agx::Real density)
Set the fluid density of all FlowUnits in a PowerLine.
The agxHydraulics namespace contains classes for modeling hydraulic circuits within the power line fr...
Contain classes for higher level modeling primitives, such as Tree, Terrain etc.
agxPowerLine contains a collection of connected components that transport power across a system.
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
LinearProbingHashSetImplementation< KeyT, HashT >::iterator end(LinearProbingHashSetImplementation< KeyT, HashT > &set)
void AGXPHYSICS_EXPORT init()
Initialize agx.