From 78ff136d2bf0afa8c9c97df6957f5eb520202156 Mon Sep 17 00:00:00 2001 From: Sigfried Haering Date: Mon, 14 Oct 2024 19:11:48 -0700 Subject: [PATCH] adding _GPU_ ifndef compile flag in reaction.cpp --- src/reaction.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/reaction.cpp b/src/reaction.cpp index 1297a540..3e3962e3 100644 --- a/src/reaction.cpp +++ b/src/reaction.cpp @@ -116,6 +116,7 @@ MFEM_HOST_DEVICE double GridFunctionReaction::computeRateCoefficient([[maybe_unu } } +#ifndef _GPU_ // Radiative decay portion: extracted from commit (de27f14) MFEM_HOST_DEVICE RadiativeDecay::RadiativeDecay(const double _R, const std::map *_speciesMapping, const std::vector *_speciesNames, const int *numSpecies, @@ -298,3 +299,4 @@ MFEM_HOST_DEVICE double RadiativeDecay::escapeFactCalc(const double &n_i, const return eta; } +#endif