| 1285 | #ifdef _RELIABILITY |
| 1286 | |
| 1287 | int |
| 1288 | reliability(ClientData clientData, Tcl_Interp *interp, int argc, TCL_Char **argv) |
| 1289 | { |
| 1290 | if (theReliabilityBuilder == 0) { |
| 1291 | |
| 1292 | theReliabilityBuilder = new TclReliabilityBuilder(theDomain,interp); |
| 1293 | if (theReliabilityBuilder == 0) { |
| 1294 | opserr << "Failed to create reliability domain" << endln; |
| 1295 | return TCL_ERROR; |
| 1296 | } |
| 1297 | OPS_SetReliabilityDomain(theReliabilityBuilder->getReliabilityDomain()); |
| 1298 | return TCL_OK; |
| 1299 | } |
| 1300 | else |
| 1301 | return TCL_ERROR; |
| 1302 | } |
| 1303 | |
| 1304 | |
| 1305 | int |
nothing calls this directly
no test coverage detected