| 928 | } |
| 929 | |
| 930 | void |
| 931 | OpenSeesCommands::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 | |
| 969 | void |
| 970 | OpenSeesCommands::wipe() |
no test coverage detected