Пример #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
 def __init__(self, *args):
     this = _coefficient.new_FunctionCoefficient(*args)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this