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

Method formTangent

SRC/analysis/analysis/DomainDecompositionAnalysis.cpp:316–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314
315
316int
317DomainDecompositionAnalysis::formTangent(void)
318{
319 int result =0;
320
321 Domain *the_Domain = this->getDomainPtr();
322
323 // we check to see if the domain has changed
324 int stamp = the_Domain->hasDomainChanged();
325 if (stamp != domainStamp) {
326 domainStamp = stamp;
327 this->domainChanged();
328 }
329
330 // if tangFormed == -1 then formTangent has already been
331 // called for this state by formResidual() or formTangVectProduct()
332 // so we won't be doing it again.
333
334 if (tangFormedCount != -1) {
335 result = theIntegrator->formTangent();
336 if (result < 0)
337 return result;
338 result = theSolver->condenseA(numEqn-numExtEqn);
339 if (result < 0)
340 return result;
341 }
342
343 tangFormed = true;
344 tangFormedCount++;
345
346 return result;
347}
348
349
350

Callers 15

formResidualMethod · 0.95
formTangVectProductMethod · 0.95
solveCurrentStepMethod · 0.45
solveCurrentStepMethod · 0.45
solveCurrentStepMethod · 0.45
solveCurrentStepMethod · 0.45
solveCurrentStepMethod · 0.45
solveCurrentStepMethod · 0.45
solveCurrentStepMethod · 0.45
solveCurrentStepMethod · 0.45
solveCurrentStepMethod · 0.45

Calls 4

domainChangedMethod · 0.95
condenseAMethod · 0.80
getDomainPtrMethod · 0.45
hasDomainChangedMethod · 0.45

Tested by

no test coverage detected