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

Function OPS_GetDoubleInput

SRC/runtime/parsing/InterpreterAPI.cpp:111–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111extern "C" int
112OPS_GetDoubleInput(int *numData, double *data)
113{
114 int size = *numData;
115 for (int i = 0; i < size; ++i) {
116 if ((currentArg >= maxArg) ||
117 (Tcl_GetDouble(theInterp, currentArgv[currentArg], &data[i]) != TCL_OK)) {
118 return -1;
119 } else
120 currentArg++;
121 }
122 return 0;
123}
124
125extern "C" const char *
126OPS_GetString(void)

Callers 15

OPS_DriftRecorderFunction · 0.50
OPS_PVDRecorderFunction · 0.50
OPS_VTKHDF_RecorderFunction · 0.50
OPS_ElementRecorderFunction · 0.50
OPS_ElementRecorderRMSFunction · 0.50
OPS_RemoveRecorderFunction · 0.50
OPS_NodeRecorderFunction · 0.50
OPS_VTK_RecorderFunction · 0.50
OPS_EnvelopeNodeRecorderFunction · 0.50
OPS_NodeRecorderRMSFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected