| 269 | } |
| 270 | |
| 271 | int |
| 272 | WrapperElement::update() |
| 273 | { |
| 274 | // get the current load factor |
| 275 | Domain *theDomain=this->getDomain(); |
| 276 | double time = theDomain->getCurrentTime(); |
| 277 | double dt = committedTime - time; |
| 278 | |
| 279 | theModelState.time = time; |
| 280 | theModelState.dt = dt; |
| 281 | // zero the matrix |
| 282 | int error = 0; |
| 283 | int isw = ISW_FORM_TANG_AND_RESID; |
| 284 | theEle->eleFunctPtr(theEle, &theModelState, K , R, &isw, &error); |
| 285 | |
| 286 | Rvector.setData(R, theEle->nDOF); |
| 287 | |
| 288 | return error; |
| 289 | } |
| 290 | |
| 291 | const Matrix & |
| 292 | WrapperElement::getInitialStiff(void) |
nothing calls this directly
no test coverage detected