MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / getResponse

Method getResponse

SRC/damage/DamageModel.cpp:86–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86int
87DamageModel::getResponse(int responseID, Information &info)
88{
89 switch (responseID) {
90 case -1:
91 return -1;
92
93 case 1:
94 return info.setDouble( this->getDamage() );
95
96 default:
97 return -1;
98 }
99}
100

Callers

nothing calls this directly

Calls 2

setDoubleMethod · 0.45
getDamageMethod · 0.45

Tested by

no test coverage detected