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

Method wipe

SRC/interpreter/OpenSeesCommands.cpp:969–1033  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

967}
968
969void
970OpenSeesCommands::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

Callers 12

define_modelFunction · 0.45
end_loaded_cantileverFunction · 0.45
bending_tri6n.pyFile · 0.45
bending_quad9n.pyFile · 0.45
bar.pyFile · 0.45
build_solid_bar_modelFunction · 0.45
build_solid_bar_modelFunction · 0.45
test.pyFile · 0.45
OPS_wipeFunction · 0.45
cleanupFuncFunction · 0.45

Calls 15

wipeAnalysisMethod · 0.95
OPS_clearAllMeshFunction · 0.85
OPS_clearAllTimeSeriesFunction · 0.85
OPS_clearAllCrdTransfFunction · 0.85
OPS_clearAllDampingFunction · 0.85
OPS_clearAllLimitCurveFunction · 0.85
OPS_clearAllDamageModelFunction · 0.85

Tested by 3

define_modelFunction · 0.36
end_loaded_cantileverFunction · 0.36