aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl18
1 files changed, 14 insertions, 4 deletions
diff --git a/schedule.ccl b/schedule.ccl
index f1cfe7a..5e08cfb 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -893,11 +893,21 @@ if (CCTK_Equals(method_type, "RSA FV"))
if (CCTK_Equals(GRHydro_eos_type,"General")) {
- schedule Reconstruction IN FluxTerms AS Reconstruct
- {
- LANG: Fortran
- } "Reconstruct the functions at the cell boundaries"
+ if (use_cxx_code) {
+
+ schedule Reconstruction_cxx IN FluxTerms AS Reconstruct
+ {
+ LANG: C
+ } "Reconstruct the functions at the cell boundaries"
+ } else {
+
+ schedule Reconstruction IN FluxTerms AS Reconstruct
+ {
+ LANG: Fortran
+ } "Reconstruct the functions at the cell boundaries"
+
+ }
}
else if (CCTK_Equals(GRHydro_eos_type,"Polytype")) {