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

[feature][diffusion] only select flux when hasDiffusion is true.

parent e5dd30fa
No related branches found
No related tags found
1 merge request!4Latest features added to dune-fem-dg.
......@@ -303,7 +303,10 @@ def createFemDGSolver(Model, space,
formId = "Dune::Fem::Formulation::Enum::primal"
limiterId = "Dune::Fem::AdvectionLimiter::Enum::limited"
advFluxId = "Dune::Fem::AdvectionFlux::Enum::llf"
diffFluxId = "Dune::Fem::DiffusionFlux::Enum::cdg2"
diffFluxId = "Dune::Fem::DiffusionFlux::Enum::none"
if hasDiffusion:
diffFluxId = "Dune::Fem::DiffusionFlux::Enum::cdg2"
if limiter == None or limiter == False or limiter.lower() == "unlimiter":
limiterId = "Dune::Fem::AdvectionLimiter::Enum::unlimited"
......
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