def __init__(self, *args): this = _blockmatrix.new_BlockMatrix(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this from mfem.par import intArray if len(args) == 1: if isinstance(args[0], intArray): self._offsets = args[0] if len(args) == 2: if (isinstance(args[0], intArray) and isinstance(args[1], intArray)): self._offsets = (args[0], args[1])
def __init__(self, *args): r""" __init__(BlockMatrix self, intArray offsets) -> BlockMatrix __init__(BlockMatrix self, intArray row_offsets, intArray col_offsets) -> BlockMatrix """ _blockmatrix.BlockMatrix_swiginit(self, _blockmatrix.new_BlockMatrix(*args)) from mfem.par import intArray if len(args) == 1: if isinstance(args[0], intArray): self._offsets = args[0] if len(args) == 2: if (isinstance(args[0], intArray) and isinstance(args[1], intArray)): self._offsets = (args[0], args[1])
def __init__(self, *args): """ __init__(mfem::BlockMatrix self, intArray offsets) -> BlockMatrix __init__(mfem::BlockMatrix self, intArray row_offsets, intArray col_offsets) -> BlockMatrix """ this = _blockmatrix.new_BlockMatrix(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this from mfem.ser import intArray if len(args) == 1: if isinstance(args[0], intArray): self._offsets = args[0] if len(args) == 2: if (isinstance(args[0], intArray) and isinstance(args[1], intArray)): self._offsets = (args[0], args[1])
def __init__(self, *args): this = _blockmatrix.new_BlockMatrix(*args) try: self.this.append(this) except Exception: self.this = this