Commit Graph

6 Commits

Author SHA1 Message Date
59350f3c3e Fix lower-order C lopsided boundary fallbacks 2026-05-14 21:37:54 +08:00
925889fbe9 Fix eighth-order C derivative and lopsided stencils 2026-05-14 20:43:06 +08:00
207efdbbb2 Fix C derivative ghost-buffer indexing across FD orders 2026-05-14 16:04:56 +08:00
fdeae7cb1b Fix fourth-order C lopsided and KO stencil indexing 2026-05-14 15:21:56 +08:00
02d71b27b9 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>
2026-05-14 11:26:50 +08:00
bc457d981e bssn_rhs_c: merge lopsided+kodis with shared symmetry buffer 2026-02-28 15:23:01 +08:00