Finite difference scheme used in 'CURL' function?

1 次查看(过去 30 天)
Which finite difference scheme does Matlab use while estimating vorticity using the CURL function?

采纳的回答

Sindar
Sindar 2020-7-7
编辑:Sindar 2020-7-7
You can actually see the full code using
edit curl
it looks like everything is based on gradient, which appears to use a 2-point difference.
(In fact, all the code for gradient is there too. So, you could set up alternate FD schemes. I'd suggest copying the code into something like gradient_4point, curl_4point)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Fluid Dynamics 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by