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

Function OPS_GetDoubleInput

SRC/interpreter/OpenSeesCommands.cpp:1091–1097  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1089}
1090
1091int OPS_GetDoubleInput(int *numData, double *data)
1092{
1093 if (cmds == 0) return 0;
1094 DL_Interpreter* interp = cmds->getInterpreter();
1095 if (numData == 0 || data == 0) return -1;
1096 return interp->getDouble(data, *numData);
1097}
1098
1099int OPS_GetDoubleListInput(int* size, Vector* data)
1100{

Callers 15

setPFEMAnalysisMethod · 0.70
OPS_analyzeFunction · 0.70
OPS_SecantNewtonFunction · 0.70
OPS_NewtonLineSearchFunction · 0.70
OPS_modalDampingFunction · 0.70
OPS_modalDampingQFunction · 0.70
OPS_loadConstFunction · 0.70
OPS_rayleighDampingFunction · 0.70
OPS_setTimeFunction · 0.70
OPS_addNodalMassFunction · 0.70
OPS_setNodeDispFunction · 0.70

Calls 2

getInterpreterMethod · 0.80
getDoubleMethod · 0.45

Tested by 2

OPS_NDSetStrainFunction · 0.56