Add full FD order support (2nd/4th/6th/8th) to C derivative kernels via ghost_width dispatch

Wrap each C kernel in #if (ghost_width == N) blocks matching Fortran stencil
coefficients from diff_new.f90, kodiss.f90, and lopsidediff.f90. Add fast-path
indexing for ord=1,4,5 in share_func.h.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-14 02:27:21 +08:00
parent 5d8dfaf679
commit c6ecc11d7e
6 changed files with 2612 additions and 877 deletions

File diff suppressed because it is too large Load Diff