Skip to content
Snippets Groups Projects
Commit 3784a641 authored by Thomas Gibson's avatar Thomas Gibson
Browse files

Fix max_eigenvalue method for wave operator

parent 28663bbc
No related branches found
No related tags found
No related merge requests found
...@@ -333,7 +333,7 @@ class VariableCoefficientWeakWaveOperator(HyperbolicOperator): ...@@ -333,7 +333,7 @@ class VariableCoefficientWeakWaveOperator(HyperbolicOperator):
def max_eigenvalue(self, t, fields=None, discr=None): def max_eigenvalue(self, t, fields=None, discr=None):
actx = self.dcoll._setup_actx actx = self.dcoll._setup_actx
return op.nodal_maximum(self.dcoll, actx.np.fabs(self.c)) return op.nodal_max(self.dcoll, "vol", actx.np.fabs(self.c))
# }}} # }}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment