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

Function ops_specifyNumberer

SRC/interpreter/PythonAnalysisBuilder.cpp:809–825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

807}
808
809PyObject *ops_specifyNumberer(PyObject *self, PyObject *args)
810{
811 OPS_ResetCommandLine(PyTuple_Size(args), 0, args);
812
813 const char *type = OPS_GetString();
814 DOF_Numberer* theNumberer = OPS_ParseNumbererCommand(type);
815
816 if(theNumberer == 0) {
817 PyErr_SetString(PyExc_RuntimeError,"failed to create Numberer ");
818 return NULL;
819 }
820
821 anaBuilder.set(theNumberer);
822
823 Py_INCREF(Py_None);
824 return Py_None;
825}
826
827PyObject *ops_specifyConstraintHandler(PyObject *self, PyObject *args)
828{

Callers

nothing calls this directly

Calls 3

OPS_ResetCommandLineFunction · 0.85
OPS_GetStringFunction · 0.70
setMethod · 0.45

Tested by

no test coverage detected