AGXDynamics  2.35.0.2
SpoolValveConstraints.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2022. Algoryx Simulation AB.
3 
4 All AGX source code, intellectual property, documentation, sample code,
5 tutorials, scene files and technical white papers, are copyrighted, proprietary
6 and confidential material of Algoryx Simulation AB. You may not download, read,
7 store, distribute, publish, copy or otherwise disseminate, use or expose this
8 material unless having a written signed agreement with Algoryx Simulation AB, or having been
9 advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10 valid commercial license from Algoryx Simulation AB.
11 
12 Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13 from using this software, unless otherwise stated in written agreements with
14 Algoryx Simulation AB.
15 */
16 
17 
18 
19 #ifndef AGXHYDRAULICS_SPOOL_VALVE_CONSTRAINTS_H
20 #define AGXHYDRAULICS_SPOOL_VALVE_CONSTRAINTS_H
21 
22 
24 #include <agxHydraulics/export.h>
25 
26 
27 namespace agxHydraulics
28 {
29  namespace detail
30  {
38  {
39  public:
43  virtual size_t getJacobian(
45  const agxPowerLine::RigidBodyPtrIntHashVector& bodyToIndexTable,
48  const agx::Real timeStep) override;
49 
53  virtual void getJacobian(const agxPowerLine::PhysicalDimension* dimension, agx::Jacobian6DOFElement& G) const override;
54 
56 
57  protected:
60  };
61 
62 
63 
69  {
70  public:
72 
74 
75  protected:
77  };
78 
79 
80 
81 
82 
91  {
92  public:
94  virtual agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation* createConstraint() override;
95 
99  virtual bool store(agxStream::StorageStream& str) const override;
100 
104  virtual bool restore(agxStream::StorageStream& str) override;
105 
107 
108  protected:
110  };
111 
112 
113  }
114 }
115 
116 #endif
agx::Real
double Real
Definition: Real.h:42
agx::Jacobian6DOFElementT
Definition: Jacobian.h:104
agxPowerLine::ElementaryPhysicalDimensionMultiBodyConstraint
Elementary constraint for constraining an arbitrary number of ONE specific PhysicalDimension::Type.
Definition: PowerLineConstraints.h:114
agx::Vector< RigidBody * >
agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation
Constraint implementation for constraining a number of physical dimensions of the same type.
Definition: PowerLineConstraints.h:150
agxStream::StorageStream
Abstract base class for storing/restoring a line/drums with version control.
Definition: StorageStream.h:48
agxHydraulics::detail::GraphJoiningConnector::~GraphJoiningConnector
virtual ~GraphJoiningConnector()
Definition: SpoolValveConstraints.h:109
agxPowerLine::PhysicalDimension
Pure virtual class.
Definition: PhysicalDimension.h:93
AGXSTREAM_DECLARE_SERIALIZABLE
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Definition: Serializable.h:207
PowerLineConstraints.h
AGXHYDRAULICS_EXPORT
#define AGXHYDRAULICS_EXPORT
Definition: agxHydraulics/export.h:39
agxHydraulics::detail::ElementaryGraphJoiningConstraint
Definition: SpoolValveConstraints.h:37
agxPowerLine::ElementaryPhysicalDimensionMultiBodyConstraint::getJacobian
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...
agxHydraulics::detail::GraphJoiningConstraintImplementation
Definition: SpoolValveConstraints.h:68
agxPowerLine::Connector
Links two connections together.
Definition: Connector.h:53
agxHydraulics::detail::GraphJoiningConnector
Definition: SpoolValveConstraints.h:90
agxHydraulics
The agxHydraulics namespace contains classes for modeling hydraulic circuits within the power line fr...
Definition: Accumulator.h:27
agxHydraulics::detail::ElementaryGraphJoiningConstraint::~ElementaryGraphJoiningConstraint
virtual ~ElementaryGraphJoiningConstraint()
Definition: SpoolValveConstraints.h:58
export.h
agx::HashVector< agx::RigidBody *, int >
agxHydraulics::detail::GraphJoiningConstraintImplementation::~GraphJoiningConstraintImplementation
virtual ~GraphJoiningConstraintImplementation()
Definition: SpoolValveConstraints.h:76