Skip to content

Commit

Permalink
Merge pull request OpenSees#1417 from buceaxll/master
Browse files Browse the repository at this point in the history
An asynchronous parallel double-stage friction-metallic damper
  • Loading branch information
fmckenna authored May 21, 2024
2 parents d0dc0d3 + 721a227 commit 9d9382d
Show file tree
Hide file tree
Showing 7 changed files with 724 additions and 6 deletions.
12 changes: 12 additions & 0 deletions SRC/actor/objectBroker/FEM_ObjectBrokerAllClasses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@
#include "HookGap.h"
#include "ViscousMaterial.h"
#include "ViscousDamper.h"
#include "APDVFD.h"
#include "APDMD.h"
#include "APDFMD.h"
#include "BilinearOilDamper.h"
#include "ContinuumUniaxial.h"
#include "PathIndependentMaterial.h"
Expand Down Expand Up @@ -1851,6 +1854,15 @@ FEM_ObjectBrokerAllClasses::getNewUniaxialMaterial(int classTag)
case MAT_TAG_ViscousDamper:
return new ViscousDamper();

case MAT_TAG_APDVFD:
return new APDVFD();

case MAT_TAG_APDMD:
return new APDMD();

case MAT_TAG_APDFMD:
return new APDFMD();

case MAT_TAG_BilinearOilDamper:
return new BilinearOilDamper();

Expand Down
4 changes: 3 additions & 1 deletion SRC/classTags.h
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,9 @@
#define MAT_TAG_BoucWenInfill 6666 // Stefano Sirotti 09-Feb-2022 [email protected]

#define MAT_TAG_GMG_CyclicReinforcedConcrete 9999 // Rasool Ghorbani

#define MAT_TAG_APDVFD 711
#define MAT_TAG_APDMD 712
#define MAT_TAG_APDFMD 713

// GNG material - J.Cook UCanterbury
#define MAT_TAG_GNG 7001
Expand Down
10 changes: 9 additions & 1 deletion SRC/interpreter/OpenSeesUniaxialMaterialCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,9 @@ void *OPS_Trilinwp2(void);
void *OPS_Masonryt(void);

void* OPS_Ratchet(void); // Yi Xiao

void* OPS_APDVFD(void);
void* OPS_APDMD(void);
void* OPS_APDFMD(void);
namespace {

static UniaxialMaterial* theTestingUniaxialMaterial = 0;
Expand Down Expand Up @@ -615,6 +617,12 @@ static int setUpUniaxialMaterials(void) {
std::make_pair("CoulombDamper", &OPS_CoulombDamperMaterial));
uniaxialMaterialsMap.insert(std::make_pair(
"GMG_CyclicReinforcedConcrete", &OPS_GMG_CyclicReinforcedConcrete));
uniaxialMaterialsMap.insert(
std::make_pair("APDVFD", &OPS_APDVFD));
uniaxialMaterialsMap.insert(
std::make_pair("APDMD", &OPS_APDMD));
uniaxialMaterialsMap.insert(
std::make_pair("APDFMD", &OPS_APDFMD));
uniaxialMaterialsMap.insert(
std::make_pair("Hertzdamp", &OPS_Hertzdamp));
uniaxialMaterialsMap.insert(
Expand Down
Loading

0 comments on commit 9d9382d

Please sign in to comment.