From 99ba2d07f2740b5c674ed87bb80b42ff3c88a027 Mon Sep 17 00:00:00 2001 From: Sigfried Haering Date: Mon, 14 Oct 2024 22:28:49 -0700 Subject: [PATCH] trying to fix gpu errors --- src/reaction.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/reaction.cpp b/src/reaction.cpp index 57959794..ee4d0afb 100644 --- a/src/reaction.cpp +++ b/src/reaction.cpp @@ -304,10 +304,9 @@ MFEM_HOST_DEVICE double RadiativeDecay::escapeFactCalc(const double &n_i, const // 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, - const double *_reactantStoich, const double *_productStoich) - : Reaction(RADIATIVE_DECAY), Rcyl(_R) { + const double *_reactantStoich, const double *_productStoich) { +// : Reaction(RADIATIVE_DECAY), Rcyl(_R) { rank0_ = Mpi::Root(); - if (rank0_) { printf("Radiative decay not supported on GPU yet!"); }