Skip to content

Commit

Permalink
attempting to fix cpu build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigfried Haering committed Oct 15, 2024
1 parent 0af912b commit 20ad30a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/reaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion test/radiativeDecay.test
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 20ad30a

Please sign in to comment.