| 103 | } |
| 104 | |
| 105 | void |
| 106 | ReliabilityDomain::clearAll() |
| 107 | { |
| 108 | if (theRandomVariablesPtr != 0) { |
| 109 | theRandomVariablesPtr->clearAll(); |
| 110 | numRandomVariables = 0; |
| 111 | } |
| 112 | if (theLimitStateFunctionsPtr != 0) { |
| 113 | theLimitStateFunctionsPtr->clearAll(); |
| 114 | numLimitStateFunctions = 0; |
| 115 | } |
| 116 | if (theCutsetsPtr != 0) { |
| 117 | theCutsetsPtr->clearAll(); |
| 118 | numCutsets = 0; |
| 119 | } |
| 120 | |
| 121 | if (theCorrelationCoefficientsPtr != 0) |
| 122 | theCorrelationCoefficientsPtr->clearAll(); |
| 123 | if (theModulatingFunctionsPtr != 0) { |
| 124 | theModulatingFunctionsPtr->clearAll(); |
| 125 | numModulatingFunctions = 0; |
| 126 | } |
| 127 | if (theSpectraPtr != 0) { |
| 128 | theSpectraPtr->clearAll(); |
| 129 | numSpectra = 0; |
| 130 | } |
| 131 | if (theFiltersPtr != 0) { |
| 132 | theFiltersPtr->clearAll(); |
| 133 | numFilters = 0; |
| 134 | } |
| 135 | |
| 136 | if (theDesignVariablesPtr != 0) |
| 137 | theDesignVariablesPtr->clearAll(); |
| 138 | if (theDesignVariablePositionersPtr != 0) |
| 139 | theDesignVariablePositionersPtr->clearAll(); |
| 140 | if (theConstraintFunctionsPtr != 0) |
| 141 | theConstraintFunctionsPtr->clearAll(); |
| 142 | if (theObjectiveFunctionsPtr != 0) |
| 143 | theObjectiveFunctionsPtr->clearAll(); |
| 144 | } |
| 145 | |
| 146 | ReliabilityDomain::~ReliabilityDomain() |
| 147 | { |
no outgoing calls
no test coverage detected