| 138 | } |
| 139 | |
| 140 | void |
| 141 | DomainDecompositionAnalysis::clearAll(void) |
| 142 | { |
| 143 | // invoke the destructor on all the objects in the aggregation |
| 144 | if (theModel != 0) |
| 145 | delete theModel; |
| 146 | if (theHandler != 0) |
| 147 | delete theHandler; |
| 148 | if (theNumberer != 0) |
| 149 | delete theNumberer; |
| 150 | if (theIntegrator != 0) |
| 151 | delete theIntegrator; |
| 152 | if (theAlgorithm != 0) |
| 153 | delete theAlgorithm; |
| 154 | if (theSOE != 0) |
| 155 | delete theSOE; |
| 156 | |
| 157 | // now set the pointers to NULL |
| 158 | theModel =0; |
| 159 | theHandler =0; |
| 160 | theNumberer =0; |
| 161 | theIntegrator =0; |
| 162 | theAlgorithm =0; |
| 163 | theSOE =0; |
| 164 | } |
| 165 | |
| 166 | int |
| 167 | DomainDecompositionAnalysis::analyze(double dT) |