diff --git a/src/physics/convection.jl b/src/physics/convection.jl index 73b20ebae..0111a72b0 100644 --- a/src/physics/convection.jl +++ b/src/physics/convection.jl @@ -2,6 +2,7 @@ abstract type AbstractConvection <: AbstractParameterization end export NoConvection struct NoConvection <: AbstractConvection end +NoConvection(::SpectralGrid) = NoConvection() initialize!(::NoConvection, ::PrimitiveEquation) = nothing convection!(::ColumnVariables, ::NoConvection, ::PrimitiveEquation) = nothing diff --git a/test/convection.jl b/test/convection.jl index 71cf7c868..284145f6d 100644 --- a/test/convection.jl +++ b/test/convection.jl @@ -8,10 +8,14 @@ for Model in ( PrimitiveDryModel, PrimitiveWetModel) - convection = Convection(spectral_grid) - model = Model(;spectral_grid, convection) - simulation = initialize!(model) - run!(simulation, period=Day(5)) + # that combination is not defined + if ~(Convection == SimplifiedBettsMiller && Model == PrimitiveDryModel) + convection = Convection(spectral_grid) + model = Model(;spectral_grid, convection) + model.feedback.verbose = false + simulation = initialize!(model) + run!(simulation, period=Day(1)) + end end end end \ No newline at end of file