예제 #1
0
파일: constant.py 프로젝트: DiMoser/PyPinT
 def __str__(self):
     _outstr = super(Constant, self).__str__()
     _outstr += r", C={}".format(self.constant)
     _outstr += HasExactSolutionMixin.__str__(self)
     return _outstr
예제 #2
0
파일: lambda_u.py 프로젝트: DiMoser/PyPinT
 def __str__(self):
     _outstr = super(LambdaU, self).__str__()
     _outstr += r", \lambda=%s" % self.lmbda
     _outstr += HasExactSolutionMixin.__str__(self)
     return _outstr