| 433 | |
| 434 | |
| 435 | int Adapter::update() |
| 436 | { |
| 437 | if (theChannel == 0) { |
| 438 | if (this->setupConnection() != 0) { |
| 439 | opserr << "Adapter::update() - " |
| 440 | << "failed to setup connection\n"; |
| 441 | return -1; |
| 442 | } |
| 443 | } |
| 444 | |
| 445 | // assemble dsp in basic system |
| 446 | int ndim = 0; |
| 447 | db.Zero(); |
| 448 | for (int i=0; i<numExternalNodes; i++) { |
| 449 | Vector disp = theNodes[i]->getTrialDisp(); |
| 450 | db.Assemble(disp(theDOF[i]), ndim); |
| 451 | ndim += theDOF[i].Size(); |
| 452 | } |
| 453 | |
| 454 | return 0; |
| 455 | } |
| 456 | |
| 457 | |
| 458 | const Matrix& Adapter::getTangentStiff() |
nothing calls this directly
no test coverage detected