Skip to content

Commit d4c69d8

Browse files
committed
Fix remaining issues in adiabatic scheme; add teout to registry and initialize mark
1 parent 768040e commit d4c69d8

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[submodule "ncar-physics"]
2121
path = src/physics/ncar_ccpp
2222
url = https://github.com/jimmielin/atmospheric_physics
23-
fxtag = 87a45418
23+
fxtag = 003ece7
2424
fxrequired = AlwaysRequired
2525
fxDONOTUSEurl = https://github.com/ESCOMP/atmospheric_physics
2626
[submodule "ccs_config"]

src/data/registry.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,14 @@
246246
allocatable="pointer">
247247
<dimensions>horizontal_dimension</dimensions>
248248
</variable>
249+
<variable local_name="teout"
250+
standard_name="vertically_integrated_total_energy_at_end_of_physics"
251+
units="J m-2" type="real" kind="kind_phys"
252+
allocatable="allocatable">
253+
<long_name>Total energy using dynamical core formula at the end of physics timestep</long_name>
254+
<dimensions>horizontal_dimension</dimensions>
255+
<initial_value>0.0</initial_value>
256+
</variable>
249257
<!-- Timestep properties -->
250258
<variable local_name="is_first_timestep"
251259
standard_name="is_first_timestep"
@@ -319,6 +327,7 @@
319327
<data>vertically_integrated_total_energy_of_current_state_using_dycore_energy_formula</data>
320328
<data>vertically_integrated_water_vapor_and_condensed_water_of_initial_state</data>
321329
<data>vertically_integrated_water_vapor_and_condensed_water_of_current_state</data>
330+
<data>vertically_integrated_total_energy_at_end_of_physics</data>
322331
</ddt>
323332
<ddt type="physics_tend">
324333
<data>tendency_of_air_temperature_due_to_model_physics</data>

src/dynamics/se/dyn_comp.F90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1867,6 +1867,7 @@ subroutine read_inidat(dyn_in)
18671867
call mark_as_initialized("vertically_integrated_total_energy_of_current_state_using_dycore_energy_formula")
18681868
call mark_as_initialized("vertically_integrated_water_vapor_and_condensed_water_of_initial_state")
18691869
call mark_as_initialized("vertically_integrated_water_vapor_and_condensed_water_of_current_state")
1870+
call mark_as_initialized("vertically_integrated_total_energy_at_end_of_physics")
18701871

18711872
end subroutine read_inidat
18721873

0 commit comments

Comments
 (0)