MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / clearAll

Method clearAll

SRC/reliability/domain/components/ReliabilityDomain.cpp:105–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void
106ReliabilityDomain::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
146ReliabilityDomain::~ReliabilityDomain()
147{

Callers 5

~ReliabilityDomainMethod · 0.45
TclCommand_wipeModelFunction · 0.45
removeObjectFunction · 0.45
domainChangedMethod · 0.45
eigenMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected