Add switchable C RK4 kernel and build toggle

This commit is contained in:
2026-02-28 21:12:19 +08:00
parent e29ca2dca9
commit b91cfff301
3 changed files with 179 additions and 10 deletions

View File

@@ -47,6 +47,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