| 159 | } |
| 160 | |
| 161 | void OpenSeesReliabilityCommands::wipe() { |
| 162 | // wipe reliability domain |
| 163 | if (theDomain != 0) { |
| 164 | theDomain->clearAll(); |
| 165 | } |
| 166 | |
| 167 | if (theProbabilityTransformation != 0) { |
| 168 | delete theProbabilityTransformation; |
| 169 | theProbabilityTransformation = 0; |
| 170 | } |
| 171 | if (theRandomNumberGenerator != 0) { |
| 172 | delete theRandomNumberGenerator; |
| 173 | theRandomNumberGenerator = 0; |
| 174 | } |
| 175 | if (theReliabilityConvergenceCheck != 0) { |
| 176 | delete theReliabilityConvergenceCheck; |
| 177 | theReliabilityConvergenceCheck = 0; |
| 178 | } |
| 179 | if (theSearchDirection != 0) { |
| 180 | delete theSearchDirection; |
| 181 | theSearchDirection = 0; |
| 182 | } |
| 183 | if (theMeritFunctionCheck != 0) { |
| 184 | delete theMeritFunctionCheck; |
| 185 | theMeritFunctionCheck = 0; |
| 186 | } |
| 187 | if (theStepSizeRule != 0) { |
| 188 | delete theStepSizeRule; |
| 189 | theStepSizeRule = 0; |
| 190 | } |
| 191 | if (theRootFinding != 0) { |
| 192 | delete theRootFinding; |
| 193 | theRootFinding = 0; |
| 194 | } |
| 195 | if (theFindDesignPointAlgorithm != 0) { |
| 196 | delete theFindDesignPointAlgorithm; |
| 197 | theFindDesignPointAlgorithm = 0; |
| 198 | } |
| 199 | if (theFindCurvatures != 0) { |
| 200 | delete theFindCurvatures; |
| 201 | theFindCurvatures = 0; |
| 202 | } |
| 203 | if (theFunctionEvaluator != 0) { |
| 204 | delete theFunctionEvaluator; |
| 205 | theFunctionEvaluator = 0; |
| 206 | } |
| 207 | if (theGradientEvaluator != 0) { |
| 208 | delete theGradientEvaluator; |
| 209 | theGradientEvaluator = 0; |
| 210 | } |
| 211 | if (theFOSMAnalysis != 0) { |
| 212 | delete theFOSMAnalysis; |
| 213 | theFOSMAnalysis = 0; |
| 214 | } |
| 215 | if (theFORMAnalysis != 0) { |
| 216 | delete theFORMAnalysis; |
| 217 | theFORMAnalysis = 0; |
| 218 | } |
no test coverage detected