Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
c7f4f88
implement changes to output heights at W2H and W0
tommbendall Jan 20, 2026
03640d9
implement ability to write out initial height fields
tommbendall Jan 20, 2026
2088318
pick up changes from heights_more branch
tommbendall Jan 20, 2026
078ccec
Fix fringe cases, and use a loop to simplify code
tommbendall Jan 20, 2026
8b4facd
Implement change to calculation of required stencil depth
tommbendall Jan 22, 2026
c02b717
hopefully fix issues and copy over KGOs
tommbendall Jan 22, 2026
7746a86
hopefully final fixes
tommbendall Jan 22, 2026
a398b2b
update all nml files and unit-tests
tommbendall Jan 22, 2026
69c5df4
deploy upgrade macro
tommbendall Jan 22, 2026
487faa6
keep Wchi for bubble tests
tommbendall Jan 22, 2026
f1d1cc5
these weren't picked up by upgrade macro
tommbendall Jan 22, 2026
3241a6b
fixes to solver and scintelapi
tommbendall Jan 23, 2026
bccbce2
remove workaround for vertical slice tests
tommbendall Jan 23, 2026
56ab18d
another contributor signing
tommbendall Jan 23, 2026
e860c12
copy over files from FCM
tommbendall Jan 23, 2026
25904f0
set other apps to use Wtheta, and fix remaining failures
tommbendall Jan 25, 2026
f8abde9
change coordinate settings for planar tests with issues
tommbendall Jan 26, 2026
d922052
Merge in dev branch
tommbendall Jan 26, 2026
3c9048d
update KGOs
tommbendall Jan 26, 2026
cfc3f16
increase TLM tolerance
tommbendall Jan 26, 2026
5114771
Merge branch 'TBendall/CoordSpace' into TBendall/TestCoordSpace
tommbendall Jan 26, 2026
4a8d200
increase tolerance again
tommbendall Jan 26, 2026
90331fa
Merge branch 'TBendall/CoordSpace' into TBendall/TestCoordSpace
tommbendall Jan 26, 2026
1496a19
Merge branch 'TBendall/StencilDepths' into TBendall/OrogPkg
tommbendall Jan 26, 2026
21a3733
Merge branch 'TBendall/TestCoordSpace' of github.com:tommbendall/lfri…
tommbendall Jan 26, 2026
cb0159e
Merge branch 'TBendall/TestCoordSpace' into TBendall/OrogPkg
tommbendall Jan 26, 2026
0015b23
replace Wchi in kernels
tommbendall Jan 26, 2026
5cb2966
Merge branch 'TBendall/CoordSpace' into TBendall/TestCoordSpace
tommbendall Jan 26, 2026
adb8c4f
Merge branch 'TBendall/TestCoordSpace' into TBendall/OrogPkg
tommbendall Jan 26, 2026
9509020
Merge branch 'TBendall/OrogPkg' into TBendall/HighOrderOrog
tommbendall Jan 26, 2026
2b1b95a
implement upgrade macro, and revert changes to surface_altitude_alg
tommbendall Jan 26, 2026
9f92412
roll out namelist changes to example nml files
tommbendall Jan 26, 2026
27e9ce8
alignment
tommbendall Jan 26, 2026
7ade22a
test tweak
tommbendall Jan 27, 2026
af5911d
Merge branch 'TBendall/CoordSpace' into TBendall/TestCoordSpace
tommbendall Jan 27, 2026
2188ef7
Merge branch 'TBendall/TestCoordSpace' into TBendall/OrogPkg
tommbendall Jan 27, 2026
9d770bf
fix change to argument list
tommbendall Jan 27, 2026
e9c11a9
copy over KGOs
tommbendall Jan 27, 2026
40cc87b
Merge branch 'TBendall/HeightsMore' into TBendall/OrogPkg
tommbendall Jan 27, 2026
7a93e2b
Merge branch 'TBendall/TestCoordSpace' into TBendall/OrogPkg
tommbendall Jan 27, 2026
590fe14
Merge branch 'TBendall/StencilDepths' into TBendall/OrogPkg
tommbendall Jan 27, 2026
bde49d0
Merge branch 'TBendall/OrogPkg' into TBendall/HighOrderOrog
tommbendall Jan 27, 2026
d111a2c
extended mesh can't use quadratic coords
tommbendall Jan 27, 2026
cfa0246
force update of various iodef files
tommbendall Jan 27, 2026
38d3462
Merge branch 'TBendall/HeightsMore' into TBendall/HighOrderOrog
tommbendall Jan 27, 2026
5423d49
restore setting
tommbendall Jan 28, 2026
ad9beeb
dependency
tommbendall Feb 20, 2026
7a5b941
copy across KGOs
tommbendall Feb 23, 2026
2e583db
Merge branch 'TBendall/vn3.0_height_continuous' into TBendall/CoordSpace
tommbendall Feb 23, 2026
facb817
Merge branch 'TBendall/CoordSpace' into TBendall/TestCoordSpace
tommbendall Feb 23, 2026
73d5f6c
update dependencies
tommbendall Feb 23, 2026
cb27127
update KGOs
tommbendall Feb 23, 2026
27061e0
Merge branch 'TBendall/HeightContinuous' into TBendall/CoordSpace
tommbendall Feb 23, 2026
ef28d0e
Merge branch 'TBendall/HeightContinuous' into TBendall/TestCoordSpace
tommbendall Feb 23, 2026
6168a27
adjust tolerance and fix mol test
tommbendall Feb 23, 2026
2b541de
Merge branch 'TBendall/CoordSpace' into TBendall/TestCoordSpace
tommbendall Feb 23, 2026
1a29c56
update KGOs. Generally working but a couple of failing tests
tommbendall Mar 2, 2026
f72224c
Merge branch 'TBendall/TestCoordSpace' into TBendall/HighOrderOrog
tommbendall Mar 2, 2026
42989a1
fix multigrid mapping of orography
tommbendall Mar 2, 2026
a3d1894
get panel edge coords function space from chi
tommbendall Mar 3, 2026
3d53b0c
Main to Stable 2026.03.1 (#315)
james-bruten-mo Mar 3, 2026
0b1651e
Bugfix for linear upgrade macro (#347)
james-bruten-mo Mar 9, 2026
4a7b1fc
Merge pull request #5 from MetOffice/stable
tommbendall Mar 9, 2026
8a1b7f0
Merge remote-tracking branch 'origin/stable' into TBendall/HeightCont…
tommbendall Mar 9, 2026
e75b2da
update all KGOs
tommbendall Mar 9, 2026
6bd9032
restore missing KGOs
tommbendall Mar 10, 2026
ab14876
Merge branch 'TBendall/HeightContinuous' into TBendall/CoordSpace
tommbendall Mar 10, 2026
13c4d6f
attempt to fix coordinate-based LAM boundaries with Wtheta coord space
tommbendall Mar 10, 2026
54a8b6b
deploy upgrade macro
tommbendall Mar 10, 2026
780993d
fix silly indexing error
tommbendall Mar 10, 2026
b8c7192
Merge branch 'TBendall/CoordSpace' into TBendall/TestCoordSpace
tommbendall Mar 10, 2026
3f625aa
fix mol lfric_atm test
tommbendall Mar 10, 2026
7c3bf0e
update KGOs
tommbendall Mar 11, 2026
71347bb
Merge branch 'TBendall/CoordSpace' into TBendall/TestCoordSpace
tommbendall Mar 11, 2026
106c455
tweak linear integration test configs
tommbendall Mar 11, 2026
83325c4
Merge branch 'TBendall/CoordSpace' into TBendall/TestCoordSpace
tommbendall Mar 11, 2026
b3f2606
KGOs for MoL test
tommbendall Mar 11, 2026
072c710
attempt to fix KGO changes
tommbendall Mar 11, 2026
308a184
Merge branch 'TBendall/CoordSpace' into TBendall/TestCoordSpace
tommbendall Mar 11, 2026
a22fd6d
reset all KGOs
tommbendall Mar 12, 2026
32dcbbc
settings changes
tommbendall Mar 12, 2026
d27c1f3
Merge branch 'TBendall/CoordSpace' into TBendall/TestCoordSpace
tommbendall Mar 12, 2026
380224b
put check to prevent issues with smp_init_wind
tommbendall Mar 12, 2026
94a691f
Merge branch 'TBendall/CoordSpace' into TBendall/TestCoordSpace
tommbendall Mar 12, 2026
605f77c
copy over KGOs
tommbendall Mar 12, 2026
33ab770
Merge branch 'TBendall/TestCoordSpace' into TBendall/HighOrderOrog
tommbendall Mar 13, 2026
0be88b7
address smp_init_wind problem directly
tommbendall Mar 13, 2026
b4c8803
Merge branch 'TBendall/CoordSpace' into TBendall/TestCoordSpace
tommbendall Mar 13, 2026
886d464
remove Wchi from various gungho tests
tommbendall Mar 13, 2026
92522f1
Merge branch 'TBendall/CoordSpace' into TBendall/TestCoordSpace
tommbendall Mar 13, 2026
0e31c18
fix unit-test
tommbendall Mar 13, 2026
a8b660a
Merge branch 'TBendall/CoordSpace' into TBendall/TestCoordSpace
tommbendall Mar 13, 2026
0663754
fix index
tommbendall Mar 13, 2026
933d389
Merge branch 'TBendall/CoordSpace' into TBendall/TestCoordSpace
tommbendall Mar 13, 2026
871c5ce
update KGOs
tommbendall Mar 13, 2026
fb4f66c
Merge branch 'TBendall/TestCoordSpace' into TBendall/HighOrderOrog
tommbendall Mar 13, 2026
c9b18a4
ensure that panel edge remapping should also work with Wtheta coord
tommbendall Mar 13, 2026
0ba3453
Merge branch 'TBendall/CoordSpace' into TBendall/TestCoordSpace
tommbendall Mar 13, 2026
242c2a0
Merge branch 'TBendall/TestCoordSpace' into TBendall/HighOrderOrog
tommbendall Mar 13, 2026
d06bbf5
tidying up compared with base mesh
tommbendall Mar 13, 2026
da29fa8
fix unit-test
tommbendall Mar 13, 2026
c0d5cd5
Merge branch 'TBendall/CoordSpace' into TBendall/TestCoordSpace
tommbendall Mar 13, 2026
99efd58
Merge branch 'TBendall/TestCoordSpace' into TBendall/HighOrderOrog
tommbendall Mar 13, 2026
ac222b3
fix variable name
tommbendall Mar 13, 2026
b21aa99
fix merge error
tommbendall Mar 13, 2026
727a2f7
linear config files
tommbendall Mar 14, 2026
bd36881
change default settings
tommbendall Mar 14, 2026
82ee7f3
avoid changing contributors file
tommbendall Mar 14, 2026
415c5c1
Merge branch 'TBendall/CoordSpace' into TBendall/TestCoordSpace
tommbendall Mar 14, 2026
20fdede
Merge branch 'TBendall/TestCoordSpace' into TBendall/HighOrderOrog
tommbendall Mar 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 6 additions & 3 deletions applications/adjoint_tests/example/configuration.nml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ start_dump_filename='final_pert',
/
&finite_element
cellshape='quadrilateral',
coord_order=1,
coord_order=2,
coord_order_multigrid=1,
coord_space='Wchi',
coord_system='native',
element_order_h=0,
element_order_v=0,
Expand Down Expand Up @@ -155,11 +157,9 @@ init_option='fd_start_dump',
lbc_option='none',
ls_option='file',
model_eos_height=100,
n_orog_smooth=0,
read_w2h_wind=.true.,
sea_ice_source='ancillary',
snow_source='start_dump',
w0_orography_mapping=.false.,
zero_w2v_wind=.false.,
/
&initial_density
Expand Down Expand Up @@ -277,6 +277,9 @@ l_esm_couple_test=.false.,
/
&orography
orog_init_option='ancil',
orography_order=2,
n_orog_smooth=0,
w0_multigrid_mapping=.true.
/
&partitioning
generate_inner_halos=.false.,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def upgrade(self, config, meta_config=None):
".true.",
)
self.add_setting(
config, ["namelist:linear_physics", "Blevs_m"], "15"
config, ["namelist:linear_physics", "blevs_m"], "15"
)
self.add_setting(
config, ["namelist:linear_physics", "e_folding_levs_m"], "10"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,26 @@ def upgrade(self, config, meta_config=None):
# Add settings
return config, self.reports
"""


class vn31_t238(MacroUpgrade):
"""Upgrade macro for ticket #238 by Thomas Bendall."""

BEFORE_TAG = "vn3.1"
AFTER_TAG = "vn3.1_t238"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-driver
self.add_setting(
config, ["namelist:finite_element", "coord_space"], "'Wchi'"
)
coord_order = self.get_setting_value(
config, ["namelist:finite_element", "coord_order"]
)
self.add_setting(
config,
["namelist:finite_element", "coord_order_multigrid"],
coord_order,
)

return config, self.reports
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module atlt_bl_inc_alg_mod
use tl_bl_inc_kernel_mod, only : tl_bl_inc_kernel_type
use atl_bl_inc_kernel_mod, only : atl_bl_inc_kernel_type
use linear_physics_config_mod, only : log_layer, &
Blevs_m, &
blevs_m, &
e_folding_levs_m, &
u_land_m, &
u_sea_m, &
Expand Down Expand Up @@ -130,7 +130,7 @@ module atlt_bl_inc_alg_mod
auv,buv_inv, &
face_selector_ew, &
face_selector_ns, &
Blevs_m ) )
blevs_m ) )
call invoke ( x_innerproduct_x( ip1(1), u_inc ), &
x_innerproduct_x( ip1(2), u ) )

