From 2a5c19f2ee6ebd0aaa8cd69fc0c8795bb8471064 Mon Sep 17 00:00:00 2001 From: Egor Demidov Date: Thu, 18 Jul 2024 16:01:18 -0400 Subject: [PATCH] Added a getter for accumulated springs in alt_sinter_bridge.h --- include/libgran/sinter_bridge/alt_sinter_bridge.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/libgran/sinter_bridge/alt_sinter_bridge.h b/include/libgran/sinter_bridge/alt_sinter_bridge.h index 3e10839..fc877e1 100644 --- a/include/libgran/sinter_bridge/alt_sinter_bridge.h +++ b/include/libgran/sinter_bridge/alt_sinter_bridge.h @@ -135,6 +135,11 @@ struct alt_sinter_functor { return f_0; } + [[nodiscard]] + std::vector> const & get_contact_springs() const { + return contact_springs; + } + std::vector bonded_contacts; private: