| 165 | |
| 166 | |
| 167 | int |
| 168 | DirectIntegrationAnalysis::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 | |
| 190 | int |
| 191 | DirectIntegrationAnalysis::analyzeStep(double dT) |
nothing calls this directly
no test coverage detected