From 20ad30aa8d8299fbc09c0c7efc53de9b6cece016 Mon Sep 17 00:00:00 2001 From: Sigfried Haering Date: Mon, 14 Oct 2024 19:01:24 -0700 Subject: [PATCH] attempting to fix cpu build errors --- src/reaction.cpp | 4 +++- test/radiativeDecay.test | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/reaction.cpp b/src/reaction.cpp index b2eb1574..1297a540 100644 --- a/src/reaction.cpp +++ b/src/reaction.cpp @@ -176,7 +176,9 @@ MFEM_HOST_DEVICE RadiativeDecay::RadiativeDecay(const double _R, const std::map< Aji = &Aji_4p_r; } else { - if (rank0_) std::cout << " Species " << upper_sp_name.c_str() << " not recognized for this reactive. " << std::endl; + if (rank0_) { + printf("Specified radiative reaction no supported!"); + } MPI_Barrier(MPI_COMM_WORLD); assert(false); } diff --git a/test/radiativeDecay.test b/test/radiativeDecay.test index 2b80c723..eeaa2e0b 100755 --- a/test/radiativeDecay.test +++ b/test/radiativeDecay.test @@ -25,5 +25,5 @@ setup() { @test "[$TEST] verify tps output with input -> $RUNFILE" { test -s $SOLN_FILE test -s $REF_FILE - h5diff -r --delta=1e-10 $SOLN_FILE $REF_FILE /species + h5diff -r --delta=1e-8 $SOLN_FILE $REF_FILE /species }