コード例 #1
0
ファイル: sparsesmoothers.py プロジェクト: tomstitt/PyMFEM
 def __init__(self, *args):
     r"""
     __init__(DSmoother self, int t=0, double s=1., int it=1) -> DSmoother
     __init__(DSmoother self, SparseMatrix a, int t=0, double s=1., int it=1) -> DSmoother
     """
     _sparsesmoothers.DSmoother_swiginit(
         self, _sparsesmoothers.new_DSmoother(*args))
コード例 #2
0
ファイル: sparsesmoothers.py プロジェクト: mortezah/PyMFEM
 def __init__(self, *args):
     """
     __init__(mfem::DSmoother self, int t=0, double s=1., int it=1) -> DSmoother
     __init__(mfem::DSmoother self, int t=0, double s=1.) -> DSmoother
     __init__(mfem::DSmoother self, int t=0) -> DSmoother
     __init__(mfem::DSmoother self) -> DSmoother
     __init__(mfem::DSmoother self, SparseMatrix a, int t=0, double s=1., int it=1) -> DSmoother
     __init__(mfem::DSmoother self, SparseMatrix a, int t=0, double s=1.) -> DSmoother
     __init__(mfem::DSmoother self, SparseMatrix a, int t=0) -> DSmoother
     __init__(mfem::DSmoother self, SparseMatrix a) -> DSmoother
     """
     this = _sparsesmoothers.new_DSmoother(*args)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this
コード例 #3
0
 def __init__(self, *args):
     this = _sparsesmoothers.new_DSmoother(*args)
     try:
         self.this.append(this)
     except Exception:
         self.this = this