コード例 #1
0
 def __init__(self, *args):
     """
     __init__(mfem::PWConstCoefficient self, int NumOfSubD=0) -> PWConstCoefficient
     __init__(mfem::PWConstCoefficient self) -> PWConstCoefficient
     __init__(mfem::PWConstCoefficient self, Vector c) -> PWConstCoefficient
     """
     this = _coefficient.new_PWConstCoefficient(*args)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this
コード例 #2
0
ファイル: coefficient.py プロジェクト: badashangou/PyMFEM
 def __init__(self, *args):
     this = _coefficient.new_PWConstCoefficient(*args)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this