18 #ifndef AGXHYDRAULIC_STOP_VALVE_H
19 #define AGXHYDRAULIC_STOP_VALVE_H
85 virtual bool preUpdate(
agx::Real timeStep)
override;
102 void setAllowedDirection(
State state);
116 agxHydraulics::FlowBlockConstraintRef m_flowBlockConstraint;
#define AGXHYDRAULICS_FLOWDIRECTION_NONE
#define AGXHYDRAULICS_FLOWDIRECTION_BOTH
#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
FlowUnit is the base class for Units that contains a FlowDimension.
A stop valve is either completely open or completely closed.
void setState(State state)
Open or close the StopValve.
StopValve(agx::Real length, agx::Real area, agx::Real density, State state=CLOSED)
Create a new StopValve with the given geometry and fluid density.
State
The two states that a StopValve can be in.
void updateFlowDirection()
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
Abstract base class for storing/restoring a line/drums with version control.
Utility class to hold custom implementations of constraints.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
The agxHydraulics namespace contains classes for modeling hydraulic circuits within the power line fr...