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();
A FlowConnector is a junction of a set of FlowUnits.
void AGXPHYSICS_EXPORT init()
Initialize AGX Dynamics API including thread resources and must be executed before using the AGX API...
A FlowDimension represents the flow of fluid through a FlowUnit.
AGXHYDRAULICS_EXPORT void setFluidDensity(agxPowerLine::PowerLine *powerLine, agx::Real density)
Set the fluid density of all FlowUnits in a PowerLine.
#define AGX_DECLARE_POINTER_TYPES(type)
agxHydraulics::FlowDimensionRef m_flowDimension
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.
#define AGXHYDRAULICS_EXPORT
The rigid body class, combining a geometric model and a frame of reference.
The agxHydraulics namespace contains classes for modeling hydraulic circuits within the power line fr...
Abstract base class for storing/restoring a line/drums with version control.
AGXHYDRAULICS_EXPORT void setFluidViscosity(agxPowerLine::PowerLine *powerLine, agx::Real viscosity)
Set the fluid viscosity of all FlowUnits in a PowerLine.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
LinearProbingHashSetImplementation< KeyT, HashT >::iterator end(LinearProbingHashSetImplementation< KeyT, HashT > &set)
#define AGX_DECLARE_VECTOR_TYPES(type)
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
FlowUnit is the base class for Units that contains a FlowDimension.