Example #1
0
    def AddBoundaryIntegrator(self, lfi):

        if not hasattr(self, "_integrators"): self._integrators = []
        self._integrators.append(lfi)
        lfi.thisown = 0

        return _linearform.LinearForm_AddBoundaryIntegrator(self, lfi)
Example #2
0
    def AddBoundaryIntegrator(self, *args):
        r"""
        AddBoundaryIntegrator(LinearForm self, LinearFormIntegrator lfi)
        AddBoundaryIntegrator(LinearForm self, LinearFormIntegrator lfi, intArray bdr_attr_marker)
        """

        if not hasattr(self, "_integrators"): self._integrators = []
        lfi = args[0]
        self._integrators.append(lfi)
        lfi.thisown = 0

        return _linearform.LinearForm_AddBoundaryIntegrator(self, *args)