|
AGXDynamics
2.31.1.0
|
This class store the combine material properties between two agx::Material's. More...
#include <Material.h>
Inheritance diagram for agx::ContactMaterial:Public Types | |
| enum | ContactReductionMode { REDUCE_NONE, REDUCE_GEOMETRY, REDUCE_ALL } |
| Specifies the mode for contact reduction. More... | |
| enum | FrictionDirection { PRIMARY_DIRECTION, SECONDARY_DIRECTION, BOTH_PRIMARY_AND_SECONDARY } |
| Specifies the direction of friction. More... | |
Public Member Functions | |
| ContactMaterial (const Material *m1, const Material *m2, bool implicit=false) | |
Constructor which associates this ContactMaterial to the two given materials m1 and m2. More... | |
| ContactMaterial (const ContactMaterial *other, bool implicit) | |
Create a ContactMaterial copying attributes from other. More... | |
| 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 |
| Real | getAdhesion () const |
| Real | getAdhesiveOverlap () const |
| virtual const char * | getClassName () const |
| agx::UInt8 | getContactReductionBinResolution () const |
| ContactReductionMode | getContactReductionMode () const |
| Returns whether contact reduction is enabled for this surface material. More... | |
| Real | getDamping () const |
| The value is the time the contact constraint has to fulfill its violation. More... | |
| bool | getEnableSerialization () const |
| bool | getEnableUuidGeneration () |
| Real | getFrictionCoefficient (FrictionDirection direction=PRIMARY_DIRECTION) const |
| FrictionModel * | getFrictionModel () |
| const FrictionModel * | getFrictionModel () const |
| agx::Real | getImpactCompliance () const |
| agx::UInt32 | getIndex () const |
| This index is given at creation of this object. More... | |
| const Material * | getMaterial1 () const |
| const Material * | getMaterial2 () const |
| Real | getMaxElasticRestLength () const |
| Get the maximum elastic rest length of the contact material. More... | |
| Real | getMinElasticRestLength () const |
| Get the minimum elastic rest length of the contact material. More... | |
| int | getReferenceCount () const |
| Real | getRestitution () const |
| agx::Real | getRollingResistanceCoefficient () const |
| agx::Real | getRollingResistanceCompliance () const |
| virtual StorageAgent * | getStorageAgent () const =0 |
| bool | getSurfaceFrictionEnabled () const |
| Real | getSurfaceViscosity (FrictionDirection direction=PRIMARY_DIRECTION) const |
| Real | getTangentialRestitution (FrictionDirection direction=PRIMARY_DIRECTION) const |
| agx::Real | getTwistingResistanceCoefficient () const |
| agx::Real | getTwistingResistanceCompliance () const |
| bool | getUseContactAreaApproach () const |
| Should contacts using this contact material use the new approach for computing contact area? Default false. More... | |
| agx::Uuid | getUuid () const |
| Real | getWireFrictionCoefficient (FrictionDirection direction=PRIMARY_DIRECTION) const |
| Real | getYoungsModulus () const |
| template<typename T > | |
| bool | is () const |
| Subclass test. More... | |
| bool | isExplicit () const |
| bool | isFinished () const |
| 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... | |
| void | setAdhesion (Real adhesion, Real adhesiveOverlap) |
| Set the adhesive force and allowed overlap between two colliding objects. More... | |
| void | setContactReductionBinResolution (agx::UInt8 binResolution) |
| Specify the resolution used when evaluating contacts for reduction between geometry contacts. More... | |
| void | setContactReductionMode (ContactReductionMode mode) |
| Specify if contact reduction should be enabled. More... | |
| void | setDamping (Real damping) |
| Set the damping of the material. More... | |
| void | setEnableSerialization (bool flag) |
| Set to false to disable serialization of this object. More... | |
| void | setEnableSurfaceFriction (bool flag) |
| Specify if surface friction should be calculated in the solver for this contact material. More... | |
| void | setFinished () |
| Tells this class that it is restored correctly and should not be deleted during destruction of an Archive. More... | |
| void | setFrictionCoefficient (Real friction, FrictionDirection direction=BOTH_PRIMARY_AND_SECONDARY) |
| Set the friction coefficient. More... | |
| void | setFrictionModel (FrictionModel *frictionModel) |
| Set friction model for this contact material. More... | |
| void | setImpactCompliance (agx::Real impactCompliance) |
| Sets the compliance used for calculating impact forces. More... | |
| bool | setMinMaxElasticRestLength (Real minElasticRestLength, Real maxElasticRestLength) |
| Set the minimum and maximum elastic rest length of the contact material. More... | |
| void | setRestitution (Real restitution) |
| Set the restitution parameter. More... | |
| void | setRollingResistanceCoefficient (agx::Real rollingCoefficient) |
| Sets the rolling resistance coefficient of the contact material. More... | |
| void | setRollingResistanceCompliance (agx::Real compliance) |
| Sets the rolling resistance compliance in the contact material. More... | |
| void | setSurfaceViscosity (Real viscosity, FrictionDirection direction=BOTH_PRIMARY_AND_SECONDARY) |
| Assign the surface viscosity, i.e., how wet the friction is between the colliding materials. More... | |
| void | setTangentialRestitution (Real restitution, FrictionDirection direction=BOTH_PRIMARY_AND_SECONDARY) |
| Set the tangential restitution coefficient for a given tangential direction, or both. More... | |
| void | setTwistingResistanceCoefficient (agx::Real twistingCoefficient) |
| Sets the twisting resistance coefficient of the contact material. More... | |
| void | setTwistingResistanceCompliance (agx::Real compliance) |
| Sets the twisting resistance compliance in the contact material. More... | |
| void | setUseContactAreaApproach (bool useContactAreaApproach) |
| Should contacts using this contact material use the new approach for computing contact area? Default false. More... | |
| void | setUuid (const agx::Uuid &uuid) |
| Explicitly set a Uuid on a serializable object. More... | |
| void | setWireFrictionCoefficient (Real friction, FrictionDirection direction=BOTH_PRIMARY_AND_SECONDARY) |
| Set the friction coefficient used by the contact nodes in the wires. More... | |
| void | setYoungsModulus (Real youngsModulus) |
| Set the YoungsModulus of the material, same as spring coefficient k. More... | |
| 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... | |
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 | |
| ContactMaterial () | |
| virtual | ~ContactMaterial () |
| void | allocateObserverVector () const |
| void | deleteUsingDeleteHandler () const |
| void | generateUuid () |
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 | |
| Mutex | m_mutex |
| ObserverContainer | m_observers |
| AtomicValue | m_refCount |
This class store the combine material properties between two agx::Material's.
It can both be implicit, i.e. calculated (by the MaterialManager) during impact between two Geometry's materials. Or it can be explicit, i.e. created by the user and parameterized through the class interface.
Definition at line 503 of file Material.h.
Specifies the mode for contact reduction.
Definition at line 514 of file Material.h.
Specifies the direction of friction.
| Enumerator | |
|---|---|
| PRIMARY_DIRECTION | |
| SECONDARY_DIRECTION | |
| BOTH_PRIMARY_AND_SECONDARY | |
Definition at line 507 of file Material.h.
| agx::ContactMaterial::ContactMaterial | ( | const Material * | m1, |
| const Material * | m2, | ||
| bool | implicit = false |
||
| ) |
Constructor which associates this ContactMaterial to the two given materials m1 and m2.
| m1 | - A Material |
| m2 | - A Material |
| implicit | - If true this will be marked as an implicit ContactMaterial. |
| agx::ContactMaterial::ContactMaterial | ( | const ContactMaterial * | other, |
| bool | implicit | ||
| ) |
Create a ContactMaterial copying attributes from other.
| other | - Attributes will be copied from this ContactMaterial |
| implicit | - If true this will be marked as an implicit ContactMaterial. |
|
protected |
|
protectedvirtual |
|
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 |
|
protectedinherited |
|
protectedinherited |
| Real agx::ContactMaterial::getAdhesion | ( | ) | const |
Definition at line 1090 of file Material.h.
| Real agx::ContactMaterial::getAdhesiveOverlap | ( | ) | const |
Definition at line 1095 of file Material.h.
|
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().
| agx::UInt8 agx::ContactMaterial::getContactReductionBinResolution | ( | ) | const |
Definition at line 1145 of file Material.h.
| ContactMaterial::ContactReductionMode agx::ContactMaterial::getContactReductionMode | ( | ) | const |
Returns whether contact reduction is enabled for this surface material.
Definition at line 1140 of file Material.h.
| Real agx::ContactMaterial::getDamping | ( | ) | const |
The value is the time the contact constraint has to fulfill its violation.
Definition at line 1110 of file Material.h.
|
staticprotectedinherited |
|
inherited |
Definition at line 273 of file Serializable.h.
|
inherited |
| Real agx::ContactMaterial::getFrictionCoefficient | ( | FrictionDirection | direction = PRIMARY_DIRECTION | ) | const |
Definition at line 1080 of file Material.h.
| FrictionModel * agx::ContactMaterial::getFrictionModel | ( | ) |
Definition at line 1115 of file Material.h.
| const FrictionModel * agx::ContactMaterial::getFrictionModel | ( | ) | const |
Definition at line 1120 of file Material.h.
| agx::Real agx::ContactMaterial::getImpactCompliance | ( | ) | const |
Definition at line 1220 of file Material.h.
|
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.
| const Material * agx::ContactMaterial::getMaterial1 | ( | ) | const |
Definition at line 1130 of file Material.h.
Referenced by agxSDK::MaterialManager::getSymmetricPair().
| const Material * agx::ContactMaterial::getMaterial2 | ( | ) | const |
Definition at line 1135 of file Material.h.
Referenced by agxSDK::MaterialManager::getSymmetricPair().
| Real agx::ContactMaterial::getMaxElasticRestLength | ( | ) | const |
Get the maximum elastic rest length of the contact material.
This is only used if the contact area approach is used (getUseContactAreaApproach()==true). For the effect of the elastic rest length, see the user manual.
| maxElasticRestLength,: | The max elastic rest length. |
| Real agx::ContactMaterial::getMinElasticRestLength | ( | ) | const |
Get the minimum elastic rest length of the contact material.
This is only used if the contact area approach is used (getUseContactAreaApproach()==true). For the effect of the elastic rest length, see the user manual.
| minElasticRestLength,: | The min elastic rest length. |
|
inherited |
| Real agx::ContactMaterial::getRestitution | ( | ) | const |
Definition at line 1075 of file Material.h.
References agxUnit::NORMAL.
| agx::Real agx::ContactMaterial::getRollingResistanceCoefficient | ( | ) | const |
Definition at line 1205 of file Material.h.
| agx::Real agx::ContactMaterial::getRollingResistanceCompliance | ( | ) | const |
Definition at line 1210 of file Material.h.
|
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.
| bool agx::ContactMaterial::getSurfaceFrictionEnabled | ( | ) | const |
Definition at line 1100 of file Material.h.
| Real agx::ContactMaterial::getSurfaceViscosity | ( | FrictionDirection | direction = PRIMARY_DIRECTION | ) | const |
Definition at line 1085 of file Material.h.
| Real agx::ContactMaterial::getTangentialRestitution | ( | FrictionDirection | direction = PRIMARY_DIRECTION | ) | const |
| agx::Real agx::ContactMaterial::getTwistingResistanceCoefficient | ( | ) | const |
| agx::Real agx::ContactMaterial::getTwistingResistanceCompliance | ( | ) | const |
Definition at line 1215 of file Material.h.
| bool agx::ContactMaterial::getUseContactAreaApproach | ( | ) | const |
Should contacts using this contact material use the new approach for computing contact area? Default false.
Definition at line 1225 of file Material.h.
|
inherited |
Definition at line 268 of file Serializable.h.
| Real agx::ContactMaterial::getWireFrictionCoefficient | ( | FrictionDirection | direction = PRIMARY_DIRECTION | ) | const |
Definition at line 1230 of file Material.h.
| Real agx::ContactMaterial::getYoungsModulus | ( | ) | const |
Definition at line 1105 of file Material.h.
|
inherited |
Subclass test.
Referenced by agx::Object::getAutoScopedResource(), agxData::Buffer::getElement(), and agx::Object::getResource().
| bool agx::ContactMaterial::isExplicit | ( | ) | const |
Definition at line 1125 of file Material.h.
|
inherited |
Definition at line 252 of file Serializable.h.
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().
Set the adhesive force and allowed overlap between two colliding objects.
| adhesion | - adhesive force >= 0, i.e., the attractive force. The value is clamped between zero and INFINITY. |
| adhesiveOverlap | - allowed overlap (length >= 0) from surface for resting contact. At this overlap, no force is applied. At lower overlap, the adhesion force will work, at higher overlap, the (usual) contact force. The value is clamped between zero and INFINITY. |
| void agx::ContactMaterial::setContactReductionBinResolution | ( | agx::UInt8 | binResolution | ) |
Specify the resolution used when evaluating contacts for reduction between geometry contacts.
A high value will keep more contacts, lower will result in more aggressive reduction the default. Commonly a value of 2 or 3 will give good result. Values from 0 to 10 are valid, where a value of 0 means this will be overridden by the ContactReductionBinResolution from Space.
| binResolution | - parameter to ContactReducer. |
| void agx::ContactMaterial::setContactReductionMode | ( | ContactReductionMode | mode | ) |
Specify if contact reduction should be enabled.
| mode | - The mode, default is REDUCE_GEOMETRY |
Set the damping of the material.
The value is the time the contact constraint has to fulfill its violation.
| damping,: | The new damping value |
|
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.
| void agx::ContactMaterial::setEnableSurfaceFriction | ( | bool | flag | ) |
Specify if surface friction should be calculated in the solver for this contact material.
|
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.
| void agx::ContactMaterial::setFrictionCoefficient | ( | Real | friction, |
| FrictionDirection | direction = BOTH_PRIMARY_AND_SECONDARY |
||
| ) |
Set the friction coefficient.
The value is clamped between zero and INFINITY
| friction | - New friction coefficient |
| direction | - Specifies for which direction the friction value will be set. Default is BOTH_PRIMARY_AND_SECONDARY |
| void agx::ContactMaterial::setFrictionModel | ( | FrictionModel * | frictionModel | ) |
Set friction model for this contact material.
Sets the compliance used for calculating impact forces.
Only used by granular body system impacts.
| impactCompliance | The compliance of the impact constraint. |
| bool agx::ContactMaterial::setMinMaxElasticRestLength | ( | Real | minElasticRestLength, |
| Real | maxElasticRestLength | ||
| ) |
Set the minimum and maximum elastic rest length of the contact material.
This is only used if the contact area approach is used (getUseContactAreaApproach()==true). It sets the minimum and maximum allowed value for the elastic rest length of the material - values below will be clamped to the min, values above will be clamped to the max. If the value has not been set: in contact between materials m1 and m2, the min elastic rest of the contact material cm(m1, m2) will have the sum of m1's and m2's min elastic rest length, and the max elastic rest length of cm(m1, m2) will be the sum of m1's and m2's max elastic rest length. For the effect of the elastic rest length, see the user manual.
| minElasticRestLength,: | The min elastic rest length. Only values > 0 allowed. Has to be <= maxElasticRestLength. |
| maxElasticRestLength,: | The max elastic rest length. Only values > 0 allowed. Has to be >= minElasticRestLength. |
| Success | - Are the values in the allowed range and have thus been applied? |
Set the restitution parameter.
The value is clamped between zero and INFINITY
| restitution | - New restitution value. |
Sets the rolling resistance coefficient of the contact material.
Only works with contacts that include particles from GranularBodySystem.
| rollingCoefficient | - The coefficient of the rolling resistance. |
Sets the rolling resistance compliance in the contact material.
Only works with contacts that include particles from GranularBodySystem.
| compliance | The compliance of the rolling resistance constraint. |
| void agx::ContactMaterial::setSurfaceViscosity | ( | Real | viscosity, |
| FrictionDirection | direction = BOTH_PRIMARY_AND_SECONDARY |
||
| ) |
Assign the surface viscosity, i.e., how wet the friction is between the colliding materials.
Default: ~1E-8. It's possible to have different viscosities in primary and secondary directions.
| viscosity | - New viscosity value. |
| direction | - Specifies for which direction the viscosity value will be set. Default is BOTH_PRIMARY_AND_SECONDARY |
| void agx::ContactMaterial::setTangentialRestitution | ( | Real | restitution, |
| FrictionDirection | direction = BOTH_PRIMARY_AND_SECONDARY |
||
| ) |
Set the tangential restitution coefficient for a given tangential direction, or both.
The default tangential restitutions are zero and restitution will be clamped between zero and infinity.
| restitution | - New tangential restitution value. |
| direction | - Specifies for which direction the tangential restitution value will be set. Default is BOTH_PRIMARY_AND_SECONDARY. |
Sets the twisting resistance coefficient of the contact material.
Only works with contacts that include particles from GranularBodySystem.
| twistingCoefficient | - The coefficient of the twisting resistance. |
Sets the twisting resistance compliance in the contact material.
Only works with contacts that include particles from GranularBodySystem.
| compliance | The compliance of the twisting resistance constraint. |
| void agx::ContactMaterial::setUseContactAreaApproach | ( | bool | useContactAreaApproach | ) |
Should contacts using this contact material use the new approach for computing contact area? Default false.
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!
| void agx::ContactMaterial::setWireFrictionCoefficient | ( | Real | friction, |
| FrictionDirection | direction = BOTH_PRIMARY_AND_SECONDARY |
||
| ) |
Set the friction coefficient used by the contact nodes in the wires.
The primary direction is along the wire and the secondary direction is long the contact edge on the object the wire contact is sliding (close to orthogonal to the wire direction). The value is clamped between zero and INFINITY
| friction | - New friction coefficient |
| direction | - Specifies for which direction the friction value will be set. Default is BOTH_PRIMARY_AND_SECONDARY. |
Set the YoungsModulus of the material, same as spring coefficient k.
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.
|
staticinherited |
|
mutableprotectedinherited |
Definition at line 240 of file Referenced.h.
|
mutableprotectedinherited |
Definition at line 239 of file Referenced.h.
|
mutableprotectedinherited |
Definition at line 241 of file Referenced.h.