Пример #1
0
 def __init__(self, _a=2):
     """
     __init__(mfem::RK2Solver self, double const _a=2) -> RK2Solver
     __init__(mfem::RK2Solver self) -> RK2Solver
     """
     this = _ode.new_RK2Solver(_a)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this
Пример #2
0
 def __init__(self, *args):
     r"""__init__(RK2Solver self, double const _a=2./3.) -> RK2Solver"""
     _ode.RK2Solver_swiginit(self, _ode.new_RK2Solver(*args))
Пример #3
0
 def __init__(self, _a=2):
     this = _ode.new_RK2Solver(_a)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this