|
AGXDynamics
2.31.1.0
|
The relief valve is a hydraulic component that limits the pressure at some point in the system. More...
#include <ReliefValve.h>
Inheritance diagram for agxHydraulics::ReliefValve:Public Member Functions | |
| ReliefValve (agx::Real crackingPressure, agx::Real fullyOpenPressure, agx::Real fullyOpenArea, agx::UInt32 numDrains=6) | |
| Create a new relief valve. More... | |
| virtual bool | addNotification (agxSDK::Simulation *simulation)=0 |
| void | addNotification (agxPowerLine::PowerLine *powerLine) |
| AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE (agxPowerLine::SubGraph) | |
| AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE (agxPowerLine::Unit) | |
| template<typename T > | |
| T * | as () |
| Subclass casting. More... | |
| template<typename T > | |
| const T * | as () const |
| template<typename T > | |
| T * | asSafe () |
| Safe subclass casting, return nullptr if template type does not match. More... | |
| template<typename T > | |
| const T * | asSafe () const |
| void | attach (agx::RigidBody *body) |
| Define which body in the simulation this Unit is attached to. More... | |
| agx::String | buildDimensionsName () const |
| virtual bool | connect (agxPowerLine::Connector *connector) |
| Connect the unit to a connector. More... | |
| virtual bool | connect (agxPowerLine::Side mySide, agxPowerLine::Side connectorSide, agxPowerLine::Connector *connector) |
| Connect the unit to a connector, specifying the side of each. More... | |
| virtual bool | connect (agxPowerLine::Unit *otherUnit) |
| Connect the unit to another unit. More... | |
| virtual bool | connect (agxPowerLine::Side mySide, agxPowerLine::Side otherSide, agxPowerLine::Unit *other) |
| virtual bool | disconnect (agxPowerLine::Unit *unit) |
| void | disconnectAll () |
| agxPowerLine::PhysicalDimension * | getActiveDimension (size_t index) |
| const agxPowerLine::PhysicalDimension * | getActiveDimension (size_t index) const |
| agxHydraulics::FlowUnit * | getChamber (agxPowerLine::Side side) |
| const agxHydraulics::FlowUnit * | getChamber (agxPowerLine::Side side) const |
| virtual const char * | getClassName () const |
| virtual agxPowerLine::DimensionAndSide | getConnectableDimension (agxPowerLine::PhysicalDimension::Type type, agxPowerLine::Side side) |
| virtual void | getConnectableDimensionTypes (agxPowerLine::PhysicalDimension::TypeVector &types, agxPowerLine::Side side) const |
| agxPowerLine::PhysicalDimension * | getConnectableInputDimension (agxPowerLine::PhysicalDimension::Type type) |
| agxPowerLine::PhysicalDimension * | getConnectableOutputDimension (agxPowerLine::PhysicalDimension::Type type) |
| void | getConnectedUnits (UnitPtrSetVector &result, agxPowerLine::Side side) |
| size_t | getConnectors (const agxPowerLine::Unit *unit, agxPowerLine::ConnectorPtrVector &result) |
| Append all connectors connecting this Unit to the given Unit to the 'result' Vector. More... | |
| size_t | getConnectors (agxPowerLine::ConnectorPtrVector &result) const |
| virtual void | getConnectorsRecursive (ConnectorPtrVector &connectors) |
| Fill the given vector with the Connectors that are held by this SubGraph. More... | |
| agx::Real | getCrackingPressure () const |
| agxPowerLine::PhysicalDimension * | getDimension (agxPowerLine::PhysicalDimension::Type type) |
| const agxPowerLine::PhysicalDimension * | getDimension (agxPowerLine::PhysicalDimension::Type type) const |
| const agxPowerLine::PhysicalDimensionRefVector & | getDimensions () const |
| agxPowerLine::PhysicalDimensionRefVector & | getDimensions () |
| agxHydraulics::Pipe * | getDrain (agx::UInt32 index) |
| const agxHydraulics::Pipe * | getDrain (agx::UInt32 index) const |
| agxHydraulics::FlowConnector * | getDrainConnector () |
| agx::Real | getDrainFlowRate () const |
| bool | getEnableSerialization () const |
| bool | getEnableUuidGeneration () |
| Connector * | getEnclosingConnector () |
| const Connector * | getEnclosingConnector () const |
| SubGraph * | getEnclosingGraph () |
| const SubGraph * | getEnclosingGraph () const |
| Unit * | getEnclosingUnit () |
| const Unit * | getEnclosingUnit () const |
| Connector * | getFirstInputConnector (const agxPowerLine::Unit *unit) const |
| Connector * | getFirstOutputConnector (const agxPowerLine::Unit *unit) const |
| agx::Constraint * | getFlowBlockConstraint (agx::UInt32 index) |
| The implementation uses constraints to control when drain pipes should open or close. More... | |
| agx::Real | getFullyOpenPressure () const |
| bool | getIgnoreForStoreRestoreStream () const |
| agx::UInt32 | getIndex () const |
| This index is given at creation of this object. More... | |
| agxHydraulics::FlowUnit * | getInputChamber () |
| const agxHydraulics::FlowUnit * | getInputChamber () const |
| size_t | getInputConnectors (const agxPowerLine::Unit *unit, agxPowerLine::ConnectorPtrVector &result) |
| size_t | getInputConnectors (agxPowerLine::ConnectorPtrVector &result) const |
| const agxPowerLine::ConnectorRefVector & | getInternalConnectors () const |
| const agxPowerLine::UnitRefVector & | getInternalUnits () const |
| const agx::Name & | getName () const |
| size_t | getNumActiveDimensions () const |
| The number of non-null PhysicalDimension in this Unit, not including internal Units. More... | |
| virtual size_t | getNumConnectableDimensions (Side side) const |
| size_t | getNumConnections () const |
| agx::UInt32 | getNumDrains () const |
| agx::Real | getOpeningFraction () const |
| The opening fraction will always be a multiple of 1/num_drains, and will always be in the range [0..1], inclusive. More... | |
| agxHydraulics::FlowUnit * | getOutputChamber () |
| const agxHydraulics::FlowUnit * | getOutputChamber () const |
| size_t | getOutputConnectors (const agxPowerLine::Unit *unit, agxPowerLine::ConnectorPtrVector &result) |
| size_t | getOutputConnectors (agxPowerLine::ConnectorPtrVector &result) const |
| void | getOwnConnectedUnits (UnitPtrSetVector &unitSet, bool startFromCleanUnitSet=true) const |
| Constructs the set of Units connected to this Unit's own dimensions. More... | |
| void | getOwnConnectedUnits (UnitPtrSetVector &unitSet, agxPowerLine::Side side, bool startFromCleanUnitSet=true) const |
| agxPowerLine::PowerLine * | getPowerLine () const |
| agx::Real | getPressure () const |
| int | getReferenceCount () const |
| agxPowerLine::Unit * | getRoot () const |
| SubGraph * | getRootEnclosingGraph () |
| const SubGraph * | getRootEnclosingGraph () const |
| agxPowerLine::Side | getSide (const Connector *connector) const |
| virtual StorageAgent * | getStorageAgent () const =0 |
| virtual void | getUnitsRecursive (UnitPtrVector &units) |
| Fill the given vector with the Units that are held by this SubGraph. More... | |
| agx::Uuid | getUuid () const |
| bool | hasConnector (const Connector *connector) const |
| template<typename T > | |
| bool | is () const |
| Subclass test. More... | |
| virtual bool | isConnected (agxPowerLine::Unit *otherUnit) const |
| bool | isEnclosedWithin (const SubGraph *component) const |
| bool | isFinished () const |
| virtual bool | isValid () const |
| virtual bool | postRestore (agxStream::StorageStream &str) |
| virtual bool | postStore (agxStream::StorageStream &str) const |
| virtual bool | postUpdate (agx::Real timeStep) |
| virtual void | prepareForRestore () |
| virtual void | prepareForStore () |
| virtual bool | preUpdate (agx::Real timeStep) |
| void | reference (void *ptr=nullptr) const |
| Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
| virtual bool | removeNotification (agxUtil::ConstraintHolder *holder, agxSDK::Simulation *simulation)=0 |
| void | removeNotification (agxPowerLine::PowerLine *powerLine) |
| virtual bool | restore (agxStream::StorageStream &str) override |
| Restores internal data from stream. More... | |
| virtual void | restore (agxStream::InputArchive &in) override |
| void | setCrackingPressure (agx::Real crackingPressure) |
| Set the pressure at which the drain should start to open. More... | |
| void | setEnableSerialization (bool flag) |
| Set to false to disable serialization of this object. More... | |
| void | setFinished () |
| Tells this class that it is restored correctly and should not be deleted during destruction of an Archive. More... | |
| void | setFullyOpenPressure (agx::Real fullyOpenPressure) |
| Set the pressure at which the drain should reach fully open. More... | |
| void | setName (const agx::Name &name) |
| Set the name of this power line component. More... | |
| void | setPressures (agx::Real crackingPressure, agx::Real fullyOpenPressure) |
| Set the pressure range for the relief valve. More... | |
| void | setRoot (agxPowerLine::Unit *root) |
| void | setUuid (const agx::Uuid &uuid) |
| Explicitly set a Uuid on a serializable object. More... | |
| void | spreadPowerLineToGraph () |
| void | spreadRootToGraph () |
| virtual bool | store (agxStream::StorageStream &str) const override |
| Stores internal data into stream. More... | |
| virtual void | store (agxStream::OutputArchive &out) const override |
| void | unreference (void *ptr=nullptr) const |
| Decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| void | unreference_nodelete () const |
| Decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| virtual bool | vetoConnect (agxPowerLine::Connector *connector) const |
Static Public Member Functions | |
| static void | setEnableUuidGeneration (bool flag) |
| Specify if there should be UUID:s generated for each new Serializable object. By default it is enabled. More... | |
| template<typename T > | |
| static bool | ValidateCast (const Referenced *object) |
Protected Member Functions | |
| ReliefValve () | |
| bool | activateDimension (PhysicalDimension *dimension) |
| void | addInternalConnector (agxPowerLine::Connector *connector) |
| void | addInternalUnit (agxPowerLine::Unit *unit) |
| void | allocateObserverVector () const |
| void | deleteUsingDeleteHandler () const |
| void | generateUuid () |
| virtual bool | hasValidInputConnection () const |
| returns if it is possible to connect to this unit More... | |
| void | removeInternalConnector (agxPowerLine::Connector *connector) |
| void | removeInternalUnit (agxPowerLine::Unit *unit) |
| agx::Bool | replaceInternalUnit (agxPowerLine::Unit *oldUnit, agxPowerLine::Unit *newUnit) |
| void | restorePre46 (agxStream::InputArchive &in) |
| void | setPowerLine (PowerLine *powerLine) |
| Point to the power line the unit is a part of. More... | |
Static Protected Member Functions | |
| static DeleteHandler * | getDeleteHandler () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to. More... | |
Protected Attributes | |
| agx::observer_ptr< agx::RigidBody > | m_attachBody |
| PhysicalDimensionRefVector | m_dimensions |
| SubGraphObserver | m_enclosingGraph |
| bool | m_ignoreMeForStoreRestoreStream |
| ConnectorRefVector | m_internalConnectors |
| UnitRefVector | m_internalUnits |
| Mutex | m_mutex |
| agx::Name | m_name |
| ObserverContainer | m_observers |
| PowerLine * | m_powerLine |
| AtomicValue | m_refCount |
| agxPowerLine::Unit * | m_rootUnit |
The relief valve is a hydraulic component that limits the pressure at some point in the system.
It is configured by specifying a cracking pressure and a fully open pressure. When the pressure in the relief valve reaches the cracking pressure a separate drain to tank starts to open. As the pressure increases the drain continues to opens until the pressures reaches the fully open pressure. At that point the drain to tank will have reached the configured fully open area and the relief valve will be unable to prevent any further rise in pressure.
The cracking pressure must always be less than the fully open pressure.
The implementation uses a step function for the drain area. The drain is opened in stages as the pressure increases. The user can specify the number of steps, which is also called the number of drain pipes. More drain pipes allows the relief valve to regulate the pressure more precicely, reducing pressure fluctuations near step transitions, but comes with a performance penalty.
At pressures below the cracking pressure the relief valve acts like a regular pipe. However, it is not a FlowUnit but instead a dimensionless Unit. This is because the relief valve has two separate flows: the input flow and the output flow. To represent this the ReliefValve contains two internal FlowUnits, called chambers, that represents the two flows.
Definition at line 72 of file ReliefValve.h.
| agxHydraulics::ReliefValve::ReliefValve | ( | agx::Real | crackingPressure, |
| agx::Real | fullyOpenPressure, | ||
| agx::Real | fullyOpenArea, | ||
| agx::UInt32 | numDrains = 6 |
||
| ) |
Create a new relief valve.
| crackingPressure | Pressure when the drain to tank begins to open. |
| fullyOpenPressure | Pressure when the drain to tank should reach it's maximum area. |
| fullyOpenArea | The area of the drain to tank when pressure it at or above the fullyOpenPressure. |
| numDrains | The number of drains to tank. |
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
pure virtualinherited |
Implemented in agxDriveTrain::ElectricMotor, agxDriveTrain::Clutch, and agxPowerLine::Connector.
|
inherited |
|
inherited |
|
inherited |
|
protectedinherited |
|
inherited |
Subclass casting.
Template type must match actual type, dynamic_cast assertion will fail otherwise.
Referenced by agx::InternalData::get(), agxVehicle::Track::getNode(), agx::InternalData::getOrCreate(), and agx::InternalData::hasData().
|
inherited |
|
inherited |
Safe subclass casting, return nullptr if template type does not match.
Referenced by agxUtil::CollectBodiesAndWiresVisitor::visit().
|
inherited |
|
inherited |
Define which body in the simulation this Unit is attached to.
If the body is nullptr the Unit is attached to world. This will override any parent body set to the power line the unit is a part of.
|
inherited |
|
virtualinherited |
Connect the unit to a connector.
| connector | - a connector |
|
virtualinherited |
Connect the unit to a connector, specifying the side of each.
| mySide | - The side on this unit to connect. |
| connectorSide | - The side on the connector to connect. |
| connector | - The connector to connect. |
|
virtualinherited |
Connect the unit to another unit.
| otherUnit | - another unit. |
|
virtualinherited |
|
protectedinherited |
|
virtualinherited |
|
inherited |
|
protectedinherited |
|
inherited |
|
inherited |
| agxHydraulics::FlowUnit* agxHydraulics::ReliefValve::getChamber | ( | agxPowerLine::Side | side | ) |
| const agxHydraulics::FlowUnit* agxHydraulics::ReliefValve::getChamber | ( | agxPowerLine::Side | side | ) | const |
|
virtualinherited |
Reimplemented in agxWire::StopNode, agxWire::ConnectingNode, agxWire::EyeNode, agxWire::BodyFixedNode, agx::RigidBody, agx::Twist, agxWire::FreeNode, agx::ScrewController, agx::LockController, agxModel::WaterWrapper, agx::MergedBody, agx::MergedBody, agxModel::ConstantWindGenerator, agx::RangeController, agxModel::ConstantWaterFlowGenerator, agx::MergedBody, agx::ElectricMotorController, agx::MergedBody, agx::FrictionController, agx::MergedBody, agx::TargetSpeedController, agxModel::WindAndWaterController, agxSDK::Assembly, agx::QuatLock, agx::SphericalRel, agx::Spherical, agxWire::WireSimpleDrumController, agx::Dot2, agxModel::FractureAlgorithmBreakOnStress, agx::Swing, agxModel::FractureAlgorithmBreakOnContactForce, agx::Dot1, agxModel::FractureAlgorithmBreakOnContact, agx::Frame, agxPowerLine::detail::DimensionState3Dof< DimensionType >, agxUtil::ConstraintHolder, agxDriveTrain::PidControlledEngine, agxCable::CableDamage, agxControl::TeleportToSensorOperation, agxCollide::Geometry, agxDriveTrain::deprecated::Clutch, agxModel::Terrain, agxModel::TerrainDataInterface, agx::ObserverFrame, agxControl::StoreParticlesOperation, agxModel::SlidingNodeAttachment, agxDriveTrain::deprecated::GearBox, agxControl::EventSensor, agxPowerLine::Connection, agxModel::FractureGenerator, agxControl::LoadParticleAGXFileOperation, agxPowerLine::TranslationalConstraintImplementation, agxModel::RotatingNodeAttachment, agxModel::TwoBodyTire, agxPowerLine::detail::DimensionState1Dof< DimensionType >, agxModel::Deformable1DNodeRoute, agxPowerLine::ElementaryTranslationalConstraint, agxControl::SetVelocityOperation, agx::AddedMassInteraction, agxPowerLine::TranslationalActuator, agxDriveTrain::RpmController, agx::RigidBodyAttachment, agxVehicle::Track, agxModel::RigidNodeAttachment, agxControl::WriteParticleDataToAGXOperation, agxModel::TerrainIterativeProjectedConeFrictionModel, agxModel::Deformable1DSphereGeometryFactory, agxModel::DeformableParticleCreator, agxPowerLine::GearConstraintImplementation, agxControl::MakeParticleKinematicOperation, agxModel::ConvexSoil, agx::IterativeProjectedConeFriction, agxSDK::SimulationStatisticsListener, agxSDK::LinkedStructure, agx::ConstantNormalForceOrientedBoxFrictionModel, agxDriveTrain::deprecated::FixedGear, agxVehicle::TrackProperties, agxHydraulics::HydraulicPumpActuator, agxPowerLine::ElementaryGearConstraint, agxModel::Deformable1DPointRoute, agxModel::PointNodeAttachment, agx::PropertyContainer, agxModel::SoilParticle, agxSDK::MaterialManager::MaterialManagerSerializer, agxModel::Deformable1DCylinderGeometryFactory, agxDriveTrain::deprecated::HighLevelDifferential, agxPowerLine::TorqueGenerator, agxPowerLine::PowerLine, agx::ScaleBoxFrictionModel, agxHydraulics::PistonActuator, agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation, agx::SeparationAngle, agxWire::ConvexAreaDefinition, agxCollide::Trimesh, agxControl::LoadParticleJournalOperation, agxControl::ReplaceParticleMaterialOperation, agxWire::ShapeContactNode, agxModel::Deformable1DCapsuleGeometryFactory, agx::CubicSplineLookupTable, agxHydraulics::HydraulicMotorActuator, agxSDK::GeometryContactMergeSplitThresholds, agxDriveTrain::deprecated::TorqueConverterTable, agxDriveTrain::HolonomicGear, agxModel::Deformable1DNode, agx::BoxFrictionModel, agxPowerLine::RotationalConnector, agxWire::CircularAreaDefinition, agxPowerLine::ActuatorBodyUnit, agxPowerLine::RotationalActuator, agxModel::Deformable1DBulkProperties, agx::Attachment, agxModel::Deformable1D, agx::GranularImpactDataWriter, agxPowerLine::PowerTimeIntegralLookupTable, agx::WheelJoint, agx::OrientedIterativeProjectedConeFrictionModel, agxControl::ParticleContactDumper, agxDriveTrain::deprecated::TorqueConverter, agxCable::Route, agx::Hinge, agx::RotationalAngle, agx::CubicFunction2D, agxControl::RecordParticleShapshotJournalOperation, agxDriveTrain::deprecated::HighLevelGearBox, agxTerrain::TerrainRasterizer, agxVehicle::Wheel, agxControl::SensorOperation, agxHydraulics::FlowDimension, agxModel::HeightFieldDeformerJournalRecorder, agxModel::ParticleAttributes, agxDriveTrain::Engine, agxWire::EyeNodeArea, agxModel::SurfaceVelocityConveyorBelt, agxCable::PathRoute, agx::WorldFrameBallJoint, agx::OrientedScaleBoxFrictionModel, agxPowerLine::LinearLookupTable, agxCollide::Line, agxDriveTrain::Differential, agxVehicle::TrackRoute, agxCollide::RenderMaterial, agxControl::MeasurementSensor, agxModel::DeformableMineFace, agx::AutoSleepThreshold, agxCollide::CollisionGroupManager, agxControl::ColorParticles, agxHydraulics::NeedleValve, agxModel::DeformableParticleMesh, agxDriveTrain::ElectricMotor, agxDriveTrain::SlipGear, agxModel::OneBodyTire, agxPowerLine::ActuatorRotationalDimension, agxCable::SegmentingRoute, agx::LinearLookupTable, agx::MergeSplit, agxCollide::RenderData, agxControl::RecordParticleJournalOperation, agxPowerLine::RotationalTranslationalHolonomicConnector, agxUtil::RawMesh, agxPowerLine::RotationalDimension, agxModel::WindAndWaterController::WindGenerator, agx::Physics::GranularBodySystem, agx::Prismatic, agx::VirtualConstraintInertia, agx::OrientedBoxFrictionModel, agxModel::ThreeBodyTire, agxSDK::ConstraintMergeSplitThresholds, agx::RegularizationParameters, agxSDK::LinkedSegment, agxCollide::CollisionMeshData, agx::SphericalRelSlack, agx::SlackHingeJoint, agx::SlackLockJoint, agxDriveTrain::deprecated::HighLevelTorqueConverter, agxDriveTrain::GearBox, agxCollide::Plane, agxHydraulics::detail::GraphJoiningConnector, agxModel::Deformable1DBoxGeometryFactory, agx::CylindricalJoint, agxCable::CableDamageState, agxHydraulics::CheckValve, agxPowerLine::RotationalUnit, agx::BallJoint, agx::SlackPrismaticJoint, agx::Interaction, agx::DistanceJoint, agxPowerLine::SlotMapper, agxSDK::EventListener, agx::JournalCustomDataRecorder, agxControl::SensorEvent, agxSDK::StepEventListener, agxControl::TagOperation, agx::PrismaticUniversalJoint, agx::UniversalJoint, agxCollide::Convex, agx::SlackCylindricalJoint, agxCable::IdentityRoute, agxHydraulics::deprecated::PumpUnit, agxDriveTrain::Clutch, agxHydraulics::deprecated::MotorUnit, agxModel::HeightController, agxSDK::WireMergeSplitThresholds, agxModel::WindAndWaterController::WaterFlowGenerator, agxVehicle::TrackNode, agx::ContactTangent, agxDriveTrain::ElectricMotorConstraint, agx::LockJoint, agx::SwingTwistLock, agxCollide::WireShape, agxHydraulics::detail::SpoolValveConnector, agx::SleepThreshold, agxSDK::ConstraintMergeSplitAlgorithm, agxSDK::GeometryContactMergeSplitAlgorithm, agx::Dot2Slack, agxDriveTrain::Gear, agxPowerLine::RotationalTranslationalConnector, agxPowerLine::WireWinchActuator, agxSDK::WireMergeSplitAlgorithm, agxHydraulics::Accumulator, agxHydraulics::detail::GraphJoiningConstraintImplementation, agxModel::HeightFieldDeformer, agxDriveTrain::EnginePowerGenerator, agx::AngularLockJoint, agx::PointGravityField, agx::SplineJoint, agxControl::BaseRecordParticleJournalOperation, agx::Dot1Joint, agxPowerLine::detail::RigidBodyRotationalAttachmentSentry, agxControl::RemoveParticles, agxSDK::LinkedStructureComponent, agxDriveTrain::DifferentialLockConnector, agxDriveTrain::Shaft, agx::UniformGravityField, agx::ParticleContactSensor, agxCollide::MeshData, agxDriveTrain::deprecated::TorqueConverterSpeedRatioLookup, agxSDK::Collection, agx::ContactNormal, agxHydraulics::detail::ElementaryGraphJoiningConstraint, agxPowerLine::detail::WireWinchConnectorConstraintImplementation, agx::MergeSplitBodyStorage, agx::StrongInteractionConstraint, agxSDK::EnergyManager, agx::PlaneJoint, agx::ParticleSink, agx::Dot1Slack, agxDriveTrain::ElectricMotorConstraintImplementation, agxSDK::GranularContactMergeSplitAlgorithm, agxControl::SplitSensorOperation, agxDriveTrain::EngineDampingUpdater, agxControl::RemoveRigidBody, agxPowerLine::detail::WireWinchConnector, agxPowerLine::detail::ElementaryWireWinchConnectorConstraint, agxPowerLine::detail::RigidBodyTranslationalAttachmentSentry, agxSDK::MergedBodyMergeSplitAlgorithm, agxCable::RoutingNode, agxCable::CablePlasticity, agxHydraulics::detail::SpoolValveStaticFlowUnit, agxModel::PlasticityComponent, and agxCable::GeometryFactory.
Referenced by agxStream::InputArchive::readRef().
|
virtualinherited |
Reimplemented in agxPowerLine::TranslationalActuator, agxHydraulics::PistonActuator, agxPowerLine::Actuator, agxHydraulics::Accumulator, agxHydraulics::deprecated::PumpUnit, agxHydraulics::deprecated::MotorUnit, agxDriveTrain::deprecated::DriveTrainComponent, and agxPowerLine::Actuator1DOF.
|
virtualinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Append all connectors connecting this Unit to the given Unit to the 'result' Vector.
Returns the index of the first Connector added. Will be one-past-end (result.size()) if no connectors are added.
|
inherited |
|
virtualinherited |
Fill the given vector with the Connectors that are held by this SubGraph.
The collection is recursive, so internal Connectors will be collected.
Reimplemented in agxDriveTrain::Differential, and agxDriveTrain::deprecated::DriveTrainComponent.
| agx::Real agxHydraulics::ReliefValve::getCrackingPressure | ( | ) | const |
|
staticprotectedinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
| agxHydraulics::Pipe* agxHydraulics::ReliefValve::getDrain | ( | agx::UInt32 | index | ) |
| index | The drain pipe to return. Must be less than the number of drains. |
| const agxHydraulics::Pipe* agxHydraulics::ReliefValve::getDrain | ( | agx::UInt32 | index | ) | const |
| index | The drain pipe to return. Must be less than the number of drains. |
| agxHydraulics::FlowConnector* agxHydraulics::ReliefValve::getDrainConnector | ( | ) |
| agx::Real agxHydraulics::ReliefValve::getDrainFlowRate | ( | ) | const |
|
inherited |
Definition at line 273 of file Serializable.h.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
| agx::Constraint* agxHydraulics::ReliefValve::getFlowBlockConstraint | ( | agx::UInt32 | index | ) |
The implementation uses constraints to control when drain pipes should open or close.
| index | The drain pipe constraint to return. Must be less than the number of drains. |
| agx::Real agxHydraulics::ReliefValve::getFullyOpenPressure | ( | ) | const |
|
inherited |
|
inherited |
This index is given at creation of this object.
It is guaranteed to be unique for the lifetime of this library instance. As long as the application is running. This value is not serialized or restored. A new object will always get a new index no matter how it is created.
Definition at line 247 of file Serializable.h.
| agxHydraulics::FlowUnit* agxHydraulics::ReliefValve::getInputChamber | ( | ) |
| const agxHydraulics::FlowUnit* agxHydraulics::ReliefValve::getInputChamber | ( | ) | const |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
The number of non-null PhysicalDimension in this Unit, not including internal Units.
|
virtualinherited |
|
inherited |
| agx::UInt32 agxHydraulics::ReliefValve::getNumDrains | ( | ) | const |
| agx::Real agxHydraulics::ReliefValve::getOpeningFraction | ( | ) | const |
The opening fraction will always be a multiple of 1/num_drains, and will always be in the range [0..1], inclusive.
| agxHydraulics::FlowUnit* agxHydraulics::ReliefValve::getOutputChamber | ( | ) |
| const agxHydraulics::FlowUnit* agxHydraulics::ReliefValve::getOutputChamber | ( | ) | const |
|
inherited |
|
inherited |
|
inherited |
Constructs the set of Units connected to this Unit's own dimensions.
Does not consider internal units.
|
inherited |
|
inherited |
| agx::Real agxHydraulics::ReliefValve::getPressure | ( | ) | const |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
pure virtualinherited |
Implemented in agxWire::StopNode, agxWire::ConnectingNode, agxWire::EyeNode, agxWire::BodyFixedNode, agx::RigidBody, agx::Twist, agxWire::FreeNode, agx::ScrewController, agx::LockController, agxModel::WaterWrapper, agx::MergedBody, agx::MergedBody, agxModel::ConstantWindGenerator, agx::RangeController, agxModel::ConstantWaterFlowGenerator, agx::MergedBody, agx::ElectricMotorController, agx::MergedBody, agx::FrictionController, agx::MergedBody, agx::TargetSpeedController, agxModel::WindAndWaterController, agxSDK::Assembly, agx::QuatLock, agx::SphericalRel, agx::Spherical, agxWire::WireSimpleDrumController, agx::Dot2, agxModel::FractureAlgorithmBreakOnStress, agx::Swing, agxModel::FractureAlgorithmBreakOnContactForce, agx::Dot1, agxModel::FractureAlgorithmBreakOnContact, agx::Frame, agxPowerLine::detail::DimensionState3Dof< DimensionType >, agxUtil::ConstraintHolder, agxDriveTrain::PidControlledEngine, agxCable::CableDamage, agxControl::TeleportToSensorOperation, agxCollide::Geometry, agxDriveTrain::deprecated::Clutch, agxModel::Terrain, agxModel::TerrainDataInterface, agx::ObserverFrame, agxControl::StoreParticlesOperation, agxModel::SlidingNodeAttachment, agxDriveTrain::deprecated::GearBox, agxControl::EventSensor, agxPowerLine::Connection, agxModel::FractureGenerator, agxControl::LoadParticleAGXFileOperation, agxPowerLine::TranslationalConstraintImplementation, agxModel::RotatingNodeAttachment, agxModel::TwoBodyTire, agxModel::Deformable1DNodeRoute, agxPowerLine::detail::DimensionState1Dof< DimensionType >, agxPowerLine::ElementaryTranslationalConstraint, agxControl::SetVelocityOperation, agx::AddedMassInteraction, agxPowerLine::TranslationalActuator, agxDriveTrain::RpmController, agx::RigidBodyAttachment, agxVehicle::Track, agxModel::RigidNodeAttachment, agxControl::WriteParticleDataToAGXOperation, agxModel::TerrainIterativeProjectedConeFrictionModel, agxModel::Deformable1DSphereGeometryFactory, agxModel::DeformableParticleCreator, agxPowerLine::GearConstraintImplementation, agxControl::MakeParticleKinematicOperation, agxModel::ConvexSoil, agx::IterativeProjectedConeFriction, agxSDK::SimulationStatisticsListener, agxSDK::LinkedStructure, agx::ConstantNormalForceOrientedBoxFrictionModel, agxDriveTrain::deprecated::FixedGear, agxVehicle::TrackProperties, agxHydraulics::HydraulicPumpActuator, agxPowerLine::ElementaryGearConstraint, agxModel::Deformable1DPointRoute, agxModel::PointNodeAttachment, agx::PropertyContainer, agxModel::SoilParticle, agxSDK::MaterialManager::MaterialManagerSerializer, agxModel::Deformable1DCylinderGeometryFactory, agxDriveTrain::deprecated::HighLevelDifferential, agxPowerLine::TorqueGenerator, agxPowerLine::PowerLine, agx::ScaleBoxFrictionModel, agxHydraulics::PistonActuator, agxPowerLine::PhysicalDimensionMultiBodyConstraintImplementation, agx::SeparationAngle, agxWire::ConvexAreaDefinition, agxCollide::Trimesh, agxControl::LoadParticleJournalOperation, agxControl::ReplaceParticleMaterialOperation, agxWire::ShapeContactNode, agxModel::Deformable1DCapsuleGeometryFactory, agx::CubicSplineLookupTable, agxHydraulics::HydraulicMotorActuator, agxSDK::GeometryContactMergeSplitThresholds, agxDriveTrain::deprecated::TorqueConverterTable, agxDriveTrain::HolonomicGear, agxModel::Deformable1DNode, agx::BoxFrictionModel, agxPowerLine::RotationalConnector, agxWire::CircularAreaDefinition, agxPowerLine::ActuatorBodyUnit, agxPowerLine::RotationalActuator, agxModel::Deformable1DBulkProperties, agx::Attachment, agxModel::Deformable1D, agx::GranularImpactDataWriter, agxPowerLine::PowerTimeIntegralLookupTable, agx::WheelJoint, agx::OrientedIterativeProjectedConeFrictionModel, agxControl::ParticleContactDumper, agxDriveTrain::deprecated::TorqueConverter, agxCable::Route, agx::Hinge, agx::RotationalAngle, agx::CubicFunction2D, agxControl::RecordParticleShapshotJournalOperation, agxDriveTrain::deprecated::HighLevelGearBox, agxTerrain::TerrainRasterizer, agxVehicle::Wheel, agxControl::SensorOperation, agxHydraulics::FlowDimension, agxModel::HeightFieldDeformerJournalRecorder, agxModel::ParticleAttributes, agxDriveTrain::Engine, agxWire::EyeNodeArea, agxModel::SurfaceVelocityConveyorBelt, agxCable::PathRoute, agx::WorldFrameBallJoint, agx::OrientedScaleBoxFrictionModel, agxPowerLine::LinearLookupTable, agxCollide::Line, agxDriveTrain::Differential, agxVehicle::TrackRoute, agxCollide::RenderMaterial, agxControl::MeasurementSensor, agxModel::DeformableMineFace, agx::AutoSleepThreshold, agxCollide::CollisionGroupManager, agxControl::ColorParticles, agxHydraulics::NeedleValve, agxModel::DeformableParticleMesh, agxDriveTrain::ElectricMotor, agxDriveTrain::SlipGear, agxModel::OneBodyTire, agxPowerLine::ActuatorRotationalDimension, agxCable::SegmentingRoute, agx::LinearLookupTable, agx::MergeSplit, agxCollide::RenderData, agxControl::RecordParticleJournalOperation, agxPowerLine::RotationalTranslationalHolonomicConnector, agxUtil::RawMesh, agxPowerLine::RotationalDimension, agxModel::WindAndWaterController::WindGenerator, agx::Physics::GranularBodySystem, agx::Prismatic, agx::VirtualConstraintInertia, agx::OrientedBoxFrictionModel, agxModel::ThreeBodyTire, agxSDK::ConstraintMergeSplitThresholds, agx::RegularizationParameters, agxSDK::LinkedSegment, agxCollide::CollisionMeshData, agx::SphericalRelSlack, agx::SlackHingeJoint, agx::SlackLockJoint, agxDriveTrain::deprecated::HighLevelTorqueConverter, agxDriveTrain::GearBox, agxCollide::Plane, agxHydraulics::detail::GraphJoiningConnector, agxModel::Deformable1DBoxGeometryFactory, agx::CylindricalJoint, agxCable::CableDamageState, agxHydraulics::CheckValve, agxPowerLine::RotationalUnit, agx::BallJoint, agx::SlackPrismaticJoint, agx::Interaction, agx::DistanceJoint, agxPowerLine::SlotMapper, agxSDK::EventListener, agx::JournalCustomDataRecorder, agxControl::SensorEvent, agxSDK::StepEventListener, agxControl::TagOperation, agx::PrismaticUniversalJoint, agx::UniversalJoint, agxCollide::Convex, agx::SlackCylindricalJoint, agxCable::IdentityRoute, agxHydraulics::deprecated::PumpUnit, agxDriveTrain::Clutch, agxHydraulics::deprecated::MotorUnit, agxModel::HeightController, agxSDK::WireMergeSplitThresholds, agxModel::WindAndWaterController::WaterFlowGenerator, agxVehicle::TrackNode, agx::ContactTangent, agxDriveTrain::ElectricMotorConstraint, agx::LockJoint, agx::SwingTwistLock, agxCollide::WireShape, agxHydraulics::detail::SpoolValveConnector, agx::SleepThreshold, agxSDK::ConstraintMergeSplitAlgorithm, agxSDK::GeometryContactMergeSplitAlgorithm, agx::Dot2Slack, agxDriveTrain::Gear, agxPowerLine::RotationalTranslationalConnector, agxPowerLine::WireWinchActuator, agxSDK::WireMergeSplitAlgorithm, agxHydraulics::Accumulator, agxHydraulics::detail::GraphJoiningConstraintImplementation, agxModel::HeightFieldDeformer, agxDriveTrain::EnginePowerGenerator, agx::AngularLockJoint, agx::PointGravityField, agx::SplineJoint, agxControl::BaseRecordParticleJournalOperation, agx::Dot1Joint, agxControl::RemoveParticles, agxSDK::LinkedStructureComponent, agxDriveTrain::DifferentialLockConnector, agxDriveTrain::Shaft, agxPowerLine::detail::RigidBodyRotationalAttachmentSentry, agx::UniformGravityField, agx::ParticleContactSensor, agxCollide::MeshData, agxDriveTrain::deprecated::TorqueConverterSpeedRatioLookup, agxSDK::Collection, agx::ContactNormal, agxHydraulics::detail::ElementaryGraphJoiningConstraint, agxPowerLine::detail::WireWinchConnectorConstraintImplementation, agx::MergeSplitBodyStorage, agx::StrongInteractionConstraint, agxSDK::EnergyManager, agx::PlaneJoint, agx::ParticleSink, agx::Dot1Slack, agxDriveTrain::ElectricMotorConstraintImplementation, agxSDK::GranularContactMergeSplitAlgorithm, agxControl::SplitSensorOperation, agxDriveTrain::EngineDampingUpdater, agxControl::RemoveRigidBody, agxPowerLine::detail::WireWinchConnector, agxPowerLine::detail::ElementaryWireWinchConnectorConstraint, agxSDK::MergedBodyMergeSplitAlgorithm, agxCable::RoutingNode, agxCable::CablePlasticity, agxHydraulics::detail::SpoolValveStaticFlowUnit, agxPowerLine::detail::RigidBodyTranslationalAttachmentSentry, agxModel::PlasticityComponent, and agxCable::GeometryFactory.
|
virtualinherited |
Fill the given vector with the Units that are held by this SubGraph.
The collection is recursive, so internal Units will be collected.
Reimplemented in agxDriveTrain::deprecated::DriveTrainComponent.
|
inherited |
Definition at line 268 of file Serializable.h.
Referenced by agxSDK::UuidHashCollisionFilter::match().
|
inherited |
|
protectedvirtualinherited |
returns if it is possible to connect to this unit
|
inherited |
Subclass test.
Referenced by agx::Object::getAutoScopedResource(), agxData::EntityStorage::getInstances(), and agx::Object::getResource().
|
virtualinherited |
|
inherited |
|
inherited |
Definition at line 252 of file Serializable.h.
References AGX_FORCE_INLINE.
|
virtualinherited |
|
virtualinherited |
Reimplemented in agxDriveTrain::ElectricMotor.
|
virtualinherited |
Reimplemented in agxDriveTrain::ElectricMotor.
|
virtualinherited |
|
virtualinherited |
Reimplemented in agxPowerLine::WireWinchActuator.
|
virtualinherited |
Reimplemented in agxPowerLine::WireWinchActuator.
|
virtualinherited |
Reimplemented in agxDriveTrain::PidControlledEngine, agxDriveTrain::deprecated::GearBox, agxDriveTrain::deprecated::FixedGear, agxPowerLine::RotationalActuator, agxDriveTrain::Engine, agxDriveTrain::ElectricMotor, agxPowerLine::RotationalUnit, agxPowerLine::WireWinchActuator, agxPowerLine::Actuator1DOF, and agxDriveTrain::Shaft.
Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it.
This method should be used with care, always balanced with the same number of calls to unreference.
|
protectedinherited |
|
protectedinherited |
|
pure virtualinherited |
|
inherited |
|
protectedinherited |
|
overridevirtualinherited |
Restores internal data from stream.
Reimplemented from agxPowerLine::SubGraph.
Reimplemented in agxDriveTrain::PidControlledEngine, agxDriveTrain::deprecated::Clutch, agxDriveTrain::deprecated::GearBox, agxPowerLine::TranslationalActuator, agxDriveTrain::deprecated::FixedGear, agxHydraulics::HydraulicPumpActuator, agxHydraulics::PistonActuator, agxHydraulics::HydraulicMotorActuator, agxDriveTrain::deprecated::TorqueConverterTable, agxPowerLine::ActuatorBodyUnit, agxPowerLine::RotationalActuator, agxDriveTrain::deprecated::HighLevelGearBox, agxDriveTrain::Engine, agxDriveTrain::ElectricMotor, agxDriveTrain::deprecated::HighLevelTorqueConverter, agxPowerLine::Actuator, agxPowerLine::RotationalUnit, agxDriveTrain::deprecated::DriveTrainComponent, agxPowerLine::WireWinchActuator, agxPowerLine::Actuator1DOF, and agxDriveTrain::Shaft.
|
overridevirtualinherited |
Reimplemented from agxPowerLine::SubGraph.
Reimplemented in agxDriveTrain::PidControlledEngine, agxDriveTrain::deprecated::Clutch, agxDriveTrain::deprecated::GearBox, agxPowerLine::TranslationalActuator, agxDriveTrain::deprecated::FixedGear, agxHydraulics::HydraulicPumpActuator, agxHydraulics::PistonActuator, agxHydraulics::HydraulicMotorActuator, agxDriveTrain::deprecated::TorqueConverterTable, agxPowerLine::ActuatorBodyUnit, agxPowerLine::RotationalActuator, agxDriveTrain::deprecated::HighLevelGearBox, agxDriveTrain::Engine, agxHydraulics::NeedleValve, agxDriveTrain::ElectricMotor, agxPowerLine::Actuator, agxDriveTrain::deprecated::HighLevelTorqueConverter, agxHydraulics::CheckValve, agxPowerLine::RotationalUnit, agxHydraulics::deprecated::PumpUnit, agxHydraulics::deprecated::MotorUnit, agxDriveTrain::deprecated::DriveTrainComponent, agxPowerLine::WireWinchActuator, agxHydraulics::Accumulator, agxPowerLine::Actuator1DOF, agxDriveTrain::Shaft, and agxHydraulics::detail::SpoolValveStaticFlowUnit.
|
protectedinherited |
Set the pressure at which the drain should start to open.
Must be less than the fully open pressure. It is recommended to use setPressures when changing both pressures to avoid invalid states.
| crackingPressure | The pressure when the drain should start to open. |
|
staticprotectedinherited |
Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to.
|
inherited |
Set to false to disable serialization of this object.
It will just be ignored during serialization (writing). It is still possible to restore TO this object.
|
staticinherited |
Specify if there should be UUID:s generated for each new Serializable object. By default it is enabled.
|
inherited |
Tells this class that it is restored correctly and should not be deleted during destruction of an Archive.
Set the pressure at which the drain should reach fully open.
Must be greater than the cracking pressure. It is recommended to use setPressures when changing both pressures to avoid invalid states.
| fullyOpenPressure | The pressure when the drain should reach fully open. |
Set the name of this power line component.
| name | - The new name. |
Point to the power line the unit is a part of.
| void agxHydraulics::ReliefValve::setPressures | ( | agx::Real | crackingPressure, |
| agx::Real | fullyOpenPressure | ||
| ) |
Set the pressure range for the relief valve.
This version is recommended over a call pair to setCrackingPressure and setFullyOpenPressure because it avoids the possibly invalid state that the first call in the pair might cause.
| crackingPressure | The pressure when the drain to tank starts to open. |
| fullyOpenPressure | The pressure when the drain to tank is fully open. |
|
inherited |
Explicitly set a Uuid on a serializable object.
Use this method with great care, as it can result in non-unique identifiers in the system!
|
inherited |
|
inherited |
|
overridevirtualinherited |
Stores internal data into stream.
Reimplemented from agxPowerLine::SubGraph.
Reimplemented in agxDriveTrain::PidControlledEngine, agxDriveTrain::deprecated::Clutch, agxDriveTrain::deprecated::GearBox, agxPowerLine::TranslationalActuator, agxDriveTrain::deprecated::FixedGear, agxHydraulics::HydraulicPumpActuator, agxHydraulics::PistonActuator, agxHydraulics::HydraulicMotorActuator, agxDriveTrain::deprecated::TorqueConverterTable, agxPowerLine::ActuatorBodyUnit, agxPowerLine::RotationalActuator, agxDriveTrain::deprecated::HighLevelGearBox, agxDriveTrain::Engine, agxDriveTrain::ElectricMotor, agxDriveTrain::deprecated::HighLevelTorqueConverter, agxPowerLine::Actuator, agxPowerLine::RotationalUnit, agxDriveTrain::deprecated::DriveTrainComponent, agxPowerLine::WireWinchActuator, agxPowerLine::Actuator1DOF, and agxDriveTrain::Shaft.
|
overridevirtualinherited |
Reimplemented from agxPowerLine::SubGraph.
Reimplemented in agxDriveTrain::PidControlledEngine, agxDriveTrain::deprecated::Clutch, agxDriveTrain::deprecated::GearBox, agxPowerLine::TranslationalActuator, agxDriveTrain::deprecated::FixedGear, agxHydraulics::HydraulicPumpActuator, agxHydraulics::PistonActuator, agxHydraulics::HydraulicMotorActuator, agxDriveTrain::deprecated::TorqueConverterTable, agxPowerLine::ActuatorBodyUnit, agxPowerLine::RotationalActuator, agxDriveTrain::deprecated::HighLevelGearBox, agxDriveTrain::Engine, agxHydraulics::NeedleValve, agxDriveTrain::ElectricMotor, agxPowerLine::Actuator, agxDriveTrain::deprecated::HighLevelTorqueConverter, agxHydraulics::CheckValve, agxPowerLine::RotationalUnit, agxHydraulics::deprecated::PumpUnit, agxHydraulics::deprecated::MotorUnit, agxDriveTrain::deprecated::DriveTrainComponent, agxPowerLine::WireWinchActuator, agxHydraulics::Accumulator, agxPowerLine::Actuator1DOF, agxDriveTrain::Shaft, and agxHydraulics::detail::SpoolValveStaticFlowUnit.
Decrement the reference count by one, indicating that a pointer to this object is referencing it.
If the reference count goes to zero, it is assumed that this object is no longer referenced and is automatically deleted.
This method should be used with care, always balanced with the same number of calls to reference.
Referenced by agxData::EntityRef< ContactMaterialPtr >::~EntityRef().
|
inherited |
Decrement the reference count by one, indicating that a pointer to this object is referencing it.
However, do not delete it, even if ref count goes to 0. Warning, unref_nodelete() should only be called if the user knows exactly who will be responsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks.
|
staticinherited |
|
virtualinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Definition at line 162 of file SubGraph.h.
|
protectedinherited |
|
protectedinherited |
Definition at line 164 of file SubGraph.h.
|
protectedinherited |
Definition at line 163 of file SubGraph.h.
|
mutableprotectedinherited |
Definition at line 240 of file Referenced.h.
|
protectedinherited |
Definition at line 166 of file SubGraph.h.
|
mutableprotectedinherited |
Definition at line 239 of file Referenced.h.
|
protectedinherited |
Definition at line 165 of file SubGraph.h.
|
mutableprotectedinherited |
Definition at line 241 of file Referenced.h.
|
protectedinherited |