Expand All @@ -151,7 +151,7 @@ module atlt_bl_inc_alg_mod
auv,buv_inv, &
face_selector_ew, &
face_selector_ns, &
Blevs_m ) )
blevs_m ) )

call invoke ( x_innerproduct_y( ip2(1), u_inc, u_inc_input ), &
x_innerproduct_y( ip2(2), u, u_input ) )
Expand Down
2 changes: 2 additions & 0 deletions applications/gravity_wave/example/configuration.nml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ start_dump_filename = ''
&finite_element
cellshape = 'quadrilateral'
coord_order = 1
coord_order_multigrid = 1,
coord_space = 'Wchi',
coord_system = 'native'
element_order_h = 0
element_order_v = 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,26 @@ def upgrade(self, config, meta_config=None):
# Add settings
return config, self.reports
"""


class vn31_t238(MacroUpgrade):
"""Upgrade macro for ticket #238 by Thomas Bendall."""

BEFORE_TAG = "vn3.1"
AFTER_TAG = "vn3.1_t238"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-driver
self.add_setting(
config, ["namelist:finite_element", "coord_space"], "'Wchi'"
)
coord_order = self.get_setting_value(
config, ["namelist:finite_element", "coord_order"]
)
self.add_setting(
config,
["namelist:finite_element", "coord_order_multigrid"],
coord_order,
)

