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

Method analyze

SRC/analysis/analysis/DirectIntegrationAnalysis.cpp:167–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165
166
167int
168DirectIntegrationAnalysis::analyze(int numSteps, double dT, bool flush)
169{
170 int result = 0;
171
172 for (int i=0; i<numSteps; i++) {
173 result = this->analyzeStep(dT);
174 if (result < 0) {
175 if (numSubLevels != 0)
176 result = this->analyzeSubLevel(1, dT);
177 if (result < 0)
178 return result;
179 }
180 }
181
182 Domain *the_Domain = this->getDomainPtr();
183 if (the_Domain != 0 && flush) {
184 the_Domain->flushRecorders();
185 }
186
187 return result;
188}
189
190int
191DirectIntegrationAnalysis::analyzeStep(double dT)

Callers

nothing calls this directly

Calls 4

analyzeStepMethod · 0.95
analyzeSubLevelMethod · 0.95
flushRecordersMethod · 0.80
getDomainPtrMethod · 0.45

Tested by

no test coverage detected