| 92 | } |
| 93 | |
| 94 | void |
| 95 | StaticAnalysis::clearAll(void) |
| 96 | { |
| 97 | // invoke the destructor on all the objects in the aggregation |
| 98 | if (theAnalysisModel != 0) |
| 99 | delete theAnalysisModel; |
| 100 | if (theConstraintHandler != 0) |
| 101 | delete theConstraintHandler; |
| 102 | if (theDOF_Numberer != 0) |
| 103 | delete theDOF_Numberer; |
| 104 | if (theIntegrator != 0) |
| 105 | delete theIntegrator; |
| 106 | if (theAlgorithm != 0) |
| 107 | delete theAlgorithm; |
| 108 | if (theSOE != 0) |
| 109 | delete theSOE; |
| 110 | if (theTest != 0) |
| 111 | delete theTest; |
| 112 | if (theEigenSOE != 0) |
| 113 | delete theEigenSOE; |
| 114 | |
| 115 | theAnalysisModel =0; |
| 116 | theConstraintHandler =0; |
| 117 | theDOF_Numberer =0; |
| 118 | theIntegrator =0; |
| 119 | theAlgorithm =0; |
| 120 | theSOE =0; |
| 121 | theEigenSOE =0; |
| 122 | theTest = 0; |
| 123 | } |
| 124 | |
| 125 | |
| 126 | int |