コード例 #1
0
 def __init__(self, n):
     """__init__(mfem::IdentityOperator self, int n) -> IdentityOperator"""
     this = _operators.new_IdentityOperator(n)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this
コード例 #2
0
ファイル: operators.py プロジェクト: tomstitt/PyMFEM
 def __init__(self, n):
     r"""__init__(IdentityOperator self, int n) -> IdentityOperator"""
     _operators.IdentityOperator_swiginit(
         self, _operators.new_IdentityOperator(n))
コード例 #3
0
 def __init__(self, n):
     this = _operators.new_IdentityOperator(n)
     try:
         self.this.append(this)
     except Exception:
         self.this = this