File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,10 +62,7 @@ template <> struct RadSystem_Traits<PhotoionizationStreamingProblem> {
6262 static constexpr double c_hat_over_c = chat / c;
6363 static constexpr double Erad_floor = 0.0 ;
6464 static constexpr int beta_order = 0 ;
65- static constexpr amrex::GpuArray<double , NumChemBands + 1 > ChemBands ()
66- {
67- return ChemBandsHeader_;
68- }
65+ static constexpr amrex::GpuArray<double , NumChemBands + 1 > ChemBands () { return ChemBandsHeader_; }
6966};
7067
7168template <> struct SimulationData <PhotoionizationStreamingProblem> {
@@ -409,9 +406,8 @@ auto problem_main() -> int
409406 matplotlibcpp::ylabel (" number density (cm^-3)" );
410407 matplotlibcpp::legend ();
411408 matplotlibcpp::tight_layout ();
412- const std::string species_plot_filename = (energy_switch == 0 )
413- ? " ./photoionization_species_no_energy.pdf"
414- : " ./photoionization_species_with_energy.pdf" ;
409+ const std::string species_plot_filename =
410+ (energy_switch == 0 ) ? " ./photoionization_species_no_energy.pdf" : " ./photoionization_species_with_energy.pdf" ;
415411 matplotlibcpp::save (species_plot_filename);
416412
417413 if (energy_switch == 1 ) {
Original file line number Diff line number Diff line change @@ -62,10 +62,7 @@ template <> struct RadSystem_Traits<StromgrenSphere> {
6262 static constexpr double c_hat_over_c = c_hat / C::c_light;
6363 static constexpr double Erad_floor = 1e-99 ;
6464 static constexpr int beta_order = 0 ;
65- static constexpr amrex::GpuArray<double , NumChemBands + 1 > ChemBands ()
66- {
67- return ChemBandsHeader_;
68- }
65+ static constexpr amrex::GpuArray<double , NumChemBands + 1 > ChemBands () { return ChemBandsHeader_; }
6966};
7067
7168template <>
You can’t perform that action at this time.
0 commit comments