Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
e9bdaf4
Progress save
mo-rickywong Mar 17, 2026
bb966f5
Remove global config from init_fem and surrounding code
mo-rickywong Mar 20, 2026
eff9a44
Merge branch 'main' into RmGlobalCfg_Init_fem
mo-rickywong Mar 20, 2026
15b9dda
Commit changes that mean this branch is clear of chi_tranform_mod
mo-rickywong Mar 20, 2026
d55e7c2
Merge branch 'main' into RmGlobalCfg_driver_pt1
mo-rickywong Mar 20, 2026
4becb8b
Merge branch 'RmGlobalCfg_driver_pt1' into RmGlobalCfg_Init_fem
mo-rickywong Mar 21, 2026
27de4c4
Clean out rest of driver
mo-rickywong Mar 22, 2026
4259432
Update multitile provision
mo-rickywong Mar 23, 2026
97a85fe
Update
mo-rickywong Mar 24, 2026
05e0850
Add a newer version of gemoetric constants
mo-rickywong Mar 25, 2026
df1eecc
Reverting file back to original on main
mo-rickywong Mar 25, 2026
7869db7
Need an unaltered compute latlon
mo-rickywong Mar 25, 2026
a019544
Revert old compute latlon
mo-rickywong Mar 25, 2026
131f7fc
Duplicate more
mo-rickywong Mar 25, 2026
bffc6d9
duplicate chi_transform
mo-rickywong Mar 25, 2026
a9ed9e1
update
mo-rickywong Mar 25, 2026
d57f71a
test for new files
mo-rickywong Mar 25, 2026
827e6e1
new files
mo-rickywong Mar 25, 2026
3951a00
update
mo-rickywong Mar 26, 2026
7dd12a7
Getting it back to before
mo-rickywong Mar 26, 2026
f08b803
Pass args, not config_type
mo-rickywong Mar 26, 2026
da8ece9
Merge branch 'main' into RmGlobalCfg_CoreDriver
mo-rickywong Mar 26, 2026
98f849f
Updates
mo-rickywong Mar 31, 2026
e560f49
updates
mo-rickywong Mar 31, 2026
41c3151
Updates
mo-rickywong Apr 1, 2026
33172d9
Merge branch 'main' into RmGlobalCfg_CoreDriver
mo-rickywong Apr 1, 2026
c1220e0
Tidy up and don't pass config type to initialise lfrix-xios as it wil…
mo-rickywong Apr 2, 2026
e1396eb
Passing geometry and toplogy as lfric2lfric may not be using base mesh
mo-rickywong Apr 3, 2026
05d8bc1
Merge branch 'main' into RmGlobalCfg_CoreDriver
mo-rickywong Apr 21, 2026
c3cbd14
Some tidy up, doxygen comments
mo-rickywong Apr 22, 2026
515f892
Remove this accidental commit
mo-rickywong Apr 22, 2026
d4f8af7
Update doxygen comments
mo-rickywong Apr 23, 2026
135eaff
Merge branch 'main' into RmGlobalCfg_CoreDriver
mo-rickywong Apr 23, 2026
71ebba6
Add in update macros
mo-rickywong Apr 29, 2026
6d2589c
Update rose stem to pre-macro state
mo-rickywong Apr 29, 2026
e740180
Add some kinds
mo-rickywong Apr 29, 2026
c68bc2b
Change the version on apps so the upgrade macros will work
mo-rickywong Apr 29, 2026
781111b
Fix existing issues on trunk cause update macro failures
mo-rickywong Apr 29, 2026
c5bfc2f
Update rose meta and macros for driver
mo-rickywong Apr 29, 2026
d9e59d5
Update versions update so that lfric2lfric partition duplicates aren'…
mo-rickywong Apr 29, 2026
946b1ad
Correct rose metadata settings
mo-rickywong Apr 30, 2026
284d495
Merge branch 'main' into fix_rose_stem_io_demo_and_lbc_demo
mo-rickywong Apr 30, 2026
6e2d278
Set io_demo to point to corresponding version of driver
mo-rickywong Apr 30, 2026
2ad260e
Merge branch 'fix_rose_stem_io_demo_and_lbc_demo' into RmGlobalCfg_Co…
mo-rickywong Apr 30, 2026
41fc339
update versions file
mo-rickywong Apr 30, 2026
6f9cdc4
Update some breakages from mergin on head on main
mo-rickywong May 1, 2026
be3a8c3
Tweaks
mo-rickywong May 1, 2026
e55befb
typo
mo-rickywong May 1, 2026
3c135d4
update
mo-rickywong May 1, 2026
ea62f92
Update metadata and macro so that unecessary namlists are not injected
mo-rickywong May 1, 2026
c275342
Update versions.py after app macros modified it
mo-rickywong May 1, 2026
b2c37c9
typo
mo-rickywong May 1, 2026
3395c89
Merge branch 'main' into RmGlobalCfg_CoreDriver
mo-rickywong May 1, 2026
dce3a6c
Remove explict false
mo-rickywong May 2, 2026
13e614a
Merge branch 'main' into RmGlobalCfg_CoreDriver
mo-rickywong May 8, 2026
3aadd0c
Merge branch 'main' into RmGlobalCfg_CoreDriver
mo-rickywong May 8, 2026
766e91c
Missing types
mo-rickywong May 8, 2026
eb25697
Missing type
mo-rickywong May 8, 2026
b09ac5e
Missing use statement
mo-rickywong May 8, 2026
7347a3a
Update to pass config_type
mo-rickywong May 28, 2026
aa0fc57
Merge branch 'main' into RmGlobalCfg_CoreDriver
mo-rickywong May 28, 2026
c08393d
Some tidy on doxygen comments
mo-rickywong Jun 4, 2026
5bc8501
Merge branch 'main' into RmGlobalCfg_CoreDriver
mo-rickywong Jun 4, 2026
0ac8cc2
Merge branch 'main' into RmGlobalCfg_CoreDriver
mo-rickywong Jun 5, 2026
fd42ee9
Remove feigners from core kernels
mo-rickywong Jun 8, 2026
968a6cd
Take out a tranch of feigners
mo-rickywong Jun 8, 2026
3c08c8a
Commit progress that should provide a green test suite
mo-rickywong Jun 18, 2026
5ea0eeb
Merge branch 'main' into RmGlobalCfg_CoreDriver
mo-rickywong Jun 18, 2026
c0c80f8
1st tranch of batch changes requested by @tommbendall
mo-rickywong Jun 25, 2026
4f4f6bc
2nd tranch of changes requested by tom Bendall
mo-rickywong Jun 25, 2026
e8921d8
1st tranch of changes requested by Steve Mullerworth
mo-rickywong Jun 25, 2026
86a9f26
1st tranch of changes requested by Andrew Coughtrie
mo-rickywong Jun 25, 2026
c5ea5c0
Local change for Steve Mullerworth
mo-rickywong Jun 25, 2026
eda9eb4
1st tranch of changes requested by Matthew Hambley
mo-rickywong Jun 25, 2026
077e3e3
Change for Matthew Hambley on character string
mo-rickywong Jun 25, 2026
5674b48
Knock on updates from requested changes
mo-rickywong Jun 26, 2026
180f52a
Merge branch 'main' into RmGlobalCfg_CoreDriver
mo-rickywong Jun 26, 2026
062bdeb
Changes to demonstrate kgo changes on lfric2lfric
mo-rickywong Jun 29, 2026
63e2785
Reinstate original changes
mo-rickywong Jun 29, 2026
64cb834
Merge branch 'main' into RmGlobalCfg_CoreDriver
mo-rickywong Jun 30, 2026
a772696
Merge branch 'RmGlobalCfg_CoreDriver' into ClearFeigners_1
mo-rickywong Jul 1, 2026
7ec44f4
Remove some linting
mo-rickywong Jul 1, 2026
02eaa0d
Merge branch 'main' into ClearFeigners_1
mo-rickywong Jul 2, 2026
898629b
Remove duplicate upgrade macro
mo-rickywong Jul 2, 2026
b31c494
Merge branch 'main' into ClearFeigners_1
mo-rickywong Jul 15, 2026
4350888
Push green revision with all of fem kernel components not using modul…
mo-rickywong Jul 21, 2026
b0c464a
Merge branch 'main' into ClearFeigners_1
mo-rickywong Jul 30, 2026
d3e78f2
Tidy up
mo-rickywong Jul 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 24 additions & 12 deletions applications/skeleton/source/algorithm/skeleton_constants_mod.x90
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
module skeleton_constants_mod

