Skip to content

Commit

Permalink
Fixed names of stencils used in repeated_stencils test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikael Stellio committed Mar 22, 2024
1 parent 0f09d79 commit a7dd889
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def _apply_nabla2_to_vn_in_lateral_boundary(
vn: Field[[EdgeDim, KDim], wpfloat],
fac_bdydiff_v: wpfloat,
) -> Field[[EdgeDim, KDim], wpfloat]:
"""Formerly known as mo_nh_diffusion_stencil_06."""
vn_wp = vn + (area_edge * fac_bdydiff_v * z_nabla2_e)
return vn_wp

Expand Down
4 changes: 2 additions & 2 deletions tools/tests/liskov/test_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,11 @@ def test_directive_semantics_validation_repeated_directives(make_f90_tmpfile, di
[
(
SINGLE_STENCIL_WITH_COMMENTS,
"!$DSL START STENCIL(name=mo_nh_diffusion_stencil_06)\n!$DSL END STENCIL(name=mo_nh_diffusion_stencil_06)",
"!$DSL START STENCIL(name=apply_nabla2_to_vn_in_lateral_boundary)\n!$DSL END STENCIL(name=apply_nabla2_to_vn_in_lateral_boundary)",
),
(
SINGLE_FUSED,
"!$DSL START FUSED STENCIL(name=mo_nh_diffusion_stencil_06)\n!$DSL END FUSED STENCIL(name=mo_nh_diffusion_stencil_06)",
"!$DSL START FUSED STENCIL(name=calculate_diagnostic_quantities_for_turbulence)\n!$DSL END FUSED STENCIL(name=calculate_diagnostic_quantities_for_turbulence)",
),
],
)
Expand Down

0 comments on commit a7dd889

Please sign in to comment.