equation class, fix minor bugs, diff domain (#89)
* equation class * difference domain * dummy dataloader * writer class * refactoring and minor fix
This commit is contained in:
10
pina/equation/equation.py
Normal file
10
pina/equation/equation.py
Normal file
@@ -0,0 +1,10 @@
|
||||
""" 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_)
|
||||
Reference in New Issue
Block a user