Add switchable C RK4 kernel and build toggle

(cherry picked from commit b91cfff301)
This commit is contained in:
2026-02-28 21:12:19 +08:00
committed by ianchb
parent 71f6eb7b44
commit b185f84cce
3 changed files with 197 additions and 28 deletions

View File

@@ -33,6 +33,12 @@ endif
## 1 (default) : use C++ rewrite of bssn_rhs and helper kernels (faster)
## 0 : fall back to original Fortran kernels
USE_CXX_KERNELS ?= 1
## RK4 kernel implementation switch
## 1 (default) : use C/C++ rewrite of rungekutta4_rout (for optimization experiments)
## 0 : use original Fortran rungekutta4_rout.o
USE_CXX_RK4 ?= 1
f90 = ifx
f77 = ifx
CXX = icpx