! Infrastructure
use constants_mod, only: str_def, i_def, l_def
use constants_mod, only: str_def, r_def, i_def, l_def
use driver_modeldb_mod, only: modeldb_type
use field_mod, only: field_type
use fs_continuity_mod, only: W0, W1, W2, W2broken, &
Expand All @@ -31,6 +31,7 @@ module skeleton_constants_mod
use quadrature_rule_gaussian_mod, only: quadrature_rule_gaussian_type
use timing_mod, only: start_timing, stop_timing, &
tik, LPROF
use sci_mesh_enums_mod, only: get_mesh_enums

! Kernels
use sci_compute_derham_matrices_kernel_mod, only: compute_derham_matrices_kernel_type
Expand Down Expand Up @@ -109,17 +110,25 @@ contains

integer(i_def) :: order_h, order_v
integer(i_def) :: nqp_h_exact, nqp_v_exact
integer(i_def) :: geometry
integer(i_def) :: topology
integer(i_def) :: coord_system
real(r_def) :: scaled_radius

integer(tik) :: id

if ( LPROF ) call start_timing( id, 'skeleton_constants_alg' )

call log_event( "Skeleton: creating runtime constants", LOG_LEVEL_INFO )

order_h = modeldb%config%finite_element%element_order_h()
order_v = modeldb%config%finite_element%element_order_v()
nqp_h_exact = modeldb%config%finite_element%nqp_h_exact()
nqp_v_exact = modeldb%config%finite_element%nqp_v_exact()
call get_mesh_enums(mesh, geometry, topology)

