Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigfried Haering committed Oct 15, 2024
1 parent daa796a commit a9c224f
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/reaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ 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<std::string, int> *_speciesMapping,
Expand Down Expand Up @@ -309,10 +308,9 @@ MFEM_HOST_DEVICE RadiativeDecay::RadiativeDecay(const double _R, const std::map<
: Reaction(RADIATIVE_DECAY), Rcyl(_R) {
rank0_ = Mpi::Root();

if (rank0_) {
printf("Radiative decay not supported on GPU yet!");
}

if (rank0_) {
printf("Radiative decay not supported on GPU yet!");
}
}

MFEM_HOST_DEVICE RadiativeDecay::~RadiativeDecay() {}
Expand All @@ -326,11 +324,9 @@ MFEM_HOST_DEVICE double RadiativeDecay::computeRateCoefficient(const double &T_h
}

MFEM_HOST_DEVICE void RadiativeDecay::GetNumDensityOfInteralLevels(const int NumOfInteral_lvl, const double &n_sp,
const double &T_e, double *n_sp_internal) {
}
const double &T_e, double *n_sp_internal) {}

MFEM_HOST_DEVICE void RadiativeDecay::GetEinsteinACoefficient(const double &T_h, const double &T_e, double *effAcoef) {
}
MFEM_HOST_DEVICE void RadiativeDecay::GetEinsteinACoefficient(const double &T_h, const double &T_e, double *effAcoef) {}

MFEM_HOST_DEVICE double RadiativeDecay::escapeFactCalc(const double &n_i, const double &E_j, const double &E_i,
const double &g_j, const double &g_i, const double &A_ji,
Expand Down

0 comments on commit a9c224f

Please sign in to comment.