| 141 | #include <Node.h> |
| 142 | |
| 143 | int |
| 144 | DirectIntegrationAnalysis::initialize(void) |
| 145 | { |
| 146 | Domain *the_Domain = this->getDomainPtr(); |
| 147 | |
| 148 | // check if domain has undergone change |
| 149 | int stamp = the_Domain->hasDomainChanged(); |
| 150 | if (stamp != domainStamp) { |
| 151 | domainStamp = stamp; |
| 152 | if (this->domainChanged() < 0) { |
| 153 | opserr << "DirectIntegrationAnalysis::initialize() - domainChanged() failed\n"; |
| 154 | return -1; |
| 155 | } |
| 156 | } |
| 157 | if (theIntegrator->initialize() < 0) { |
| 158 | opserr << "DirectIntegrationAnalysis::initialize() - integrator initialize() failed\n"; |
| 159 | return -2; |
| 160 | } else |
| 161 | theIntegrator->commit(); |
| 162 | |
| 163 | return 0; |
| 164 | } |
| 165 | |
| 166 | |
| 167 | int |
nothing calls this directly
no test coverage detected