| 387 | |
| 388 | extern "C" |
| 389 | int OPS_EvalDoubleStringExpression(const char* theExpression, double& current_val) { |
| 390 | if (Tcl_ExprDouble(theInterp, theExpression, ¤t_val) != TCL_OK) { |
| 391 | opserr << "OPS_EvalDoubleStringExpression::evaluateExpression -- expression \"" << theExpression; |
| 392 | opserr << "\" caused error:" << endln << Tcl_GetStringResult(theInterp) << endln; |
| 393 | return -1; |
| 394 | } |
| 395 | return 0; |
| 396 | } |
| 397 | |
| 398 | extern "C" |
| 399 | int OPS_SetDoubleOutput(int* numData, double* data, bool scalar) |
no outgoing calls
no test coverage detected