18 #ifndef AGXHYDRAULIC_CHECK_VALVE_H
19 #define AGXHYDRAULIC_CHECK_VALVE_H
87 virtual
bool addNotification(
agxSDK::Simulation* simulation) override;
116 agxHydraulics::FlowBlockConstraintRef m_flowBlockConstraint;
#define AGXHYDRAULICS_FLOWDIRECTION_BACKWARD
#define AGXHYDRAULICS_FLOWDIRECTION_FORWARD
#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
A check valve is a FlowUnit that only allows flow in one direction.
AllowedDirection getAllowedDirection() const
const agxHydraulics::FlowBlockConstraint * getFlowBlockConstraint() const
void setAllowedDirection(AllowedDirection direction)
Used to change the direction of flow that the relief valve will allow.
agxHydraulics::FlowBlockConstraint * getFlowBlockConstraint()
Provides access to the constraint that blocks flow in the wrong direction.
void updateFlowDirection()
Apply the locally stored allowed direction to the flow block constraint, if possible.
CheckValve(agx::Real length, agx::Real area, agx::Real density, AllowedDirection direction=FORWARD)
Create a new check valve with the given dimensions and allowed flow direction.
FlowUnit is the base class for Units that contains a FlowDimension.
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...
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...