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

Method formNodUnbalance

SRC/analysis/integrator/PFEMIntegrator.cpp:503–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

501}
502
503int
504PFEMIntegrator::formNodUnbalance(DOF_Group *theDof)
505{
506 if (sensitivityFlag == 0) { // NO SENSITIVITY ANALYSIS
507
508 this->TransientIntegrator::formNodUnbalance(theDof);
509
510 } else { // ASSEMBLE ALL TERMS
511
512 theDof->zeroUnbalance();
513
514 // The term -M*(-1/dt*dvn)
515 theDof->addM_Force(dVn, c3);
516
517 // The term -dM/dh*acc
518 theDof->addM_ForceSensitivity(*Udotdot, -1.0);
519
520 // The term -C*(dvn)
521 //theDof->addD_Force(dVn ,-1.0);
522
523
524 // The term -dC/dh*vel
525 theDof->addD_ForceSensitivity(*Udot,-1.0);
526
527
528 // In case of random loads (have already been formed by 'applyLoadSensitivity')
529 theDof->addPtoUnbalance();
530
531 }
532
533 return 0;
534}
535
536
537int PFEMIntegrator::domainChanged()

Callers

nothing calls this directly

Calls 5

zeroUnbalanceMethod · 0.45
addM_ForceMethod · 0.45
addM_ForceSensitivityMethod · 0.45
addD_ForceSensitivityMethod · 0.45
addPtoUnbalanceMethod · 0.45

Tested by

no test coverage detected