Exemple #1
0
 def __init__(self, dim, tdep, q=None):
     if self.__class__ == VectorPyCoefficientBase:
         _self = None
     else:
         _self = self
     this = _coefficient.new_VectorPyCoefficientBase(_self, dim, tdep, q)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this
Exemple #2
0
 def __init__(self, dim, tdep, q=None):
     """
     __init__(mfem::VectorPyCoefficientBase self, int dim, int tdep, Coefficient q=None) -> VectorPyCoefficientBase
     __init__(mfem::VectorPyCoefficientBase self, int dim, int tdep) -> VectorPyCoefficientBase
     """
     if self.__class__ == VectorPyCoefficientBase:
         _self = None
     else:
         _self = self
     this = _coefficient.new_VectorPyCoefficientBase(_self, dim, tdep, q)
     try:
         self.this.append(this)
     except __builtin__.Exception:
         self.this = this