Commit 178d27e7 authored by Felipe Bordeu's avatar Felipe Bordeu
Browse files

(NativeIntegration?pyx) Add missing counter

parent 9608ae2d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
       """
+1 −1
Original line number Diff line number Diff line
@@ -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]