Esempio n. 1
0
 def __init__(self, *args):
     if self.__class__ == PyOperatorBase:
         _self = None
     else:
         _self = self
     this = _operators.new_PyOperatorBase(_self, *args)
     try:
         self.this.append(this)
     except Exception:
         self.this = this
Esempio n. 2
0
 def __init__(self, *args):
     r"""
     __init__(PyOperatorBase self, int s=0) -> PyOperatorBase
     __init__(PyOperatorBase self, int h, int w) -> PyOperatorBase
     """
     if self.__class__ == PyOperatorBase:
         _self = None
     else:
         _self = self
     _operators.PyOperatorBase_swiginit(self, _operators.new_PyOperatorBase(_self, *args))
Esempio n. 3
0
 def __init__(self, *args):
     """
     __init__(mfem::PyOperatorBase self, int s=0) -> PyOperatorBase
     __init__(mfem::PyOperatorBase self) -> PyOperatorBase
     __init__(mfem::PyOperatorBase self, int h, int w) -> PyOperatorBase
     """
     if self.__class__ == PyOperatorBase:
         _self = None
     else:
         _self = self
     this = _operators.new_PyOperatorBase(_self, *args)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this