Skip to content

Commit

Permalink
change enum OpacityModel to enum class OpacityModel
Browse files Browse the repository at this point in the history
  • Loading branch information
chongchonghe committed May 6, 2024
1 parent 1aa1d6a commit 926370c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/radiation_system.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static constexpr double inf = std::numeric_limits<double>::max();
static const bool use_wavespeed_correction = false;

// enum for opacity_model
enum OpacityModel {
enum class OpacityModel {
user = 0, // user-defined opacity for each group, given as a function of density and temperature.
piecewisePowerLaw // piecewise power-law opacity model with piecewise power-law fitting to a user-defined opacity function and on-the-fly piecewise
// power-law fitting to radiation energy density and flux.
Expand Down

0 comments on commit 926370c

Please sign in to comment.