From 2ec63777fd4b80f4db87dc351a4a7332dc697aea Mon Sep 17 00:00:00 2001 From: Junyi Xu Date: Sat, 24 Aug 2024 20:28:08 +0800 Subject: [PATCH] add docs --- src/rhs.jl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/rhs.jl b/src/rhs.jl index 078a73b..26feb6c 100644 --- a/src/rhs.jl +++ b/src/rhs.jl @@ -1,3 +1,8 @@ +""" + upwind!(du, u, cache) + +vanilla upwind scheme +""" function upwind!(du::Vector, u::Vector, cache) C = 0.2 cache.numerical_flux .= u .* cache.v