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
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