This repository was archived by the owner on Oct 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +0
-32
lines changed Expand file tree Collapse file tree 2 files changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -38,30 +38,6 @@ class CollisionsBase {
3838 virtual double compute_minimum_distance (
3939 const CollisionMesh& mesh, Eigen::ConstRef<Eigen::MatrixXd> vertices) const = 0;
4040
41- // / @brief Get if the collision set should use the convergent formulation.
42- // / @note If not empty, this is the current value not necessarily the value used to build the collisions.
43- // / @return If the collision set should use the convergent formulation.
44- bool use_convergent_formulation () const
45- {
46- return m_use_convergent_formulation;
47- }
48-
49- // / @brief Set if the collision set should use the convergent formulation.
50- // / @warning This must be set before the collisions are built.
51- // / @param use_convergent_formulation If the collision set should use the convergent formulation.
52- virtual void
53- set_use_convergent_formulation (const bool use_convergent_formulation)
54- {
55- if (!empty ()
56- && use_convergent_formulation != m_use_convergent_formulation) {
57- logger ().warn (
58- " Setting use_convergent_formulation after building collisions. "
59- " Re-build collisions for this to have an effect." );
60- }
61-
62- m_use_convergent_formulation = use_convergent_formulation;
63- }
64-
6541 // / @brief Get if the collision set are using the convergent formulation.
6642 // / @note If not empty, this is the current value not necessarily the value used to build the collisions.
6743 // / @return If the collision set are using the convergent formulation.
Original file line number Diff line number Diff line change @@ -91,14 +91,6 @@ template <int dim> class SmoothCollisions : public CollisionsBase {
9191 Eigen::ConstRef<Eigen::MatrixXd> vertices,
9292 const ParameterType& params) const ;
9393
94- void set_use_convergent_formulation (
95- const bool use_convergent_formulation) override
96- {
97- if (use_convergent_formulation)
98- logger ().error (
99- " Smooth contact formulation doesn't have convergent version!" );
100- }
101-
10294 double get_vert_dhat (int vert_id) const
10395 {
10496 if (vert_adaptive_dhat.size () > 1 )
You can’t perform that action at this time.
0 commit comments