Loading src/BasicTools/FE/Integrators/NativeIntegration.pyx +1 −0 Original line number Diff line number Diff line Loading @@ -160,6 +160,7 @@ cdef class PyMonoElementsIntegralCpp(): self.constantsNames.append(name) with nogil: self.NativeIntegrator.SetConstants(cpt,value) cpt += 1 def ComputeNumberOfVIJ(self,mesh,elementFilter)-> CBasicIndexType: # OK """ Loading src/BasicTools/FE/Integrators/PythonIntegration.py +1 −1 Original line number Diff line number Diff line Loading @@ -389,7 +389,7 @@ class MonoElementsIntegral(BOO): wform: (PyWeakForm) Python Or C++ version of the weak form to be integrated idstotreat: list like (int) ids of the element to treat """ constantsNumerical = np.empty(len(self.__cfs__)) constantsNumerical = np.empty(len(self.__cfs__), dtype=PBasicFloatType) cpt =0 for x in self.__cfs__: constantsNumerical[cpt] = self.__cfs__[x] Loading Loading
src/BasicTools/FE/Integrators/NativeIntegration.pyx +1 −0 Original line number Diff line number Diff line Loading @@ -160,6 +160,7 @@ cdef class PyMonoElementsIntegralCpp(): self.constantsNames.append(name) with nogil: self.NativeIntegrator.SetConstants(cpt,value) cpt += 1 def ComputeNumberOfVIJ(self,mesh,elementFilter)-> CBasicIndexType: # OK """ Loading
src/BasicTools/FE/Integrators/PythonIntegration.py +1 −1 Original line number Diff line number Diff line Loading @@ -389,7 +389,7 @@ class MonoElementsIntegral(BOO): wform: (PyWeakForm) Python Or C++ version of the weak form to be integrated idstotreat: list like (int) ids of the element to treat """ constantsNumerical = np.empty(len(self.__cfs__)) constantsNumerical = np.empty(len(self.__cfs__), dtype=PBasicFloatType) cpt =0 for x in self.__cfs__: constantsNumerical[cpt] = self.__cfs__[x] Loading