Skip to content

Commit

Permalink
Merge pull request OpenSees#1488 from yulee/damping
Browse files Browse the repository at this point in the history
clear all damping in python interpreter
  • Loading branch information
fmckenna authored Aug 27, 2024
2 parents c223876 + d6fcbe2 commit b039785
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SRC/interpreter/OpenSeesCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#include <SectionRepres.h>
#include <TimeSeries.h>
#include <CrdTransf.h>
#include <Damping.h>
#include <BeamIntegration.h>
#include <NodalLoad.h>
#include <AnalysisModel.h>
Expand Down Expand Up @@ -953,6 +954,9 @@ OpenSeesCommands::wipe()
// wipe GeomTransf
OPS_clearAllCrdTransf();

// wipe damping
OPS_clearAllDamping();

// wipe BeamIntegration
OPS_clearAllBeamIntegrationRule();

Expand Down
4 changes: 4 additions & 0 deletions SRC/interpreter/PythonAnalysisBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#include <NDMaterial.h>
#include <LoadPattern.h>
#include <CrdTransf.h>
#include <Damping.h>
#include <BeamIntegration.h>
#include <Newmark.h>
#include <EigenSOE.h>
Expand Down Expand Up @@ -750,6 +751,9 @@ PyObject *ops_wipeModel(PyObject *self, PyObject *args)
// wipe GeomTransf
OPS_ClearAllCrdTransf();

// wipe damping
OPS_clearAllDamping();

// wipe BeamIntegration
OPS_clearAllBeamIntegrationRule();

Expand Down

0 comments on commit b039785

Please sign in to comment.