19 #include <agx/config/AGX_USE_AGXTERRAIN.h> 53 std::array<agx::Real, 4> m_cachedNormalForce;
54 mutable size_t m_currentPointIndex;
virtual void initialize(const agx::Physics::GeometryContactPtr geometryContact, size_t pointIndex, agx::Real dt, agx::RangeReal &ret_boundU, agx::RangeReal &ret_boundV) const override
Initializes the bounds, i.e., max force for the tangential equations.
agx::Real getAverageContactForce(agxCollide::GeometryContactPtrVector matches, bool print=false)
The agxTerrain namespace contains a 3D model for a dynamic deformable Terrain and related classes...
Normal and friction equation calculated only in the DIRECT solver.
#define AGX_DECLARE_POINTER_TYPES(type)
~ShovelAggregateFrictionModel()
Vector containing 'raw' data.
Box friction model with oriented friction box.
void setCachedNormalForce(int pointIndex, agx::Real normalForce)
ShovelAggregateFrictionModel(agx::Frame *frame, agx::FrictionModel::SolveType solveType=agx::FrictionModel::DIRECT)
The object defining a frame of reference and providing transformations operations.