def __str__(self): _outstr = super(Constant, self).__str__() _outstr += r", C={}".format(self.constant) _outstr += HasExactSolutionMixin.__str__(self) return _outstr
def __str__(self): _outstr = super(LambdaU, self).__str__() _outstr += r", \lambda=%s" % self.lmbda _outstr += HasExactSolutionMixin.__str__(self) return _outstr