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

Method clearAll

SRC/analysis/analysis/StaticAnalysis.cpp:94–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void
95StaticAnalysis::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
126int

Callers 1

domainChangedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected