Пример #1
0
 def __init__(self, *args):
     """
     __init__(mfem::PWConstCoefficient self, int NumOfSubD=0) -> PWConstCoefficient
     __init__(mfem::PWConstCoefficient self) -> PWConstCoefficient
     __init__(mfem::PWConstCoefficient self, Vector c) -> PWConstCoefficient
     """
     this = _coefficient.new_PWConstCoefficient(*args)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this
Пример #2
0
 def __init__(self, *args):
     this = _coefficient.new_PWConstCoefficient(*args)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this