Пример #1
0
 def __init__(self, *args):
     r"""
     __init__(BlockVector self) -> BlockVector
     __init__(BlockVector self, intArray bOffsets) -> BlockVector
     __init__(BlockVector self, intArray bOffsets, mfem::MemoryType mt) -> BlockVector
     __init__(BlockVector self, BlockVector block) -> BlockVector
     __init__(BlockVector self, double * data, intArray bOffsets) -> BlockVector
     """
     _blockvector.BlockVector_swiginit(self,
                                       _blockvector.new_BlockVector(*args))
Пример #2
0
 def __init__(self, *args):
     """
     __init__(mfem::BlockVector self) -> BlockVector
     __init__(mfem::BlockVector self, intArray bOffsets) -> BlockVector
     __init__(mfem::BlockVector self, BlockVector block) -> BlockVector
     __init__(mfem::BlockVector self, double * data, intArray bOffsets) -> BlockVector
     """
     this = _blockvector.new_BlockVector(*args)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this
Пример #3
0
 def __init__(self, *args):
     this = _blockvector.new_BlockVector(*args)
     try:
         self.this.append(this)
     except Exception:
         self.this = this