| 229 | } |
| 230 | |
| 231 | DamageModel* |
| 232 | Mehanny::getCopy (void) |
| 233 | { |
| 234 | Mehanny *theCopy = new Mehanny(this->getTag(), Alpha , Beta , Gamma , UltimatePosValue , UltimateNegValue, AbsTol, RelTol, PosModifier, NegModifier ); |
| 235 | |
| 236 | theCopy->TrialPlasticDefo = TrialPlasticDefo; |
| 237 | theCopy->TrialDefoIncr = TrialDefoIncr; |
| 238 | theCopy->TrialTempPDefo = TrialTempPDefo; |
| 239 | theCopy->TrialPosCycle = TrialPosCycle; |
| 240 | theCopy->TrialNegCycle = TrialNegCycle; |
| 241 | theCopy->TrialSumPosFHC = TrialSumPosFHC; |
| 242 | theCopy->TrialPosPHC = TrialPosPHC; |
| 243 | theCopy->TrialSumNegFHC = TrialSumNegFHC; |
| 244 | theCopy->TrialNegPHC = TrialNegPHC; |
| 245 | theCopy->TrialDamage = TrialDamage; |
| 246 | |
| 247 | // Committed state |
| 248 | theCopy->CommPlasticDefo = CommPlasticDefo; |
| 249 | theCopy->CommDefoIncr= CommDefoIncr; |
| 250 | theCopy->CommTempPDefo = CommTempPDefo; |
| 251 | theCopy->CommPosCycle = CommPosCycle; |
| 252 | theCopy->CommNegCycle = CommNegCycle; |
| 253 | theCopy->CommSumPosFHC = CommSumPosFHC; |
| 254 | theCopy->CommPosPHC = CommPosPHC; |
| 255 | theCopy->CommSumNegFHC = CommSumNegFHC; |
| 256 | theCopy->CommNegPHC = CommNegPHC; |
| 257 | theCopy->CommDamage = CommDamage; |
| 258 | |
| 259 | // Last commit |
| 260 | theCopy->LCommPlasticDefo = LCommPlasticDefo; |
| 261 | theCopy->LCommDefoIncr = LCommDefoIncr; |
| 262 | theCopy->LCommTempPDefo = LCommTempPDefo; |
| 263 | theCopy->LCommPosCycle = LCommPosCycle; |
| 264 | theCopy->LCommNegCycle = LCommNegCycle; |
| 265 | theCopy->LCommSumPosFHC = LCommSumPosFHC ; |
| 266 | theCopy->LCommPosPHC = LCommPosPHC; |
| 267 | theCopy->LCommSumNegFHC = LCommSumNegFHC; |
| 268 | theCopy->LCommNegPHC = LCommNegPHC; |
| 269 | theCopy->LCommDamage = LCommDamage; |
| 270 | |
| 271 | return theCopy; |
| 272 | } |
| 273 | |
| 274 | |
| 275 | Response* |
no test coverage detected