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

Method initialize

SRC/analysis/analysis/StaticDomainDecompositionAnalysis.cpp:344–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342
343
344int
345StaticDomainDecompositionAnalysis::initialize(void)
346{
347 Domain *the_Domain = this->getDomainPtr();
348
349 // check if domain has undergone change
350 int stamp = the_Domain->hasDomainChanged();
351 if (stamp != domainStamp) {
352 domainStamp = stamp;
353 if (this->domainChanged() < 0) {
354 opserr << "DirectIntegrationAnalysis::initialize() - domainChanged() failed\n";
355 return -1;
356 }
357 }
358 if (theIntegrator->initialize() < 0) {
359 opserr << "DirectIntegrationAnalysis::initialize() - integrator initialize() failed\n";
360 return -2;
361 } else
362 theIntegrator->commit();
363
364 return 0;
365}
366
367int
368StaticDomainDecompositionAnalysis::domainChanged(void)

Callers

nothing calls this directly

Calls 4

domainChangedMethod · 0.95
getDomainPtrMethod · 0.45
hasDomainChangedMethod · 0.45
commitMethod · 0.45

Tested by

no test coverage detected