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

Function ops_specifyCTest

SRC/interpreter/PythonAnalysisBuilder.cpp:917–933  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

915}
916
917PyObject *ops_specifyCTest(PyObject *self, PyObject *args)
918{
919 OPS_ResetCommandLine(PyTuple_Size(args), 0, args);
920
921 const char *type = OPS_GetString();
922 ConvergenceTest* theTest = OPS_ParseCTestCommand(type);
923
924 if(theTest == 0) {
925 PyErr_SetString(PyExc_RuntimeError,"failed to create ConvergenceTest ");
926 return NULL;
927 }
928
929 anaBuilder.set(theTest);
930
931 Py_INCREF(Py_None);
932 return Py_None;
933}
934
935PyObject *ops_analyzeModel(PyObject *self, PyObject *args)
936{

Callers

nothing calls this directly

Calls 3

OPS_ResetCommandLineFunction · 0.85
OPS_GetStringFunction · 0.70
setMethod · 0.45

Tested by

no test coverage detected