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

Method wipeAnalysis

SRC/interpreter/OpenSeesCommands.cpp:930–967  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

928}
929
930void
931OpenSeesCommands::wipeAnalysis()
932{
933 if (theStaticAnalysis==0 && theTransientAnalysis==0) {
934 if (theSOE != 0) delete theSOE;
935 if (theEigenSOE != 0) delete theEigenSOE;
936 if (theNumberer != 0) delete theNumberer;
937 if (theHandler != 0) delete theHandler;
938 if (theStaticIntegrator != 0) delete theStaticIntegrator;
939 if (theTransientIntegrator != 0) delete theTransientIntegrator;
940 if (theAlgorithm != 0) delete theAlgorithm;
941 if (theTest != 0) delete theTest;
942 }
943
944 if (theStaticAnalysis != 0) {
945 theStaticAnalysis->clearAll();
946 delete theStaticAnalysis;
947 }
948 if (theTransientAnalysis != 0) {
949 theTransientAnalysis->clearAll();
950 delete theTransientAnalysis;
951 }
952
953 theAlgorithm = 0;
954 theHandler = 0;
955 theNumberer = 0;
956 theAnalysisModel = 0;
957 theSOE = 0;
958 theEigenSOE = 0;
959 theStaticIntegrator = 0;
960 theTransientIntegrator = 0;
961 theStaticAnalysis = 0;
962 theTransientAnalysis = 0;
963 theVariableTimeStepTransientAnalysis = 0;
964 thePFEMAnalysis = 0;
965 theTest = 0;
966
967}
968
969void
970OpenSeesCommands::wipe()

Callers 2

wipeMethod · 0.95
OPS_wipeAnalysisFunction · 0.45

Calls 1

clearAllMethod · 0.45

Tested by

no test coverage detected