コード例 #1
0
 def __init__(self, *args):
     """
     __init__(mfem::VectorFunctionCoefficient self, int dim, void (*)(mfem::Vector const &,mfem::Vector &) F, Coefficient q=None) -> VectorFunctionCoefficient
     __init__(mfem::VectorFunctionCoefficient self, int dim, void (*)(mfem::Vector const &,mfem::Vector &) F) -> VectorFunctionCoefficient
     __init__(mfem::VectorFunctionCoefficient self, int dim, void (*)(mfem::Vector const &,double,mfem::Vector &) TDF, Coefficient q=None) -> VectorFunctionCoefficient
     __init__(mfem::VectorFunctionCoefficient self, int dim, void (*)(mfem::Vector const &,double,mfem::Vector &) TDF) -> VectorFunctionCoefficient
     """
     this = _coefficient.new_VectorFunctionCoefficient(*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_VectorFunctionCoefficient(*args)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this