Skip to content

Commit

Permalink
add stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
simone-silvestri committed Jan 23, 2025
1 parent f0e4273 commit d68b98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BuoyancyFormulations/buoyancy_force.jl
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Adapt.adapt_structure(to, bf::BuoyancyForce) =
@inline top_buoyancy_flux(i, j, grid, b::BuoyancyForce, args...) = top_buoyancy_flux(i, j, grid, b.formulation, args...)

regularize_buoyancy(bf, grid; kw...) = bf
regularize_buoyancy(formulation::AbstractBuoyancyFormulation, grid; kw...) = BuoyancyForce(grid; formulation; kw...)
regularize_buoyancy(formulation::AbstractBuoyancyFormulation, grid; kw...) = BuoyancyForce(grid; formulation, kw...)

# Fallback
compute_buoyancy_gradients!(::BuoyancyForce{<:Any, <:Any, <:Nothing}, grid, tracers; kw...) = nothing
Expand Down

0 comments on commit d68b98b

Please sign in to comment.