예제 #1
0
파일: constant.py 프로젝트: DiMoser/PyPinT
 def print_lines_for_log(self):
     _lines = super(Constant, self).print_lines_for_log()
     _lines.update(HasExactSolutionMixin.print_lines_for_log(self))
     _lines['Coefficients'] = 'C = {:.3f}'.format(self.constant)
     return _lines
예제 #2
0
파일: lambda_u.py 프로젝트: DiMoser/PyPinT
 def print_lines_for_log(self):
     _lines = super(LambdaU, self).print_lines_for_log()
     _lines.update(HasExactSolutionMixin.print_lines_for_log(self))
     _lines['Coefficients'] = '\lambda = %s' % self.lmbda
     return _lines