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

Method update

SRC/element/adapter/Adapter.cpp:435–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433
434
435int 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
458const Matrix& Adapter::getTangentStiff()

Callers

nothing calls this directly

Calls 4

setupConnectionMethod · 0.95
ZeroMethod · 0.45
AssembleMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected