Files
AMSS-NCKU/AMSS_NCKU_source
CGH0S7 f754aa1ec2 Add Z4C Shell-Patch GPU acceleration (Phase 3 complete)
Create z4c_gpu_rhs_ss.cu (reusing BSSN shell FD/chain-rule kernels):
- Uploads trKd = trK + 2*TZ to GPU so existing BSSN algebraic kernels
  compute correct Z4C physical equations without modification
- New kern_z4c_post applies TZ_rhs = alpn1 * Hcon / 2, kappa1/kappa2
  constraint damping, TZ advection (lopsided), and dissipation (kodis)
- Adds TZ/TZ_rhs to Meta struct, alloc/upload/download/free lifecycle

Add cuda_compute_rhs_z4c_ss() wrapper in Z4c_class.C matching the
Fortran f_compute_rhs_Z4c_ss signature, with #define redirection for
Step/SHStep call sites and #undef before analysis functions.

Add z4c_gpu_rhs_ss.o to ABE_CUDA_CFILES and build rule in makefile.
Add kappa1_c/kappa2_c constants to gpu_rhsSS_mem.h.

Build verified with USE_CUDA_Z4C=1 + WithShell — compiles and links
cleanly. All three Shell GPU files now coexist: bssn_gpu_rhs_ss.o
(BSSN), z4c_gpu_rhs_ss.o (Z4C), both sharing FD/chain-rule kernels.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-10 13:52:48 +08:00
..
2026-05-07 16:47:55 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-05-05 10:47:46 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-05-07 16:47:55 +08:00
2026-01-13 15:01:15 +08:00
2026-05-07 16:47:55 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-05-07 16:47:55 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-04-25 08:22:00 +08:00
2026-04-25 08:22:00 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-05-07 16:47:55 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-04-26 15:38:13 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00
2026-01-13 15:01:15 +08:00