Skip to content

Commit

Permalink
renaming source term
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoArtiano committed Sep 23, 2024
1 parent 04c304d commit 12931b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/elixir_potential_euler_dry_bubble.jl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ mesh = StructuredMesh(cells_per_dimension, coordinates_min, coordinates_max,
initial_condition = initial_condition_warm_bubble

semi = SemidiscretizationHyperbolic(mesh, equations, initial_condition, solver,
source_terms = source_terms_bubble,
source_terms = source_terms_gravity,
boundary_conditions = boundary_conditions)

###############################################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ end
return boundary_flux
end

@inline function source_terms_bubble(u, x, t,
@inline function source_terms_gravity(u, x, t,
equations::CompressibleEulerPotentialTemperatureEquations2D)
rho, _, _, _ = u
return SVector(zero(eltype(u)), zero(eltype(u)), -equations.g * rho,
Expand Down

0 comments on commit 12931b8

Please sign in to comment.