17 #ifndef AGXPOWERLINE_POWER_LINE_CONSTRAINTS_H 18 #define AGXPOWERLINE_POWER_LINE_CONSTRAINTS_H 53 const PhysicalDimensionPtrIntTable& ,
74 virtual bool isValid()
const;
107 agx::GWriteState::Enum )
override;
125 virtual size_t getJacobian(
129 const PhysicalDimensionPtrIntTable& dimensions,
133 virtual void getJacobian(
163 virtual bool updateValid()
override;
165 virtual void prepareDimensions();
276 virtual bool isValid()
const override;
317 #endif // AGXMODEL_POWER_LINE_CONSTRAINTS_H
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...
Links two connections together.
virtual ~ElementaryTranslationalConstraint()
virtual ~GearConstraintImplementation()
AGXFMI_EXPORT InputVariable_Real * setCompliance(agx::Constraint *constraint)
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...
Constraint implementation for constraining a number of physical dimensions of the same type...
virtual agx::ElementaryConstraint * getElementaryConstraint(const agx::UInt index) const
virtual ~TranslationalConstraintImplementation()
Constraint implementation that constrains the velocity of the rotational dimensions of a number bodie...
Helper class to hold data that is general for elementary constraints.
Constraint implementation that constrains the velocity of the rotational dimensions of a number bodie...
agxPowerLine contains a collection of connected components that transport power across a system...
ElementaryPhysicalDimensionConstraint * m_elementaryConstraint
agx::HashVector< PhysicalDimension *, int > PhysicalDimensionPtrIntTable
RigidBodyPtrIntHashVector m_bodyToIndexTable
An elementary gear constraint constrains the velocity of the rotational dimensions of a number bodies...
PhysicalDimensionPtrIntTable m_dimensionToIndexTable
An elementary gear constraint constrains the velocity of the rotational dimensions of a number bodies...
Smart pointer for handling referenced counted objects.
virtual ~ElementaryGearConstraint()
Elementary constraint for constraining an arbitrary number of ONE specific PhysicalDimension::Type.
The complete physical system with bodies, interactions, data layout, time stepper, and solver.
Abstract base class for storing/restoring a line/drums with version control.
#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...
Class for writing serialized data in binary format to a stream.
virtual size_t getJacobian(agx::Jacobian6DOFElement *, const RigidBodyPtrIntHashVector &, const agx::ConstraintRigidBodyContainer &, const PhysicalDimensionPtrIntTable &, const agx::Real)=0
getJacobian must be implemented for all classes that inherits from this.
agx::ref_ptr< ElementaryGearConstraint > GearConstraintRef
#define AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(T)
Use this in a pure abstract Serializable class to add the required methods Important: Use full namesp...
agx::ref_ptr< ElementaryHolonomicGearConstraint > HolonomicGearConstraintRef
agx::Vector< agx::observer_ptr< agx::RigidBody > > m_observedBodies