Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement and finish MPAS dynamical core initialization #267

Merged
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
01af7c7
Remove relative humidity from MPAS input stream
kuanchihwang May 29, 2024
6b69ea9
Fix style
kuanchihwang May 29, 2024
61ccb16
Handle the allocation of constituents more carefully
kuanchihwang May 29, 2024
bf2a21d
Implement MPAS subdriver
kuanchihwang May 29, 2024
9435535
Reimplement `parse_stream_name` for greater flexibility
kuanchihwang Jun 3, 2024
be95a75
Reimplement `parse_stream_name` for greater flexibility
kuanchihwang Jun 3, 2024
6c848ce
Fix and enhance handling of variables during input
kuanchihwang Jun 5, 2024
c38a9b3
Add an additional include path for building MPAS subdriver
kuanchihwang Apr 29, 2024
932ef82
Move all shared variables to `dyn_comp` due to circular dependency issue
kuanchihwang May 29, 2024
a0ac03b
Implement `dyn_init`
kuanchihwang May 29, 2024
0c564c0
Replace mentions of "CAM" with "CAM-SIMA"
kuanchihwang May 29, 2024
a87368a
Add more code comments
kuanchihwang Jun 24, 2024
b7dccf3
Include more constants from `physconst` in `dynconst`
kuanchihwang Jun 24, 2024
03cf4e0
Use constants from `dynconst` only for consistent kind parameters
kuanchihwang Jun 24, 2024
ef3f076
Include array shapes in allocation error messages
kuanchihwang Jun 24, 2024
7a6451c
Avoid unnecessary array allocation and copy
kuanchihwang Jun 24, 2024
b3f1937
Include variable names in error messages
kuanchihwang Jun 29, 2024
77cf091
Extract and separate equations into their own
kuanchihwang Jul 5, 2024
d3567bf
Implement default constituent initialization
kuanchihwang Jul 9, 2024
724d5c8
Use accessor functions from `cam_constituents` directly
kuanchihwang Jul 9, 2024
d57d286
Add a blank line in comments
kuanchihwang Jul 11, 2024
3ca360b
Remove defunct code
kuanchihwang Jul 22, 2024
9cc38a4
Move degree-radian conversion constants to `dynconst`
kuanchihwang Jul 22, 2024
155b51c
Use `max` intrinsic when determining the number of constituents
kuanchihwang Jul 24, 2024
b2ef93e
Use whole array section when assigning arrays
kuanchihwang Jul 24, 2024
0376873
Make status check on reading surface geopotential more intuitive
kuanchihwang Jul 24, 2024
3308a26
Switch to use PIO type constants to check variable types
kuanchihwang Jul 24, 2024
149cbca
Directly pass subroutine name constant to `check_allocate`
kuanchihwang Jul 24, 2024
a731e97
Avoid explicit initialization of pointers
kuanchihwang Jul 26, 2024
d18264b
Also add `subname` to internal subroutines
kuanchihwang Jul 26, 2024
6428560
Adjust validity check for coupling time interval and time step
kuanchihwang Jul 26, 2024
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
2 changes: 1 addition & 1 deletion src/dynamics/mpas/Makefile.in.CESM
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,5 @@ externals: $(AUTOCLEAN_DEPS)
subdrv: driver/dyn_mpas_subdriver.o

%.o: %.F90 dycore frame ops
( cd $(<D); $(FC) $(CPPFLAGS) $(FFLAGS) -c $(<F) $(CPPINCLUDES) $(FCINCLUDES) -I../framework -I../operators -I../core_$(CORE) )
( cd $(<D); $(FC) $(CPPFLAGS) $(FFLAGS) -c $(<F) $(CPPINCLUDES) $(FCINCLUDES) -I../framework -I../operators -I../core_$(CORE) -I../core_$(CORE)/dynamics )
$(LN) $(@) .
1,652 changes: 1,529 additions & 123 deletions src/dynamics/mpas/driver/dyn_mpas_subdriver.F90

Large diffs are not rendered by default.

Loading
Loading