Skip to content
Snippets Groups Projects
Commit c3c678ff authored by Robert K's avatar Robert K
Browse files

[bugfix][femDGOperator] Check limiter interface after models have been

sorted out.
parent d0f54f30
No related branches found
No related tags found
No related merge requests found
Pipeline #62581 passed
......@@ -182,11 +182,6 @@ def femDGOperator(Model, space,
includes = []
# obtain information about limiter interface before Model
# is augmented with default implementations
hasScalingInterface = hasattr(Model,"lowerBound") or hasattr(Model,"upperBound") or hasattr(Model,"physical")
hasLimiterInterface = (hasattr(Model,"jump") and hasattr(Model,"velocity")) or hasattr(Model,"physical")
if threading == "default":
threading = dune.fem.threading.use>1
......@@ -197,6 +192,11 @@ def femDGOperator(Model, space,
else:
Model, advModel, diffModel = femDGModels(Model,space,initialTime)
# obtain information about limiter interface before Model
# is augmented with default implementations
hasScalingInterface = hasattr(Model,"lowerBound") or hasattr(Model,"upperBound") or hasattr(Model,"physical")
hasLimiterInterface = (hasattr(Model,"jump") and hasattr(Model,"velocity")) or hasattr(Model,"physical")
hasAdvFlux = hasattr(Model,"F_c")
hasDiffFlux = hasattr(Model,"F_v")
hasStiffSource = hasattr(Model,"S_i") or hasattr(Model,"S_s")
......
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