covariant_fv_gradient_latlon_t1

Family
finite_volume
Grid family
latlon
Kind
scheme
Accuracy
O(h^2)
Applies to
grad($u), dim=t1
Rule file
discretizations/finite_volume/covariant_fv_gradient_latlon.json
This page is auto-generated from the rule's JSON by tools/render_doc_plots.py. The discrete operator below is pretty-printed directly from the rule's replacement AST using EarthSciSerialization (earthsci_toolkit). Rules with a hand-authored page carry richer prose plus stencil and convergence diagrams; see the curated entries linked from the rule index.

Pattern

Matches the §4.2 operator grad on the pattern grad($u), dim=t1 for grid family latlon.

Discrete operator

Pretty-printed from the rule’s replacement AST ($-prefixed names are pattern variables bound by applies_to; grid metrics such as dx/dz are resolved by the grid):

index(dxi_dt1, lat, lon)·(index($u, lat, lon + 1) − index($u, lat, lon + −1))/(2·dlon) + index(deta_dt1, lat, lon)·(index($u, lat + 1, lon) − index($u, lat + −1, lon))/(2·dlat)

Source: discretizations/finite_volume/covariant_fv_gradient_latlon.json.