fix bugs for helmholtz and advection (#686)

This commit is contained in:
Giovanni Canali
2025-10-30 10:15:38 +01:00
committed by GitHub
parent 64930c431f
commit fca3db7926
3 changed files with 9 additions and 10 deletions

View File

@@ -48,11 +48,10 @@ class HelmholtzProblem(SpatialProblem):
:type alpha: float | int
"""
super().__init__()
self.alpha = alpha
check_consistency(alpha, (int, float))
self.alpha = alpha
def forcing_term(self, input_):
def forcing_term(input_):
"""
Implementation of the forcing term.
"""