diff --git a/src/equations/compressible_navier_stokes.jl b/src/equations/compressible_navier_stokes.jl index af7ee0a1e24..c530625f226 100644 --- a/src/equations/compressible_navier_stokes.jl +++ b/src/equations/compressible_navier_stokes.jl @@ -66,12 +66,12 @@ struct GradientVariablesEntropy end """ dynamic_viscosity(u, equations) - Wrapper for the dynamic viscosity that calls - `dynamic_viscosity(u, equations.mu, equations)` which dispatches on the type of - `equations.mu`. - For constant `equations.mu`, i.e., `equations.mu` is of `Real`-type it is returned directly. - In the opposite case, `equations.mu` is assumed to be a function with arguments - `u` and `equations` and is called with these arguments. +Wrapper for the dynamic viscosity that calls +`dynamic_viscosity(u, equations.mu, equations)`, which dispatches on the type of +`equations.mu`. +For constant `equations.mu`, i.e., `equations.mu` is of `Real`-type it is returned directly. +In all other cases, `equations.mu` is assumed to be a function with arguments +`u` and `equations` and is called with these arguments. """ dynamic_viscosity(u, equations) = dynamic_viscosity(u, equations.mu, equations) dynamic_viscosity(u, mu::Real, equations) = mu