|
AGXDynamics
2.31.1.0
|
A constant flow valve is a valve that acts to limit the flow rate through a pipe to some maximum value. More...
#include <ConstantFlowValve.h>
Inheritance diagram for agxHydraulics::ConstantFlowValve:Public Member Functions | |
| ConstantFlowValve (agx::Real length, agx::Real area, agx::Real fluidDensity, agx::Real targetFlowRate, bool allowPumping=false) | |
| Create a new constant flow valve with the given geometry and target flow rate. More... | |
| virtual bool | addNotification (agxSDK::Simulation *simulation)=0 |
| void | addNotification (agxPowerLine::PowerLine *powerLine) |
| void | addPressure (agx::Real pressure, agxPowerLine::Side side) |
| Add extra pressure to the FlowUnit at the given side. More... | |
| 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 |
| bool | getAllowPumping () const |
| agx::Real | getArea () 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::Constraint * | getConstraint () |
| Provides access to the constraint that regulates the flow rate. More... | |
| const agx::Constraint * | getConstraint () 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 () |
| bool | getEnable () 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 |
| virtual agxHydraulics::FlowConnector * | getFlowConnector (agxPowerLine::Side side) |
| virtual const agxHydraulics::FlowConnector * | getFlowConnector (agxPowerLine::Side side) const |
| agxHydraulics::FlowDimension * | getFlowDimension () |
| const agxHydraulics::FlowDimension * | getFlowDimension () const |
| agx::Real | getFlowRate () const |
| agx::Real | getFluidDensity () const |
| agx::Real | getFluidViscosity () const |
| bool | getIgnoreForStoreRestoreStream () const |
| agx::UInt32 | getIndex () const |
| This index is given at creation of this object. More... | |
| agx::Real | getInletPressure () const |
| size_t | getInputConnectors (const agxPowerLine::Unit *unit, agxPowerLine::ConnectorPtrVector &result) |
| size_t | getInputConnectors (agxPowerLine::ConnectorPtrVector &result) const |
| agxHydraulics::FlowConnector * | getInputFlowConnector () |
| const agxHydraulics::FlowConnector * | getInputFlowConnector () const |
| agx::Real | getInputPressure () const |
| Measure the pressure at the inlet of the FlowUnit. More... | |
| const agxPowerLine::ConnectorRefVector & | getInternalConnectors () const |
| const agxPowerLine::UnitRefVector & | getInternalUnits () const |
| agx::Real | getLength () 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::Real | getOutletPressure () const |
| size_t | getOutputConnectors (const agxPowerLine::Unit *unit, agxPowerLine::ConnectorPtrVector &result) |
| size_t | getOutputConnectors (agxPowerLine::ConnectorPtrVector &result) const |
| agxHydraulics::FlowConnector * | getOutputFlowConnector () |
| const agxHydraulics::FlowConnector * | getOutputFlowConnector () const |
| agx::Real | getOutputPressure () const |
| Measure the pressure at the outlet of the FlowUnit. More... | |
| 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 (agxPowerLine::Side side) const |
| Measure the pressure at the given side of the FlowUnit. More... | |
| 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 |
| agx::Real | getTargetFlowRate () const |
| 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 | isConnected (agxPowerLine::Side end) 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 | setAllowPumping (bool allowPumping) |
| Set to true to allow the constant flow valve to accelerate the fluid. More... | |
| bool | setArea (agx::Real area) |
| Set the area of the FlowUnit. More... | |
| void | setEnable (bool enable) |
| Enable or disable the constant flow valve. 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 | setFluidDensity (agx::Real density) |
| Set the density of the fluid. More... | |
| void | setFluidViscosity (agx::Real viscosity) |
| The viscosity specified here is the kinematic viscosity, measured in area per time. More... | |
| void | setLength (agx::Real length) |
| Set the length of the FlowUnit. More... | |
| void | setName (const agx::Name &name) |
| Set the name of this power line component. More... | |
| void | setRoot (agxPowerLine::Unit *root) |
| void | setTargetFlowRate (agx::Real targetFlowRate) |
| Set the target flow rate of the constant flow valve. More... | |
| 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 FlowConnector * | findInCommonFlowConnector (FlowUnit *a, FlowUnit *b) |
| 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) |
Static Protected Member Functions | |
| static agx::Real | computeReynoldsNumber (agx::Real area, agx::Real flowRate, agx::Real viscosity) |
| 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 |
| agxHydraulics::FlowDimensionRef | m_flowDimension |
| 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 |
A constant flow valve is a valve that acts to limit the flow rate through a pipe to some maximum value.
In the default mode it behaves exactly like a regular pipe as long as the flow rate is less than the target flow rate. When the target flow rate has been reached the valve will prevent any further acceleration of the fluid.
In the pumping mode the constant flow valve will add pressure to the system in order to reach the target flow rate. It acts like a pump. This mode is useful when the complexity of an engine/pump combination is unnecessary.
Definition at line 39 of file ConstantFlowValve.h.
| agxHydraulics::ConstantFlowValve::ConstantFlowValve | ( | agx::Real | length, |
| agx::Real | area, | ||
| agx::Real | fluidDensity, | ||
| agx::Real | targetFlowRate, | ||
| bool | allowPumping = false |
||
| ) |
Create a new constant flow valve with the given geometry and target flow rate.
| length | - The length of the pipe. |
| area | - The area of the pipe. |
| fluidDensity | - The density of the flud passing through the pipe. |
| targetFlowRate | - The target flow rate of the constant flow valve. |
| allowPumping | - True if the valve should be able to accelerate the fluid. |
|
protected |
|
protectedvirtual |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
pure virtualinherited |
Implemented in agxDriveTrain::ElectricMotor, agxDriveTrain::Clutch, and agxPowerLine::Connector.
|
inherited |
|
inherited |
Add extra pressure to the FlowUnit at the given side.
A high pressure at the input side will act to generate positive flow through the FlowUnit, while pressure at the output side will act to generate negative flow.
| pressure | - The pressure to add. |
| side | - The side of the FlowUnit where the pressure should be applied. |
|
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(), and agx::InternalData::getOrCreate().
|
inherited |
|
inherited |
Safe subclass casting, return nullptr if template type does not match.
Referenced by agxUtil::CollectBodiesAndWiresVisitor::visit().
|
inherited |
|
inherited |
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
staticprotectedinherited |
|
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 |
|
protected |
|
protectedinherited |
|
protected |
|
virtualinherited |
|
inherited |
|
staticinherited |
|
protectedinherited |
|
inherited |
|
inherited |
| bool agxHydraulics::ConstantFlowValve::getAllowPumping | ( | ) | 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, agxLua::LuaScriptOperation, 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 |
|
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::Constraint* agxHydraulics::ConstantFlowValve::getConstraint | ( | ) |
Provides access to the constraint that regulates the flow rate.
| const agx::Constraint* agxHydraulics::ConstantFlowValve::getConstraint | ( | ) | const |
|
staticprotectedinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
| bool agxHydraulics::ConstantFlowValve::getEnable | ( | ) | const |
|
inherited |
Definition at line 273 of file Serializable.h.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
virtualinherited |
|
virtualinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
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.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Measure the pressure at the inlet of the FlowUnit.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
The number of non-null PhysicalDimension in this Unit, not including internal Units.
|
virtualinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Measure the pressure at the outlet of the FlowUnit.
|
inherited |
Constructs the set of Units connected to this Unit's own dimensions.
Does not consider internal units.
|
inherited |
|
inherited |
|
inherited |
Measure the pressure at the given side of the FlowUnit.
Will only include pressure from a FlowConnector, so pressure added by other Connectors (e.g. pump/motor) or FlowUnit::addPressure will not be included.
If the side is unconnected then the tank pressure will be returned.
| side | The side to measure pressure at. |
|
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, agxLua::LuaScriptOperation, 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.
| agx::Real agxHydraulics::ConstantFlowValve::getTargetFlowRate | ( | ) | const |
|
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.
|
inherited |
|
protectedvirtualinherited |
returns if it is possible to connect to this unit
|
protectedinherited |
|
inherited |
Subclass test.
Referenced by agx::Object::getAutoScopedResource(), agxData::Buffer::getElement(), and agx::Object::getResource().
|
virtualinherited |
|
inherited |
|
inherited |
|
inherited |
Definition at line 252 of file Serializable.h.
|
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.
Referenced by agxData::Val< UInt >::Val().
|
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 |
| void agxHydraulics::ConstantFlowValve::setAllowPumping | ( | bool | allowPumping | ) |
Set to true to allow the constant flow valve to accelerate the fluid.
| allowPumping | - True if pumping is to be allowed. False otherwise. |
|
inherited |
Set the area of the FlowUnit.
Increasing the area will decrease both the inertia and the flow resistance.
|
staticprotectedinherited |
Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to.
| void agxHydraulics::ConstantFlowValve::setEnable | ( | bool | enable | ) |
Enable or disable the constant flow valve.
When disabled the valve acts just like a regular pipe.
| enable | - True if the constant flow valve is to be enabled. False otherwise. |
|
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 density of the fluid.
Increasing the density will increase both the inertia and the flow resistance.
The viscosity specified here is the kinematic viscosity, measured in area per time.
The default viscosity is 1e-5.
Increasing the viscosity increases the flow resistance. Zero viscosity produces zero flow resistance.
Set the length of the FlowUnit.
Increasing the length will increase both the inertia and flow resistance.
Set the name of this power line component.
| name | - The new name. |
Point to the power line the unit is a part of.
|
inherited |
Set the target flow rate of the constant flow valve.
| targetFlowRate | - The new target flow rate. |
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.
|
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.
|
protectedinherited |
|
protectedinherited |
|
staticinherited |
|
virtualinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Definition at line 162 of file SubGraph.h.
|
protectedinherited |
Definition at line 314 of file FlowUnit.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 |