Skip to content

Commit

Permalink
Merge pull request #26 from xyuan/xyuan/symbol
Browse files Browse the repository at this point in the history
fix the missing symbol issue in stencils with scalar arguments
  • Loading branch information
fmalatino authored Sep 9, 2024
2 parents e49917d + 2fed07b commit c489bb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyFV3/stencils/delnflux.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,12 +611,14 @@ def __init__(
externals={**corner_axis_offsets},
origin=corner_origin,
domain=corner_domain,
skip_passes=("UnreachableStmtPruning",),
)
self._copy_corners_y_nord = stencil_factory.from_origin_domain(
copy_corners_y_nord,
externals={**corner_axis_offsets},
origin=corner_origin,
domain=corner_domain,
skip_passes=("UnreachableStmtPruning",),
)

def __call__(self, q, fx2, fy2, damp_c, d2, mass=None):
Expand Down
1 change: 1 addition & 0 deletions pyFV3/stencils/divergence_damping.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ def __init__(
func=corners.fill_corners_dgrid_defn,
compute_dims=[X_INTERFACE_DIM, Y_INTERFACE_DIM, Z_DIM],
compute_halos=(self.grid_indexing.n_halo, self.grid_indexing.n_halo),
skip_passes=("UnreachableStmtPruning",),
)

self._redo_divg_d_stencils = get_stencils_with_varied_bounds(
Expand Down

0 comments on commit c489bb5

Please sign in to comment.