order_h = modeldb%config%finite_element%element_order_h()
order_v = modeldb%config%finite_element%element_order_v()
nqp_h_exact = modeldb%config%finite_element%nqp_h_exact()
nqp_v_exact = modeldb%config%finite_element%nqp_v_exact()
coord_system = modeldb%config%finite_element%coord_system()
scaled_radius = modeldb%config%planet%scaled_radius()

!=========== Create function spaces required for setup ==================!

Expand Down Expand Up @@ -167,13 +176,16 @@ contains
call curl_inventory%add_operator( curl, w2_fs, w1_fs, mesh )
call broken_div_inventory%add_operator( broken_div, w3_fs, w2b_fs, mesh )

call invoke( name = "create_de_rham_matrices", &
compute_derham_matrices_kernel_type(mm_w0, mm_w1, &
mm_w2, mm_w2b, &
mm_w3, mm_wtheta, &
grad, curl, &
div, broken_div, &
chi, panel_id, qr) )
call invoke( name = "create_de_rham_matrices", &
compute_derham_matrices_kernel_type(mm_w0, mm_w1, &
mm_w2, mm_w2b, &
mm_w3, mm_wtheta, &
grad, curl, &
div, broken_div, &
chi, panel_id, &
geometry, topology, &
coord_system, &
scaled_radius, qr) )

!===================== Add operators to inventories =======================!

Expand Down
19 changes: 5 additions & 14 deletions components/driver/source/driver_coordinates_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ module driver_coordinates_mod
xyz2alphabetar, alphabetar2xyz, &
schmidt_transform_xyz, &
inverse_schmidt_transform_xyz

