From caa2868b72bbda30c85aebcfdb6429fae32f1b59 Mon Sep 17 00:00:00 2001 From: Dmitry Yurov <d.yurov@fz-juelich.de> Date: Thu, 9 May 2019 18:32:37 +0200 Subject: [PATCH] Regenerate bindings --- auto/Wrap/libBornAgainCore.py | 76 +++----- auto/Wrap/libBornAgainCore_wrap.cpp | 281 +++++++++++++++------------- 2 files changed, 176 insertions(+), 181 deletions(-) diff --git a/auto/Wrap/libBornAgainCore.py b/auto/Wrap/libBornAgainCore.py index 839a4dafc76..494be848eca 100644 --- a/auto/Wrap/libBornAgainCore.py +++ b/auto/Wrap/libBornAgainCore.py @@ -16684,14 +16684,9 @@ class Simulation(ICloneable, INode): return _libBornAgainCore.Simulation_background(self) - def numberOfSimulationElements(self): - """ - numberOfSimulationElements(Simulation self) -> size_t - - virtual size_t Simulation::numberOfSimulationElements() const =0 - - """ - return _libBornAgainCore.Simulation_numberOfSimulationElements(self) + def intensityMapSize(self): + """intensityMapSize(Simulation self) -> size_t""" + return _libBornAgainCore.Simulation_intensityMapSize(self) def result(self): @@ -16928,6 +16923,11 @@ class Simulation2D(Simulation): """ return _libBornAgainCore.Simulation2D_setRegionOfInterest(self, xlow, ylow, xup, yup) + + def intensityMapSize(self): + """intensityMapSize(Simulation2D self) -> size_t""" + return _libBornAgainCore.Simulation2D_intensityMapSize(self) + Simulation2D_swigregister = _libBornAgainCore.Simulation2D_swigregister Simulation2D_swigregister(Simulation2D) @@ -17196,18 +17196,6 @@ class GISASSimulation(Simulation2D): return _libBornAgainCore.GISASSimulation_prepareSimulation(self) - def numberOfSimulationElements(self): - """ - numberOfSimulationElements(GISASSimulation self) -> size_t - - size_t GISASSimulation::numberOfSimulationElements() const override - - Gets the number of elements this simulation needs to calculate. - - """ - return _libBornAgainCore.GISASSimulation_numberOfSimulationElements(self) - - def result(self): """ result(GISASSimulation self) -> SimulationResult @@ -18279,8 +18267,9 @@ class SimulationResult(_object): return _libBornAgainCore.SimulationResult_size(self) - def array(self): + def array(self, *args): """ + array(SimulationResult self, AxesUnits units) -> PyObject array(SimulationResult self) -> PyObject * PyObject * SimulationResult::array() const @@ -18288,7 +18277,7 @@ class SimulationResult(_object): returns intensity data as Python numpy array """ - return _libBornAgainCore.SimulationResult_array(self) + return _libBornAgainCore.SimulationResult_array(self, *args) def axis(self, *args): @@ -25760,18 +25749,6 @@ class OffSpecSimulation(Simulation2D): return _libBornAgainCore.OffSpecSimulation_prepareSimulation(self) - def numberOfSimulationElements(self): - """ - numberOfSimulationElements(OffSpecSimulation self) -> size_t - - size_t OffSpecSimulation::numberOfSimulationElements() const final - - Gets the number of elements this simulation needs to calculate. - - """ - return _libBornAgainCore.OffSpecSimulation_numberOfSimulationElements(self) - - def result(self): """ result(OffSpecSimulation self) -> SimulationResult @@ -28763,16 +28740,6 @@ class DepthProbeSimulation(Simulation): return _libBornAgainCore.DepthProbeSimulation_accept(self, visitor) - def numberOfSimulationElements(self): - """ - numberOfSimulationElements(DepthProbeSimulation self) -> size_t - - size_t DepthProbeSimulation::numberOfSimulationElements() const override - - """ - return _libBornAgainCore.DepthProbeSimulation_numberOfSimulationElements(self) - - def result(self): """ result(DepthProbeSimulation self) -> SimulationResult @@ -28833,6 +28800,11 @@ class DepthProbeSimulation(Simulation): """ return _libBornAgainCore.DepthProbeSimulation_getZAxis(self) + + def intensityMapSize(self): + """intensityMapSize(DepthProbeSimulation self) -> size_t""" + return _libBornAgainCore.DepthProbeSimulation_intensityMapSize(self) + DepthProbeSimulation_swigregister = _libBornAgainCore.DepthProbeSimulation_swigregister DepthProbeSimulation_swigregister(DepthProbeSimulation) @@ -28907,16 +28879,6 @@ class SpecularSimulation(Simulation): return _libBornAgainCore.SpecularSimulation_accept(self, visitor) - def numberOfSimulationElements(self): - """ - numberOfSimulationElements(SpecularSimulation self) -> size_t - - size_t SpecularSimulation::numberOfSimulationElements() const override - - """ - return _libBornAgainCore.SpecularSimulation_numberOfSimulationElements(self) - - def result(self): """ result(SpecularSimulation self) -> SimulationResult @@ -28965,6 +28927,11 @@ class SpecularSimulation(Simulation): return _libBornAgainCore.SpecularSimulation_footprintFactor(self) + def intensityMapSize(self): + """intensityMapSize(SpecularSimulation self) -> size_t""" + return _libBornAgainCore.SpecularSimulation_intensityMapSize(self) + + def setSampleBuilder(self, ptr): self.samplebuilder = ptr self.setSampleBuilderCpp(ptr) @@ -29328,6 +29295,7 @@ class AxesUnits(_object): MM = _libBornAgainCore.AxesUnits_MM QSPACE = _libBornAgainCore.AxesUnits_QSPACE QXQY = _libBornAgainCore.AxesUnits_QXQY + RQ4 = _libBornAgainCore.AxesUnits_RQ4 __swig_destroy__ = _libBornAgainCore.delete_AxesUnits __del__ = lambda self: None AxesUnits_swigregister = _libBornAgainCore.AxesUnits_swigregister diff --git a/auto/Wrap/libBornAgainCore_wrap.cpp b/auto/Wrap/libBornAgainCore_wrap.cpp index eaa8352b0c0..6eb125cb284 100644 --- a/auto/Wrap/libBornAgainCore_wrap.cpp +++ b/auto/Wrap/libBornAgainCore_wrap.cpp @@ -79803,7 +79803,7 @@ fail: } -SWIGINTERN PyObject *_wrap_Simulation_numberOfSimulationElements(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Simulation_intensityMapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; Simulation *arg1 = (Simulation *) 0 ; void *argp1 = 0 ; @@ -79811,13 +79811,13 @@ SWIGINTERN PyObject *_wrap_Simulation_numberOfSimulationElements(PyObject *SWIGU PyObject * obj0 = 0 ; size_t result; - if (!PyArg_ParseTuple(args,(char *)"O:Simulation_numberOfSimulationElements",&obj0)) SWIG_fail; + if (!PyArg_ParseTuple(args,(char *)"O:Simulation_intensityMapSize",&obj0)) SWIG_fail; res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Simulation, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulation_numberOfSimulationElements" "', argument " "1"" of type '" "Simulation const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulation_intensityMapSize" "', argument " "1"" of type '" "Simulation const *""'"); } arg1 = reinterpret_cast< Simulation * >(argp1); - result = ((Simulation const *)arg1)->numberOfSimulationElements(); + result = ((Simulation const *)arg1)->intensityMapSize(); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -80812,6 +80812,28 @@ fail: } +SWIGINTERN PyObject *_wrap_Simulation2D_intensityMapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + Simulation2D *arg1 = (Simulation2D *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + size_t result; + + if (!PyArg_ParseTuple(args,(char *)"O:Simulation2D_intensityMapSize",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_Simulation2D, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Simulation2D_intensityMapSize" "', argument " "1"" of type '" "Simulation2D const *""'"); + } + arg1 = reinterpret_cast< Simulation2D * >(argp1); + result = ((Simulation2D const *)arg1)->intensityMapSize(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *Simulation2D_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL; @@ -81547,28 +81569,6 @@ fail: } -SWIGINTERN PyObject *_wrap_GISASSimulation_numberOfSimulationElements(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - GISASSimulation *arg1 = (GISASSimulation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - size_t result; - - if (!PyArg_ParseTuple(args,(char *)"O:GISASSimulation_numberOfSimulationElements",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_GISASSimulation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GISASSimulation_numberOfSimulationElements" "', argument " "1"" of type '" "GISASSimulation const *""'"); - } - arg1 = reinterpret_cast< GISASSimulation * >(argp1); - result = ((GISASSimulation const *)arg1)->numberOfSimulationElements(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_GISASSimulation_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; GISASSimulation *arg1 = (GISASSimulation *) 0 ; @@ -85972,7 +85972,38 @@ fail: } -SWIGINTERN PyObject *_wrap_SimulationResult_array(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_SimulationResult_array__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + SimulationResult *arg1 = (SimulationResult *) 0 ; + AxesUnits arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject * obj0 = 0 ; + PyObject * obj1 = 0 ; + PyObject *result = 0 ; + + if (!PyArg_ParseTuple(args,(char *)"OO:SimulationResult_array",&obj0,&obj1)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SimulationResult, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimulationResult_array" "', argument " "1"" of type '" "SimulationResult const *""'"); + } + arg1 = reinterpret_cast< SimulationResult * >(argp1); + ecode2 = SWIG_AsVal_int(obj1, &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SimulationResult_array" "', argument " "2"" of type '" "AxesUnits""'"); + } + arg2 = static_cast< AxesUnits >(val2); + result = (PyObject *)((SimulationResult const *)arg1)->array(arg2); + resultobj = result; + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SimulationResult_array__SWIG_1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; SimulationResult *arg1 = (SimulationResult *) 0 ; void *argp1 = 0 ; @@ -85994,6 +86025,52 @@ fail: } +SWIGINTERN PyObject *_wrap_SimulationResult_array(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + Py_ssize_t ii; + + if (!PyTuple_Check(args)) SWIG_fail; + argc = args ? PyObject_Length(args) : 0; + for (ii = 0; (ii < 2) && (ii < argc); ii++) { + argv[ii] = PyTuple_GET_ITEM(args,ii); + } + if (argc == 1) { + int _v; + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SimulationResult, 0); + _v = SWIG_CheckState(res); + if (_v) { + return _wrap_SimulationResult_array__SWIG_1(self, args); + } + } + if (argc == 2) { + int _v; + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_SimulationResult, 0); + _v = SWIG_CheckState(res); + if (_v) { + { + int res = SWIG_AsVal_int(argv[1], NULL); + _v = SWIG_CheckState(res); + } + if (_v) { + return _wrap_SimulationResult_array__SWIG_0(self, args); + } + } + } + +fail: + SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SimulationResult_array'.\n" + " Possible C/C++ prototypes are:\n" + " SimulationResult::array(AxesUnits) const\n" + " SimulationResult::array() const\n"); + return 0; +} + + SWIGINTERN PyObject *_wrap_SimulationResult_axis__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; SimulationResult *arg1 = (SimulationResult *) 0 ; @@ -107413,28 +107490,6 @@ fail: } -SWIGINTERN PyObject *_wrap_OffSpecSimulation_numberOfSimulationElements(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - OffSpecSimulation *arg1 = (OffSpecSimulation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - size_t result; - - if (!PyArg_ParseTuple(args,(char *)"O:OffSpecSimulation_numberOfSimulationElements",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_OffSpecSimulation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OffSpecSimulation_numberOfSimulationElements" "', argument " "1"" of type '" "OffSpecSimulation const *""'"); - } - arg1 = reinterpret_cast< OffSpecSimulation * >(argp1); - result = ((OffSpecSimulation const *)arg1)->numberOfSimulationElements(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_OffSpecSimulation_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; OffSpecSimulation *arg1 = (OffSpecSimulation *) 0 ; @@ -119985,28 +120040,6 @@ fail: } -SWIGINTERN PyObject *_wrap_DepthProbeSimulation_numberOfSimulationElements(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - DepthProbeSimulation *arg1 = (DepthProbeSimulation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - size_t result; - - if (!PyArg_ParseTuple(args,(char *)"O:DepthProbeSimulation_numberOfSimulationElements",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_DepthProbeSimulation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DepthProbeSimulation_numberOfSimulationElements" "', argument " "1"" of type '" "DepthProbeSimulation const *""'"); - } - arg1 = reinterpret_cast< DepthProbeSimulation * >(argp1); - result = ((DepthProbeSimulation const *)arg1)->numberOfSimulationElements(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_DepthProbeSimulation_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; DepthProbeSimulation *arg1 = (DepthProbeSimulation *) 0 ; @@ -120337,6 +120370,28 @@ fail: } +SWIGINTERN PyObject *_wrap_DepthProbeSimulation_intensityMapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + DepthProbeSimulation *arg1 = (DepthProbeSimulation *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + size_t result; + + if (!PyArg_ParseTuple(args,(char *)"O:DepthProbeSimulation_intensityMapSize",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_DepthProbeSimulation, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DepthProbeSimulation_intensityMapSize" "', argument " "1"" of type '" "DepthProbeSimulation const *""'"); + } + arg1 = reinterpret_cast< DepthProbeSimulation * >(argp1); + result = ((DepthProbeSimulation const *)arg1)->intensityMapSize(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *DepthProbeSimulation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL; @@ -120544,28 +120599,6 @@ fail: } -SWIGINTERN PyObject *_wrap_SpecularSimulation_numberOfSimulationElements(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *resultobj = 0; - SpecularSimulation *arg1 = (SpecularSimulation *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject * obj0 = 0 ; - size_t result; - - if (!PyArg_ParseTuple(args,(char *)"O:SpecularSimulation_numberOfSimulationElements",&obj0)) SWIG_fail; - res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SpecularSimulation, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpecularSimulation_numberOfSimulationElements" "', argument " "1"" of type '" "SpecularSimulation const *""'"); - } - arg1 = reinterpret_cast< SpecularSimulation * >(argp1); - result = ((SpecularSimulation const *)arg1)->numberOfSimulationElements(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_SpecularSimulation_result(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *resultobj = 0; SpecularSimulation *arg1 = (SpecularSimulation *) 0 ; @@ -120665,6 +120698,28 @@ fail: } +SWIGINTERN PyObject *_wrap_SpecularSimulation_intensityMapSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *resultobj = 0; + SpecularSimulation *arg1 = (SpecularSimulation *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject * obj0 = 0 ; + size_t result; + + if (!PyArg_ParseTuple(args,(char *)"O:SpecularSimulation_intensityMapSize",&obj0)) SWIG_fail; + res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_SpecularSimulation, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SpecularSimulation_intensityMapSize" "', argument " "1"" of type '" "SpecularSimulation const *""'"); + } + arg1 = reinterpret_cast< SpecularSimulation * >(argp1); + result = ((SpecularSimulation const *)arg1)->intensityMapSize(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *SpecularSimulation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { PyObject *obj; if (!PyArg_ParseTuple(args,(char *)"O:swigregister", &obj)) return NULL; @@ -132313,12 +132368,7 @@ static PyMethodDef SwigMethods[] = { "const IBackground* Simulation::background() const\n" "\n" ""}, - { (char *)"Simulation_numberOfSimulationElements", _wrap_Simulation_numberOfSimulationElements, METH_VARARGS, (char *)"\n" - "Simulation_numberOfSimulationElements(Simulation self) -> size_t\n" - "\n" - "virtual size_t Simulation::numberOfSimulationElements() const =0\n" - "\n" - ""}, + { (char *)"Simulation_intensityMapSize", _wrap_Simulation_intensityMapSize, METH_VARARGS, (char *)"Simulation_intensityMapSize(Simulation self) -> size_t"}, { (char *)"Simulation_result", _wrap_Simulation_result, METH_VARARGS, (char *)"\n" "Simulation_result(Simulation self) -> SimulationResult\n" "\n" @@ -132469,6 +132519,7 @@ static PyMethodDef SwigMethods[] = { "Sets rectangular region of interest with lower left and upper right corners defined. \n" "\n" ""}, + { (char *)"Simulation2D_intensityMapSize", _wrap_Simulation2D_intensityMapSize, METH_VARARGS, (char *)"Simulation2D_intensityMapSize(Simulation2D self) -> size_t"}, { (char *)"Simulation2D_swigregister", Simulation2D_swigregister, METH_VARARGS, NULL}, { (char *)"new_SimulationOptions", _wrap_new_SimulationOptions, METH_VARARGS, (char *)"\n" "new_SimulationOptions() -> SimulationOptions\n" @@ -132617,14 +132668,6 @@ static PyMethodDef SwigMethods[] = { "Put into a clean state for running a simulation. \n" "\n" ""}, - { (char *)"GISASSimulation_numberOfSimulationElements", _wrap_GISASSimulation_numberOfSimulationElements, METH_VARARGS, (char *)"\n" - "GISASSimulation_numberOfSimulationElements(GISASSimulation self) -> size_t\n" - "\n" - "size_t GISASSimulation::numberOfSimulationElements() const override\n" - "\n" - "Gets the number of elements this simulation needs to calculate. \n" - "\n" - ""}, { (char *)"GISASSimulation_result", _wrap_GISASSimulation_result, METH_VARARGS, (char *)"\n" "GISASSimulation_result(GISASSimulation self) -> SimulationResult\n" "\n" @@ -133278,6 +133321,7 @@ static PyMethodDef SwigMethods[] = { "\n" ""}, { (char *)"SimulationResult_array", _wrap_SimulationResult_array, METH_VARARGS, (char *)"\n" + "array(AxesUnits units) -> PyObject\n" "SimulationResult_array(SimulationResult self) -> PyObject *\n" "\n" "PyObject * SimulationResult::array() const\n" @@ -137392,14 +137436,6 @@ static PyMethodDef SwigMethods[] = { "Put into a clean state for running a simulation. \n" "\n" ""}, - { (char *)"OffSpecSimulation_numberOfSimulationElements", _wrap_OffSpecSimulation_numberOfSimulationElements, METH_VARARGS, (char *)"\n" - "OffSpecSimulation_numberOfSimulationElements(OffSpecSimulation self) -> size_t\n" - "\n" - "size_t OffSpecSimulation::numberOfSimulationElements() const final\n" - "\n" - "Gets the number of elements this simulation needs to calculate. \n" - "\n" - ""}, { (char *)"OffSpecSimulation_result", _wrap_OffSpecSimulation_result, METH_VARARGS, (char *)"\n" "OffSpecSimulation_result(OffSpecSimulation self) -> SimulationResult\n" "\n" @@ -139053,12 +139089,6 @@ static PyMethodDef SwigMethods[] = { "Calls the INodeVisitor's visit method. \n" "\n" ""}, - { (char *)"DepthProbeSimulation_numberOfSimulationElements", _wrap_DepthProbeSimulation_numberOfSimulationElements, METH_VARARGS, (char *)"\n" - "DepthProbeSimulation_numberOfSimulationElements(DepthProbeSimulation self) -> size_t\n" - "\n" - "size_t DepthProbeSimulation::numberOfSimulationElements() const override\n" - "\n" - ""}, { (char *)"DepthProbeSimulation_result", _wrap_DepthProbeSimulation_result, METH_VARARGS, (char *)"\n" "DepthProbeSimulation_result(DepthProbeSimulation self) -> SimulationResult\n" "\n" @@ -139100,6 +139130,7 @@ static PyMethodDef SwigMethods[] = { "Returns a pointer to z-position axis. \n" "\n" ""}, + { (char *)"DepthProbeSimulation_intensityMapSize", _wrap_DepthProbeSimulation_intensityMapSize, METH_VARARGS, (char *)"DepthProbeSimulation_intensityMapSize(DepthProbeSimulation self) -> size_t"}, { (char *)"DepthProbeSimulation_swigregister", DepthProbeSimulation_swigregister, METH_VARARGS, NULL}, { (char *)"new_SpecularSimulation", _wrap_new_SpecularSimulation, METH_VARARGS, (char *)"\n" "SpecularSimulation()\n" @@ -139137,12 +139168,6 @@ static PyMethodDef SwigMethods[] = { "Calls the INodeVisitor's visit method. \n" "\n" ""}, - { (char *)"SpecularSimulation_numberOfSimulationElements", _wrap_SpecularSimulation_numberOfSimulationElements, METH_VARARGS, (char *)"\n" - "SpecularSimulation_numberOfSimulationElements(SpecularSimulation self) -> size_t\n" - "\n" - "size_t SpecularSimulation::numberOfSimulationElements() const override\n" - "\n" - ""}, { (char *)"SpecularSimulation_result", _wrap_SpecularSimulation_result, METH_VARARGS, (char *)"\n" "SpecularSimulation_result(SpecularSimulation self) -> SimulationResult\n" "\n" @@ -139175,6 +139200,7 @@ static PyMethodDef SwigMethods[] = { "Returns a pointer to footprint factor holder. \n" "\n" ""}, + { (char *)"SpecularSimulation_intensityMapSize", _wrap_SpecularSimulation_intensityMapSize, METH_VARARGS, (char *)"SpecularSimulation_intensityMapSize(SpecularSimulation self) -> size_t"}, { (char *)"SpecularSimulation_swigregister", SpecularSimulation_swigregister, METH_VARARGS, NULL}, { (char *)"new_ThreadInfo", _wrap_new_ThreadInfo, METH_VARARGS, (char *)"\n" "new_ThreadInfo() -> ThreadInfo\n" @@ -144421,6 +144447,7 @@ SWIG_init(void) { SWIG_Python_SetConstant(d, "AxesUnits_MM",SWIG_From_int(static_cast< int >(AxesUnitsWrap::MM))); SWIG_Python_SetConstant(d, "AxesUnits_QSPACE",SWIG_From_int(static_cast< int >(AxesUnitsWrap::QSPACE))); SWIG_Python_SetConstant(d, "AxesUnits_QXQY",SWIG_From_int(static_cast< int >(AxesUnitsWrap::QXQY))); + SWIG_Python_SetConstant(d, "AxesUnits_RQ4",SWIG_From_int(static_cast< int >(AxesUnitsWrap::RQ4))); #if PY_VERSION_HEX >= 0x03000000 return m; #else -- GitLab