Exemple #1
0
    def __init__(self, offsets):
        this = _blockoperator.new_BlockDiagonalPreconditioner(offsets)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

        self._offsets = offsets
Exemple #2
0
    def __init__(self, offsets):
        """__init__(mfem::BlockDiagonalPreconditioner self, intArray offsets) -> BlockDiagonalPreconditioner"""
        this = _blockoperator.new_BlockDiagonalPreconditioner(offsets)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

        self._offsets = offsets
Exemple #3
0
    def __init__(self, offsets):
        r"""__init__(BlockDiagonalPreconditioner self, intArray offsets) -> BlockDiagonalPreconditioner"""
        _blockoperator.BlockDiagonalPreconditioner_swiginit(
            self, _blockoperator.new_BlockDiagonalPreconditioner(offsets))

        self._offsets = offsets