| 207 | |
| 208 | |
| 209 | int HHT::formEleTangent(FE_Element *theEle) |
| 210 | { |
| 211 | theEle->zeroTangent(); |
| 212 | if (statusFlag == CURRENT_TANGENT) { |
| 213 | theEle->addKtToTang(alpha*c1); |
| 214 | theEle->addCtoTang(alpha*c2); |
| 215 | theEle->addMtoTang(c3); |
| 216 | } else if (statusFlag == INITIAL_TANGENT) { |
| 217 | theEle->addKiToTang(alpha*c1); |
| 218 | theEle->addCtoTang(alpha*c2); |
| 219 | theEle->addMtoTang(c3); |
| 220 | } else if (statusFlag == HALL_TANGENT) { |
| 221 | theEle->addKtToTang(alpha*c1*cFactor); |
| 222 | theEle->addKiToTang(alpha*c1*iFactor); |
| 223 | theEle->addCtoTang(alpha*c2); |
| 224 | theEle->addMtoTang(c3); |
| 225 | } else { |
| 226 | opserr << "HHT::formEleTangent - unknown FLAG\n"; |
| 227 | } |
| 228 | |
| 229 | return 0; |
| 230 | } |
| 231 | |
| 232 | |
| 233 | int HHT::formNodTangent(DOF_Group *theDof) |
no test coverage detected