Skip to content

Commit

Permalink
fix the missing symbol issue in these stencils
Browse files Browse the repository at this point in the history
  • Loading branch information
Xingqiu.Yuan authored and Xingqiu.Yuan committed Aug 9, 2024
1 parent 595c3c8 commit f2c843e
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 f2c843e

Please sign in to comment.