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

Function OPS_SetIntOutput

SRC/api/elementAPI_TCL.cpp:236–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234
235extern "C"
236int OPS_SetIntOutput(int* numData, int* data, bool scalar)
237{
238 int numArgs = *numData;
239 char buffer[40];
240 for (int i = 0; i < numArgs; i++) {
241 sprintf(buffer, "%d ", data[i]);
242 Tcl_AppendResult(theInterp, buffer, NULL);
243 }
244
245 return 0;
246}
247
248extern "C" int OPS_SetIntListsOutput(
249 std::vector<std::vector<int>>& data) {

Callers 1

OPS_sectionTagFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected