| 1422 | |
| 1423 | |
| 1424 | int |
| 1425 | wipeModel(ClientData clientData, Tcl_Interp *interp, int argc, TCL_Char **argv) |
| 1426 | { |
| 1427 | wipeAnalysis(clientData, interp, argc, argv); |
| 1428 | |
| 1429 | /* |
| 1430 | // to build the model make sure the ModelBuilder has been constructed |
| 1431 | // and that the model has not already been constructed |
| 1432 | if (theBuilder != 0) { |
| 1433 | delete theBuilder; |
| 1434 | builtModel = false; |
| 1435 | theBuilder = 0; |
| 1436 | } |
| 1437 | |
| 1438 | if (theStaticAnalysis != 0) { |
| 1439 | theStaticAnalysis->clearAll(); |
| 1440 | delete theStaticAnalysis; |
| 1441 | } |
| 1442 | |
| 1443 | if (theTransientAnalysis != 0) { |
| 1444 | theTransientAnalysis->clearAll(); |
| 1445 | delete theTransientAnalysis; |
| 1446 | } |
| 1447 | */ |
| 1448 | |
| 1449 | // NOTE : DON'T do the above on theVariableTimeStepAnalysis |
| 1450 | // as it and theTransientAnalysis are one in the same |
| 1451 | if (theDatabase != 0) |
| 1452 | delete theDatabase; |
| 1453 | |
| 1454 | theDomain.clearAll(); |
| 1455 | OPS_clearAllUniaxialMaterial(); |
| 1456 | OPS_clearAllNDMaterial(); |
| 1457 | OPS_clearAllSectionForceDeformation(); |
| 1458 | OPS_clearAllSectionRepres(); |
| 1459 | |
| 1460 | OPS_clearAllHystereticBackbone(); |
| 1461 | OPS_clearAllStiffnessDegradation(); |
| 1462 | OPS_clearAllStrengthDegradation(); |
| 1463 | OPS_clearAllUnloadingRule(); |
| 1464 | |
| 1465 | ops_Dt = 0.0; |
| 1466 | |
| 1467 | |
| 1468 | #ifdef _PARALLEL_PROCESSING |
| 1469 | OPS_PARTITIONED = false; |
| 1470 | #endif |
| 1471 | |
| 1472 | #ifdef _NOGRAPHICS |
| 1473 | |
| 1474 | #else |
| 1475 | if (theTclVideoPlayer != 0) { |
| 1476 | delete theTclVideoPlayer; |
| 1477 | theTclVideoPlayer = 0; |
| 1478 | } |
| 1479 | #endif |
| 1480 | |
| 1481 | theAlgorithm =0; |
nothing calls this directly
no test coverage detected