Skip to content

Commit

Permalink
lateral flow defaults to false in energy hydrology
Browse files Browse the repository at this point in the history
  • Loading branch information
kmdeck committed Aug 19, 2024
1 parent ffdef8b commit e95293f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/standalone/Soil/energy_hydrology.jl
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ end
domain::D,
boundary_conditions::NamedTuple,
sources::Tuple,
lateral_flow::Bool = true
lateral_flow::Bool = false
) where {FT, D, PS}
A constructor for a `EnergyHydrology` model, which sets the default value
Expand All @@ -127,8 +127,9 @@ function EnergyHydrology{FT}(;
domain::D,
boundary_conditions::NamedTuple,
sources::Tuple,
lateral_flow::Bool = true,
lateral_flow::Bool = false,
) where {FT, D, PSE}
@assert !lateral_flow
top_bc = boundary_conditions.top
if typeof(top_bc) <: AtmosDrivenFluxBC
# If the top BC indicates atmospheric conditions are driving the model
Expand Down

0 comments on commit e95293f

Please sign in to comment.