diff --git a/src/equations/compressible_navier_stokes.jl b/src/equations/compressible_navier_stokes.jl index b0258e4b98a..3cb118accc9 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