From e754e8306fc2faae04f818f7f66bdd8d3f62c809 Mon Sep 17 00:00:00 2001 From: Yuli Huang Date: Mon, 19 Aug 2024 10:00:52 -0700 Subject: [PATCH 1/3] wipe damping clear all damping in python interpreter --- SRC/interpreter/OpenSeesCommands.cpp | 3 +++ SRC/interpreter/PythonAnalysisBuilder.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/SRC/interpreter/OpenSeesCommands.cpp b/SRC/interpreter/OpenSeesCommands.cpp index c5b7fd62c0..84f996844e 100644 --- a/SRC/interpreter/OpenSeesCommands.cpp +++ b/SRC/interpreter/OpenSeesCommands.cpp @@ -953,6 +953,9 @@ OpenSeesCommands::wipe() // wipe GeomTransf OPS_clearAllCrdTransf(); + // wipe damping + OPS_clearAllDamping(); + // wipe BeamIntegration OPS_clearAllBeamIntegrationRule(); diff --git a/SRC/interpreter/PythonAnalysisBuilder.cpp b/SRC/interpreter/PythonAnalysisBuilder.cpp index a7503e1f13..05e3230376 100644 --- a/SRC/interpreter/PythonAnalysisBuilder.cpp +++ b/SRC/interpreter/PythonAnalysisBuilder.cpp @@ -750,6 +750,9 @@ PyObject *ops_wipeModel(PyObject *self, PyObject *args) // wipe GeomTransf OPS_ClearAllCrdTransf(); + // wipe damping + OPS_clearAllDamping(); + // wipe BeamIntegration OPS_clearAllBeamIntegrationRule(); From fa0407ffedcf9debc1b4da35efd1f561e6ccd3c9 Mon Sep 17 00:00:00 2001 From: Yuli Huang Date: Mon, 19 Aug 2024 10:07:23 -0700 Subject: [PATCH 2/3] wipe damping clear all damping in python interpreter --- SRC/interpreter/OpenSeesCommands.cpp | 1 + SRC/interpreter/PythonAnalysisBuilder.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/SRC/interpreter/OpenSeesCommands.cpp b/SRC/interpreter/OpenSeesCommands.cpp index 84f996844e..970a26cb32 100644 --- a/SRC/interpreter/OpenSeesCommands.cpp +++ b/SRC/interpreter/OpenSeesCommands.cpp @@ -49,6 +49,7 @@ UPDATES, ENHANCEMENTS, OR MODIFICATIONS. #include #include #include +#include #include #include #include diff --git a/SRC/interpreter/PythonAnalysisBuilder.cpp b/SRC/interpreter/PythonAnalysisBuilder.cpp index 05e3230376..a1b8f79950 100644 --- a/SRC/interpreter/PythonAnalysisBuilder.cpp +++ b/SRC/interpreter/PythonAnalysisBuilder.cpp @@ -79,6 +79,7 @@ UPDATES, ENHANCEMENTS, OR MODIFICATIONS. #include #include #include +#include #include #include #include From d6fcbe255d1a6acea1383c90c2851a1fe093e0bc Mon Sep 17 00:00:00 2001 From: Yuli Huang Date: Mon, 19 Aug 2024 10:33:24 -0700 Subject: [PATCH 3/3] wipe damping --- SRC/interpreter/OpenSeesCommands.cpp | 2 +- SRC/interpreter/PythonAnalysisBuilder.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SRC/interpreter/OpenSeesCommands.cpp b/SRC/interpreter/OpenSeesCommands.cpp index 970a26cb32..2bb8f0c8e1 100644 --- a/SRC/interpreter/OpenSeesCommands.cpp +++ b/SRC/interpreter/OpenSeesCommands.cpp @@ -49,7 +49,7 @@ UPDATES, ENHANCEMENTS, OR MODIFICATIONS. #include #include #include -#include +#include #include #include #include diff --git a/SRC/interpreter/PythonAnalysisBuilder.cpp b/SRC/interpreter/PythonAnalysisBuilder.cpp index a1b8f79950..7d25c27083 100644 --- a/SRC/interpreter/PythonAnalysisBuilder.cpp +++ b/SRC/interpreter/PythonAnalysisBuilder.cpp @@ -79,7 +79,7 @@ UPDATES, ENHANCEMENTS, OR MODIFICATIONS. #include #include #include -#include +#include #include #include #include