Skip to content

Tr/rm bcs - #2521

Open
imreddyTeja wants to merge 20 commits into
mainfrom
tr/rm-bcs
Open

Tr/rm bcs#2521
imreddyTeja wants to merge 20 commits into
mainfrom
tr/rm-bcs

Conversation

@imreddyTeja

@imreddyTeja imreddyTeja commented Jun 2, 2026

Copy link
Copy Markdown
Member
  • Removed SetValue from GradientC2F, DivergenceC2F, CurlC2F, UpwindBiasedProductC2F
  • Removed SetGradient from InterpolateC2F and WeightedInterpolateC2F
  • Removed AdvectionC2C, AdvectionF2F, FluxCorrectionF2F, and FluxCorrectionC2C operators

The step example is now merged with the advection example.

TODO: Add a compat for ClimaCore to KinematicDrivers.jl

  • Code follows the style guidelines OR N/A.
  • Unit tests are included OR N/A.
  • Code is exercised in an integration test OR N/A.
  • Documentation has been added/updated OR N/A.

@imreddyTeja
imreddyTeja force-pushed the tr/rm-bcs branch 6 times, most recently from 3cbaec7 to 5cba998 Compare June 3, 2026 18:27
@imreddyTeja
imreddyTeja force-pushed the tr/rm-bcs branch 2 times, most recently from d7d5be8 to b7adf2d Compare June 10, 2026 22:44
@imreddyTeja
imreddyTeja force-pushed the tr/rm-bcs branch 3 times, most recently from e5a117d to 19ac42c Compare June 17, 2026 23:12
@imreddyTeja
imreddyTeja marked this pull request as ready for review June 17, 2026 23:15
@akshaysridhar

Copy link
Copy Markdown
Member

Thanks @imreddyTeja. I looked over the artifacts (and updated docstrings) in the examples/column and hybrid/plane + box sections the outcomes are reasonable. @dennisYatunin can comment on the operator_matrices.jl changes. BorisBook FCT operators are not used anywhere in ClimaAtmos.jl. FluxCorrection<> ops are also unused in ClimaAtmos.jl - the related examples (density current / rising bubble) could be written with prescribed constant diffusion to simplify them if needed.

@tapios tapios mentioned this pull request Jul 24, 2026
37 tasks
imreddyTeja and others added 2 commits July 30, 2026 14:36
The reference values in the "Replacements for removed operators and
boundary conditions" testset are built with scalar indexing, so extract
the data they are built from (and the results they are compared
against) on the CPU.

Also apply the biased operators to `ᶠlg.J` rather than to `ᶠlg`: the GPU
compiles the never-taken `NullBoundaryCondition` branch of the stencil,
which multiplies by `NaN` and so cannot handle a `LocalGeometry`
element type.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xn8GWgn2mufFccq5MMKPCS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants