Closed milankl closed 3 years ago
https://github.com/milankl/ShallowWaters.jl/blob/5b5746b29e61cedeb2beb761f81f9e5cdad9f2a0/src/Gradients.jl#L37
probably as
uij = u[j,i] ∇²u[j,i] = (u[j,i+1]-uij) + (u[j+2,i+1]-uij) + (u[j+1,i]-uij) + (u[j+1,i+2]-uij)
or
∇²u[j,i] = ((u[j-1,i]-uij) + (u[j+1,i]-uij)) + ((u[j,i-1]-uij) + (u[j,i+1]-uij))
note the brackets
done in #153
https://github.com/milankl/ShallowWaters.jl/blob/5b5746b29e61cedeb2beb761f81f9e5cdad9f2a0/src/Gradients.jl#L37
probably as