Skip to content

Commit

Permalink
Merge branch 'development' into metgrid_interpolator
Browse files Browse the repository at this point in the history
  • Loading branch information
AMLattanzi authored Nov 27, 2024
2 parents 5e7449b + df4b7ce commit 8d8b5af
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Source/DataStructs/ERF_DataStruct.H
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ struct SolverChoice {

// Is the terrain none, static or moving?
pp.query_enum_case_insensitive("terrain_type",terrain_type);
int n_zlevels = pp.countval("terrain_z_levels");
if (n_zlevels > 0 and terrain_type == TerrainType::None)
{
terrain_type = TerrainType::Static;
}

// Use lagged_delta_rt in the fast integrator?
pp.query("use_lagged_delta_rt", use_lagged_delta_rt);
Expand Down

0 comments on commit 8d8b5af

Please sign in to comment.