18 #ifndef AGXHYDRAULICS_ROTATIONAL_FLOW_CONNECTOR_H
19 #define AGXHYDRAULICS_ROTATIONAL_FLOW_CONNECTOR_H
75 virtual
agx::RegularizationParameters::VariableType calculateComplianceAndDamping(
#define AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(T)
Use this in a pure abstract Serializable class to add the required methods Important: Use full namesp...
#define AGXHYDRAULICS_EXPORT
The PressureConnector is an abstract base class for all Connectors that has a pressure.
Abstract base class containing overlapping functionality for pump and motor.
virtual agx::Real constraintForceToPressure(agx::Real constraintForce, agx::Real displacement) const =0
virtual agx::Real getDisplacement() const
void setCompliance(agx::Real compliance)
Set the compliance of the constraint.
agx::Real getPressure() const override
Get the pressure that the pump or motor generates.
agx::Real getCompliance() const
virtual void setDisplacement(agx::Real displacement)
Set the displacement of the pump or motor.
virtual agx::Real displacementToRatio(agx::Real displacement)=0
virtual agx::Real pressureToConstraintForce(agx::Real pressure, agx::Real ratio) const =0
Class for writing serialized data in binary format to a stream.
Abstract base class for storing/restoring a line/drums with version control.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
The agxHydraulics namespace contains classes for modeling hydraulic circuits within the power line fr...
agx::ref_ptr< agxHydraulics::RotationalFlowConnector > RotationalFlowConnectorRef
InputRef< T > in(const char *name, T &obj)
Create an object with a name and a reference to the object that should be restored (usually a pointer...
OutputRef< Serializable > out(const char *name, const Serializable *obj)
Return an object that contain the name and the object that should be serialized to an archive.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.