! Configuration modules
use base_mesh_config_mod, only: geometry_planar, &
use sci_mesh_enums_mod, only: get_mesh_enums, &
geometry_planar, &
geometry_spherical, &
topology_fully_periodic, &
topology_non_periodic

! Configuration modules
use finite_element_config_mod, only: coord_system_xyz

implicit none
Expand Down Expand Up @@ -108,17 +109,7 @@ subroutine assign_coordinate_field(config, mesh, chi, panel_id)

nullify( map, map_pid, dof_coords, reference_element )

if (mesh%is_geometry_spherical()) then
geometry = geometry_spherical
else
geometry = geometry_planar
end if

if (mesh%is_topology_periodic()) then
topology = topology_fully_periodic
else
topology = topology_non_periodic
end if
call get_mesh_enums(mesh, geometry, topology)

coord_system = config%finite_element%coord_system()
scaled_radius = config%planet%scaled_radius()
Expand Down
21 changes: 6 additions & 15 deletions components/driver/source/driver_fem_mod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ module driver_fem_mod
use mesh_collection_mod, only: mesh_collection
use sci_chi_transform_mod, only: init_chi_transforms, &
final_chi_transforms
use sci_mesh_enums_mod, only: get_mesh_enums, &
geometry_spherical, &
geometry_planar, &
topology_non_periodic, &
topology_fully_periodic

! Object types
use config_mod, only: config_type
Expand All @@ -33,10 +38,6 @@ module driver_fem_mod
use inventory_by_mesh_mod, only: inventory_by_mesh_type

! Configuration modules
use base_mesh_config_mod, only: geometry_spherical, &
geometry_planar, &
topology_non_periodic, &
topology_fully_periodic
use finite_element_config_mod, only: coord_system_xyz, &
coord_space_W0, &
coord_space_Wchi, &
Expand Down Expand Up @@ -121,17 +122,7 @@ subroutine init_fem(config, chi_inventory, panel_id_inventory)
mesh => mesh_collection%get_mesh(all_mesh_names(i))
mesh_name = mesh%get_mesh_name()

if (mesh%is_geometry_spherical()) then
geometry = geometry_spherical
else
geometry = geometry_planar
end if

if (mesh%is_topology_periodic()) then
topology = topology_fully_periodic
else
topology = topology_non_periodic
end if
call get_mesh_enums(mesh, geometry, topology)

! Initialise coordinate transformations
call init_chi_transforms( geometry, topology, &
Expand Down
4 changes: 2 additions & 2 deletions components/driver/source/driver_mesh_mod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ module driver_mesh_mod

use global_mesh_collection_mod, only: global_mesh_collection
use local_mesh_collection_mod, only: local_mesh_collection
use sci_mesh_enums_mod, only: geometry_spherical, &
topology_fully_periodic

! Configuration modules
use finite_element_config_mod, only: cellshape_quadrilateral
use base_mesh_config_mod, only: geometry_spherical, &
topology_fully_periodic

implicit none

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module assign_coordinate_xyz_mod_test

use constants_mod, only : r_def, i_def

use base_mesh_config_mod, only: geometry_planar, topology_fully_periodic
use sci_mesh_enums_mod, only: geometry_planar, topology_fully_periodic
use funit

implicit none
Expand Down
2 changes: 0 additions & 2 deletions components/science/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ document-api: api-documentation
#
unit-tests/%: export BIN_DIR ?= $(PROJECT_DIR)/test
unit-tests/%: export CXX_LINK = TRUE
#unit-tests/%: export EXTERNAL_STATIC_LIBRARIES += pfunit
unit-tests/%: export IMPORT_PARTS = $(CORE_ROOT_DIR)/infrastructure \
# $(CORE_ROOT_DIR)/components/lfric-xios \
$(CORE_ROOT_DIR)/components/inventory \
$(CORE_ROOT_DIR)/components/driver
unit-tests/%: export META_FILE_DIR = rose-meta/lfric-science/HEAD
Expand Down
Loading
Loading