コード例 #1
0
 def __init__(self, *args):
     """
     __init__(mfem::FunctionCoefficient self, double (*)(mfem::Vector const &) f) -> FunctionCoefficient
     __init__(mfem::FunctionCoefficient self, double (*)(mfem::Vector const &,double) tdf) -> FunctionCoefficient
     __init__(mfem::FunctionCoefficient self, double (*)(mfem::Vector &) f) -> FunctionCoefficient
     __init__(mfem::FunctionCoefficient self, double (*)(mfem::Vector &,double) tdf) -> FunctionCoefficient
     """
     this = _coefficient.new_FunctionCoefficient(*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_FunctionCoefficient(*args)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this