17 #ifndef AGXHYDRAULICS_ACCUMULATOR_H
18 #define AGXHYDRAULICS_ACCUMULATOR_H
67 virtual
bool addNotification(
agxSDK::Simulation* simulation) override;
69 virtual
bool removeNotification(
agxUtil::ConstraintHolder* constraintHolder,
agxSDK::Simulation* simulation) override;
87 agxHydraulics::detail::AccumulatorConstraintRef m_accumulatorConstraint;
#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
An accumulator is a component that stores fluid and pressure.
Accumulator(agx::Real length, agx::Real area, agx::Real fluidDensity, agx::Real springConstant)
Create a new Accumulator with the given dimensions and spring constant.
void createAccumulatorConstraint()
agx::Real getSpringConstant() const
const agxHydraulics::detail::AccumulatorConstraint * getAccumulatorConstraint() const
Gives access to the constraint that models the internal behavior of the Accumulator.
FlowUnit is the base class for Units that contains a FlowDimension.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
The agxHydraulics namespace contains classes for modeling hydraulic circuits within the power line fr...
agxPowerLine contains a collection of connected components that transport power across a system.
std::pair< agxPowerLine::PhysicalDimension *, agxPowerLine::Side > DimensionAndSide
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
The agxUtil namespace contain classes and methods for utility functionality.