return config, self.reports
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ contains
subroutine setUp( this )

use finite_element_config_mod, only: cellshape_quadrilateral, &
coord_system_xyz
coord_system_xyz, coord_space_wchi
use feign_config_mod, only: feign_finite_element_config

implicit none
Expand All @@ -42,6 +42,8 @@ contains
cellshape=cellshape_quadrilateral, &
coord_order=0_i_def, &
coord_system=coord_system_xyz, &
coord_order_multigrid=1_i_def, &
coord_space=coord_space_wchi, &
element_order_h=1_i_def, &
element_order_v=1_i_def, &
rehabilitate=.true., &
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ contains
stretching_method_linear
use sci_chi_transform_mod, only : init_chi_transforms
use finite_element_config_mod, only : cellshape_quadrilateral, &
coord_system_xyz
coord_system_xyz, coord_space_wchi
use feign_config_mod, only : feign_base_mesh_config, &
feign_extrusion_config, &
feign_finite_element_config, &
Expand Down Expand Up @@ -60,6 +60,8 @@ contains
call feign_finite_element_config( &
cellshape=cellshape_quadrilateral, &
coord_order=0_i_def, &
coord_order_multigrid=1_i_def, &
coord_space=coord_space_wchi, &
coord_system=coord_system_xyz, &
element_order_h=0_i_def, &
element_order_v=0_i_def, &
Expand Down
9 changes: 6 additions & 3 deletions applications/gungho_model/example/configuration.nml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ start_dump_filename='',
/
&finite_element
cellshape='quadrilateral',
coord_order=1,
coord_order=2,
coord_order_multigrid=1,
coord_space='Wtheta',
coord_system='native',
element_order_h=0,
element_order_v=0,
Expand Down Expand Up @@ -113,11 +115,9 @@ coarse_ozone_ancil=.false.,
init_option='analytic',
lbc_option='none',
ls_option='none',
n_orog_smooth=0,
read_w2h_wind=.false.,
sea_ice_source='ancillary',
snow_source='start_dump',
w0_orography_mapping=.false.,
zero_w2v_wind=.false.,
/
&initial_density
Expand Down Expand Up @@ -211,6 +211,9 @@ l_esm_couple_test=.false.,
/
&orography
orog_init_option='none',
orography_order=2,
n_orog_smooth=0,
w0_multigrid_mapping=.true.
/
&partitioning
panel_decomposition='auto',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ lbc_filename='',
&finite_element
cellshape='quadrilateral',
coord_order=1,
coord_order_multigrid=1,
coord_space='Wtheta',
coord_system='native',
element_order_h=0,
element_order_v=0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ lbc_filename='lbc',
&finite_element
cellshape='quadrilateral',
coord_order=1,
coord_order_multigrid=1,
coord_space='Wtheta',
coord_system='native',
element_order_h=0,
element_order_v=0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ lbc_filename='',
&finite_element
cellshape='quadrilateral',
coord_order=1,
coord_order_multigrid=1,
coord_space='Wtheta',
coord_system='native',
element_order_h=0,
element_order_v=0,
Expand Down
2 changes: 2 additions & 0 deletions applications/gungho_model/lam_example/straka/config_lam.nml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ lbc_filename='lbc',
&finite_element
cellshape='quadrilateral',
coord_order=1,
coord_order_multigrid=1,
coord_space='Wtheta',
coord_system='native',
element_order_h=0,
element_order_v=0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,26 @@ def upgrade(self, config, meta_config=None):
# Add settings
return config, self.reports
"""


class vn31_t238(MacroUpgrade):
"""Upgrade macro for ticket #238 by Thomas Bendall."""

BEFORE_TAG = "vn3.1"
AFTER_TAG = "vn3.1_t238"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-driver
self.add_setting(
config, ["namelist:finite_element", "coord_space"], "'Wchi'"
)
coord_order = self.get_setting_value(
config, ["namelist:finite_element", "coord_order"]
)
self.add_setting(
config,
["namelist:finite_element", "coord_order_multigrid"],
coord_order,
)

return config, self.reports
9 changes: 6 additions & 3 deletions applications/jedi_lfric_tests/example/configuration.nml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ start_dump_filename='final_pert',
/
&finite_element
cellshape='quadrilateral',
coord_order=1,
coord_order=2,
coord_system='native',
coord_order_multigrid=1,
coord_space='Wchi',
element_order_h=0,
element_order_v=0,
rehabilitate=.true.,
Expand Down Expand Up @@ -155,11 +157,9 @@ init_option='fd_start_dump',
lbc_option='none',
ls_option='file',
model_eos_height=100,
n_orog_smooth=0,
read_w2h_wind=.true.,
sea_ice_source='ancillary',
snow_source='start_dump',
w0_orography_mapping=.false.,
zero_w2v_wind=.false.,
/
&initial_density
Expand Down Expand Up @@ -266,6 +266,9 @@ l_esm_couple_test=.false.,
/
&orography
orog_init_option='ancil',
orography_order=2,
n_orog_smooth=0,
w0_multigrid_mapping=.true.
/
&partitioning
generate_inner_halos=.false.,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ start_dump_filename='',
/
&finite_element
cellshape='quadrilateral',
coord_order=1,
coord_order=2,
coord_order_multigrid=1,
coord_space='Wchi',
coord_system='native',
element_order_h=0,
element_order_v=0,
Expand Down Expand Up @@ -144,11 +146,9 @@ coarse_ozone_ancil=.false.,
init_option='analytic',
lbc_option='none',
ls_option='none',
n_orog_smooth=0,
read_w2h_wind=.false.,
sea_ice_source='ancillary',
snow_source='start_dump',
w0_orography_mapping=.false.,
zero_w2v_wind=.false.,
/
&initial_density
Expand Down Expand Up @@ -232,6 +232,9 @@ l_esm_couple_test=.false.,
/
&orography
orog_init_option='none',
orography_order=2,
n_orog_smooth=0,
w0_multigrid_mapping=.true.
/
&partitioning
panel_decomposition='auto',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ stretching_method='smooth',
&finite_element
cellshape='quadrilateral',
coord_order=1,
coord_order_multigrid=1,
coord_space='Wchi',
coord_system='native',
element_order_h=0,
element_order_v=0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ stretching_method='smooth',
&finite_element
cellshape='quadrilateral',
coord_order=1,
coord_order_multigrid=1,
coord_space='Wchi',
coord_system='native',
element_order_h=0,
element_order_v=0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ start_dump_filename='',
/
&finite_element
cellshape='quadrilateral',
coord_order=1,
coord_order=2,
coord_order_multigrid=1,
coord_space='Wchi',
coord_system='native',
element_order_h=0,
element_order_v=0,
Expand Down Expand Up @@ -188,11 +190,9 @@ coarse_ozone_ancil=.false.,
init_option='analytic',
lbc_option='none',
ls_option='analytic',
n_orog_smooth=0,
read_w2h_wind=.true.,
sea_ice_source='ancillary',
snow_source='start_dump',
w0_orography_mapping=.false.,
zero_w2v_wind=.false.,
/
&initial_density
Expand Down Expand Up @@ -310,6 +310,9 @@ l_esm_couple_test=.false.,
/
&orography
orog_init_option='ancil',
orography_order=2,
n_orog_smooth=0,
w0_multigrid_mapping=.true.
/
&partitioning
generate_inner_halos=.false.,
Expand Down
Loading