Skip to content

Commit

Permalink
Mini cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkestene committed Jun 23, 2024
1 parent 2947200 commit 7487daf
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/HydroParams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ HydroParams::setup(ConfigMap & configMap)

settings.gamma0 = configMap.getFloat("hydro", "gamma0", 1.4);
settings.cfl = configMap.getFloat("hydro", "cfl", 0.5);
settings.iorder = configMap.getInteger("hydro", "iorder", 2);
settings.slope_type = configMap.getFloat("hydro", "slope_type", 1.0);
settings.smallc = configMap.getFloat("hydro", "smallc", 1e-10);
settings.smallr = configMap.getFloat("hydro", "smallr", 1e-10);
Expand Down Expand Up @@ -187,7 +186,6 @@ HydroParams::print()
printf("smallr : %12.10f\n", settings.smallr);
printf("smallc : %12.10f\n", settings.smallc);
// printf( "niter_riemann : %d\n", niter_riemann);
printf("iorder : %d\n", settings.iorder);
printf("slope_type : %f\n", settings.slope_type);
printf("riemann : %d\n", riemannSolverType);
printf("problem : %d\n", problemType);
Expand Down
2 changes: 0 additions & 2 deletions src/HydroParams.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ struct HydroSettings
real_t gamma6;
real_t cfl; /*!< Courant-Friedrich-Lewy parameter.*/
real_t slope_type; /*!< type of slope computation (2 for second order scheme).*/
int iorder; /*!< */
real_t smallr; /*!< small density cut-off*/
real_t smallc; /*!< small speed of sound cut-off*/
real_t smallp; /*!< small pressure cut-off*/
Expand All @@ -118,7 +117,6 @@ struct HydroSettings
, gamma6(1.0)
, cfl(1.0)
, slope_type(2.0)
, iorder(1)
, smallr(1e-8)
, smallc(1e-8)
, smallp(1e-6)
Expand Down
1 change: 0 additions & 1 deletion src/test_blast.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ boundary_type_ymax=1
gamma0=1.666
cfl=0.8
niter_riemann=10
iorder=2
slope_type=2
problem=blast
riemann=hllc
Expand Down
1 change: 0 additions & 1 deletion src/test_blast_large.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ boundary_type_ymax=1
gamma0=1.666
cfl=0.8
niter_riemann=10
iorder=2
slope_type=2
problem=blast
riemann=hllc
Expand Down
1 change: 0 additions & 1 deletion src/test_discontinuity.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ ymax=1.0
gamma0=1.666
cfl=0.8
niter_riemann=10
iorder=2
slope_type=2
problem=discontinuity
riemann=hllc
Expand Down
1 change: 0 additions & 1 deletion src/test_four_quadrant.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ ymax=1.0
gamma0=1.666
cfl=0.8
niter_riemann=10
iorder=2
slope_type=2
problem=four_quadrant
riemann=hllc
Expand Down
1 change: 0 additions & 1 deletion src/test_implode.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ ymax=1.0
gamma0=1.666
cfl=0.8
niter_riemann=10
iorder=2
slope_type=2
problem=implode
riemann=hllc
Expand Down
1 change: 0 additions & 1 deletion src/test_implode_big.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ boundary_type_ymax=1
gamma0=1.666
cfl=0.8
niter_riemann=10
iorder=2
slope_type=2
problem=implode
riemann=hllc
Expand Down

0 comments on commit 7487daf

Please sign in to comment.