| 1505 | } |
| 1506 | |
| 1507 | int |
| 1508 | wipeAnalysis(ClientData clientData, Tcl_Interp *interp, int argc, TCL_Char **argv) |
| 1509 | { |
| 1510 | |
| 1511 | #ifdef _PARALLEL_PROCESSING |
| 1512 | if (OPS_PARTITIONED == true && OPS_NUM_SUBDOMAINS > 1) { |
| 1513 | SubdomainIter &theSubdomains = theDomain.getSubdomains(); |
| 1514 | Subdomain *theSub =0; |
| 1515 | |
| 1516 | // create the appropriate domain decomposition analysis |
| 1517 | while ((theSub = theSubdomains()) != 0) |
| 1518 | theSub->wipeAnalysis(); |
| 1519 | } |
| 1520 | #endif |
| 1521 | |
| 1522 | if (theStaticAnalysis != 0) { |
| 1523 | theStaticAnalysis->clearAll(); |
| 1524 | delete theStaticAnalysis; |
| 1525 | } |
| 1526 | |
| 1527 | if (theTransientAnalysis != 0) { |
| 1528 | theTransientAnalysis->clearAll(); |
| 1529 | delete theTransientAnalysis; |
| 1530 | } |
| 1531 | |
| 1532 | // NOTE : DON'T do the above on theVariableTimeStepAnalysis |
| 1533 | // as it and theTransientAnalysis are one in the same |
| 1534 | |
| 1535 | theAlgorithm =0; |
| 1536 | theHandler =0; |
| 1537 | theNumberer =0; |
| 1538 | theAnalysisModel =0; |
| 1539 | theSOE =0; |
| 1540 | theEigenSOE =0; |
| 1541 | theStaticIntegrator =0; |
| 1542 | theTransientIntegrator =0; |
| 1543 | theStaticAnalysis =0; |
| 1544 | theTransientAnalysis =0; |
| 1545 | theVariableTimeStepTransientAnalysis =0; |
| 1546 | // theSensitivityAlgorithm=0; |
| 1547 | thePFEMAnalysis = 0; |
| 1548 | theTest = 0; |
| 1549 | |
| 1550 | // AddingSensitivity:BEGIN ///////////////////////////////////////////////// |
| 1551 | #ifdef _RELIABILITY |
| 1552 | theSensitivityAlgorithm =0; |
| 1553 | theSensitivityIntegrator =0; |
| 1554 | #endif |
| 1555 | // AddingSensitivity:END ///////////////////////////////////////////////// |
| 1556 | // the domain deletes the record objects, |
| 1557 | // just have to delete the private array |
| 1558 | |
| 1559 | return TCL_OK; |
| 1560 | } |
| 1561 | |
| 1562 | // by SAJalali |
| 1563 | int OPS_recorderValue(ClientData clientData, Tcl_Interp *interp, int argc, TCL_Char **argv) |
no test coverage detected