예제 #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
 def __init__(self, gf, comp=1):
     this = _coefficient.new_GridFunctionCoefficient(gf, comp)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this