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

Method wipe

SRC/interpreter/PythonAnalysisBuilder.cpp:109–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void PythonAnalysisBuilder::wipe()
110{
111 if(theStaticAnalysis != 0) {
112 theStaticAnalysis->clearAll();
113 delete theStaticAnalysis;
114 theStaticAnalysis = 0;
115 }
116 if(theTransientAnalysis != 0) {
117 theTransientAnalysis->clearAll();
118 delete theTransientAnalysis;
119 theTransientAnalysis = 0;
120 }
121 theVariableTimeStepTransientAnalysis = 0;
122 thePFEMAnalysis = 0;
123
124}
125
126void PythonAnalysisBuilder::resetStatic()
127{

Callers 6

newStaticAnalysisMethod · 0.95
newTransientAnalysisMethod · 0.95
newPFEMAnalysisMethod · 0.95
ops_wipeAnalysisFunction · 0.45
ops_wipeModelFunction · 0.45

Calls 1

clearAllMethod · 0.45

Tested by

no test coverage detected