* equation class * difference domain * dummy dataloader * writer class * refactoring and minor fix
10 lines
260 B
Python
10 lines
260 B
Python
""" Module """
|
|
from .equation_interface import EquationInterface
|
|
|
|
class Equation(EquationInterface):
|
|
|
|
def __init__(self, equation):
|
|
self.__equation = equation
|
|
|
|
def residual(self, input_, output_):
|
|
return self.__equation(input_, output_) |