18 #ifndef AGXHYDRAULICS_CONSTANT_FLOW_VALVE_H 19 #define AGXHYDRAULICS_CONSTANT_FLOW_VALVE_H 53 agx::Real targetFlowRate,
bool allowPumping =
false);
64 void setTargetFlowRate(
agx::Real targetFlowRate);
69 bool getAllowPumping()
const;
75 void setAllowPumping(
bool allowPumping);
83 void setEnable(
bool enable);
88 bool getEnable()
const;
106 virtual bool preUpdate(
agx::Real timeStep)
override;
151 void createFlowRateConstraint();
152 void destroyFlowRateConstraint();
155 agxHydraulics::detail::FlowRateConstraintData m_constraintData;
156 agxHydraulics::detail::FlowRateConstraintRef m_flowRateConstraint;
Utility class to hold custom implementations of constraints.
The base class for a constraint.
#define AGX_DECLARE_POINTER_TYPES(type)
A constant flow valve is a valve that acts to limit the flow rate through a pipe to some maximum valu...
#define AGXHYDRAULICS_EXPORT
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.
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
FlowUnit is the base class for Units that contains a FlowDimension.