| 967 | } |
| 968 | |
| 969 | void |
| 970 | OpenSeesCommands::wipe() |
| 971 | { |
| 972 | this->wipeAnalysis(); |
| 973 | |
| 974 | // data base |
| 975 | if (theDatabase != 0) { |
| 976 | delete theDatabase; |
| 977 | theDatabase = 0; |
| 978 | } |
| 979 | |
| 980 | // wipe domain |
| 981 | if (theDomain != 0) { |
| 982 | theDomain->clearAll(); |
| 983 | } |
| 984 | |
| 985 | // wipe all meshes |
| 986 | OPS_clearAllMesh(); |
| 987 | OPS_getBgMesh().clearAll(); |
| 988 | |
| 989 | // time set to zero |
| 990 | ops_Dt = 0.0; |
| 991 | |
| 992 | // wipe uniaxial material |
| 993 | OPS_clearAllUniaxialMaterial(); |
| 994 | OPS_clearAllNDMaterial(); |
| 995 | |
| 996 | // wipe sections |
| 997 | OPS_clearAllSectionForceDeformation(); |
| 998 | OPS_clearAllSectionRepres(); |
| 999 | |
| 1000 | // wipe time series |
| 1001 | OPS_clearAllTimeSeries(); |
| 1002 | |
| 1003 | // wipe GeomTransf |
| 1004 | OPS_clearAllCrdTransf(); |
| 1005 | |
| 1006 | // wipe damping |
| 1007 | OPS_clearAllDamping(); |
| 1008 | |
| 1009 | // wipe BeamIntegration |
| 1010 | OPS_clearAllBeamIntegrationRule(); |
| 1011 | |
| 1012 | // wipe limit state curve |
| 1013 | OPS_clearAllLimitCurve(); |
| 1014 | |
| 1015 | // wipe damages model |
| 1016 | OPS_clearAllDamageModel(); |
| 1017 | |
| 1018 | // wipe friction model |
| 1019 | OPS_clearAllFrictionModel(); |
| 1020 | |
| 1021 | // wipe HystereticBackbone |
| 1022 | OPS_clearAllHystereticBackbone(); |
| 1023 | OPS_clearAllStiffnessDegradation(); |
| 1024 | OPS_clearAllStrengthDegradation(); |
| 1025 | OPS_clearAllUnloadingRule(); |
| 1026 | |