Adds the ability to apply a floor to any scalar in the conserved array in Apply_Scalar_Floor.
The particular scalar the floor is applied to is specified using the field_num argument of Apply_Scalar_Floor, and should be specified with its grid_enum index.
Refactors the density, temperature, and scalar floor values to be set from the input parameter file.
Deletes the DENS_FLOOR and TEMP_FLOOR macros (the floors are instead stored in the Grid3D header as density_floor, temperature_floor, and scalar_floor).
Adds a unit test for Apply_Scalar_Floor.
Refactors where the scalar and temperature floor functions are called from based on Issue #362.
In summary, this PR:
Apply_Scalar_Floor
.field_num
argument ofApply_Scalar_Floor
, and should be specified with itsgrid_enum
index.DENS_FLOOR
andTEMP_FLOOR
macros (the floors are instead stored in the Grid3D header asdensity_floor
,temperature_floor
, andscalar_floor
).Apply_Scalar_Floor
.