예제 #1
0
 def __init__(self, *args):
     r"""
     __init__(Solver self, int s=0, bool iter_mode=False) -> Solver
     __init__(Solver self, int h, int w, bool iter_mode=False) -> Solver
     """
     if self.__class__ == Solver:
         _self = None
     else:
         _self = self
     _operators.Solver_swiginit(self, _operators.new_Solver(_self, *args))
예제 #2
0
 def __init__(self, *args):
     """
     __init__(mfem::Solver self, int s=0, bool iter_mode=False) -> Solver
     __init__(mfem::Solver self, int s=0) -> Solver
     __init__(mfem::Solver self) -> Solver
     __init__(mfem::Solver self, int h, int w, bool iter_mode=False) -> Solver
     __init__(mfem::Solver self, int h, int w) -> Solver
     """
     if self.__class__ == Solver:
         _self = None
     else:
         _self = self
     this = _operators.new_Solver(_self, *args)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this