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