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() {}
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;
Class to hold data for elementary constraints.
Constraint implementation for constraining a number of physical dimensions of the same type...
virtual size_t getJacobian(agx::Jacobian6DOFElement *G, const RigidBodyPtrIntHashVector &bodyToIndexTable, const agx::ConstraintRigidBodyContainer &bodies, const PhysicalDimensionPtrIntTable &dimensions, const agx::Real dt) override
Implementation of getJacobian for a multi body constraint for the power line, where all dimensions ha...
The base class for a constraint.
Class for managing the rendering of geometries, shapes, rigid bodies, constraints etc...
agxPowerLine contains a collection of connected components that transport power across a system...
#define AGXHYDRAULICS_EXPORT
Elementary constraint for constraining an arbitrary number of ONE specific PhysicalDimension::Type.
The agxHydraulics namespace contains classes for modeling hydraulic circuits within the power line fr...
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...