Пример #1
0
 def __str__(self):
     _outstr = super(Constant, self).__str__()
     _outstr += r", C={}".format(self.constant)
     _outstr += HasExactSolutionMixin.__str__(self)
     return _outstr
Пример #2
0
 def __str__(self):
     _outstr = super(LambdaU, self).__str__()
     _outstr += r", \lambda=%s" % self.lmbda
     _outstr += HasExactSolutionMixin.__str__(self)
     return _outstr