17 #ifndef AGXHYDRAULICS_DETAIL_VARIABLE_DISPLACEMENT_PUMP_CONSTRAINTS_H
18 #define AGXHYDRAULICS_DETAIL_VARIABLE_DISPLACEMENT_PUMP_CONSTRAINTS_H
36 class TranslationalDimension;
44 class VariableDisplacementPump;
60 ElementaryVariablePumpConstraint(
agx::Real deadheadPressure,
agx::Real internalLeakage);
62 virtual size_t getJacobian(
69 VariableDisplacementPump* getPumpConnector();
74 ElementaryVariablePumpConstraint();
75 virtual ~ElementaryVariablePumpConstraint() {}
77 using ElementaryPhysicalDimensionMultiBodyConstraint::getJacobian;
96 VariablePumpConstraintImplementation(
agx::Real deadheadPressure,
agx::Real internalLeakage);
97 virtual void addNotification()
override;
102 VariablePumpConstraintImplementation();
103 virtual ~VariablePumpConstraintImplementation() {}
106 agxHydraulics::detail::ElementaryVariablePumpConstraint* m_pumpConstraint;
128 SpringData(
const SpringData& other);
138 SpringData& operator=(
const SpringData&)
163 ElementarySpringStopper(
const SpringData& data,
agx::Real limit,
agx::Real allowedSide);
177 agx::UInt row, agx::GWriteState::Enum writeState)
override;
183 ElementarySpringStopper();
184 virtual ~ElementarySpringStopper() {}
210 ElementarySpringForce(
const SpringData& data,
agx::Real zeroPoint,
agx::Real springConstant);
214 agx::UInt row, agx::GWriteState::Enum writeState)
override;
221 ElementarySpringForce();
222 virtual ~ElementarySpringForce() {}
241 SpringImplementation(agxPowerLine::TranslationalDimension* dimension,
agx::Real zeroPoint,
agx::Real springConstant);
246 virtual void prepare()
override;
251 SpringImplementation();
252 virtual ~SpringImplementation() {}
255 agxPowerLine::TranslationalDimension* m_dimension;
256 ElementarySpringForce* m_spring;
257 ElementarySpringStopper* m_upperStopper;
258 ElementarySpringStopper* m_lowerStopper;
282 SpringConstraint(agxPowerLine::TranslationalDimension* dimension,
agx::Real zeroPoint,
agx::Real springConstant);
289 virtual ~SpringConstraint();
290 virtual int getNumDOF()
const override;
293 SpringImplementation* m_springImplementation;
#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
Elementary constraint for constraining an arbitrary number of ONE specific PhysicalDimension::Type.
Constraint implementation for constraining a number of physical dimensions of the same type.
Class for managing the rendering of geometries, shapes, rigid bodies, constraints etc.
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
The base class for a constraint.
Class to hold data for elementary constraints.
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.