Пример #1
0
 def __init__(self, c=1.0):
     """
     __init__(mfem::ConstantCoefficient self, double c=1.0) -> ConstantCoefficient
     __init__(mfem::ConstantCoefficient self) -> ConstantCoefficient
     """
     this = _coefficient.new_ConstantCoefficient(c)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this
Пример #2
0
 def __init__(self, c=1.0):
     this = _coefficient.new_ConstantCoefficient(c)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this