-
Notifications
You must be signed in to change notification settings - Fork 479
Add average history output to driver-moab #8637
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
Open
rljacob
wants to merge
5
commits into
master
Choose a base branch
from
rljacob/mbcpl/fix-avhist
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
89b880b
Add cpl avg history capability to driver-moab
rljacob bfc2c1a
Add a check for history averaging period.
rljacob b028e79
Fix cpl avg history diffs in driver-moab
rljacob 2a97bc1
Return zero cells from mbGetnCells for an unset moab app id
rljacob 0f2dbeb
Free the mct_string returned by mct_list_get in seq_hist_writeavg
rljacob File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1396,13 +1396,16 @@ subroutine prep_rof_mrg_moab (infodata, timer_mrg) | |
| if (ierr .ne. 0) then | ||
| call shr_sys_abort(subname//' error in getting fractions_om from rof instance ') | ||
| endif | ||
| ! fill the r2x_rm, etc double array fields nflds | ||
| tagname = trim(seq_flds_x2r_fields)//C_NULL_CHAR | ||
| arrsize = nflds * lsize | ||
| ierr = iMOAB_GetDoubleTagStorage ( mbrxid, tagname, arrsize , ent_type, x2r_rm) | ||
| if (ierr .ne. 0) then | ||
| call shr_sys_abort(subname//' error in getting x2r_rm array ') | ||
| endif | ||
| ! Zero-initialize x2r_rm rather than reading back the existing x2r tag. | ||
| ! This merge is the only writer of the x2r tag on mbrxid, and it explicitly | ||
| ! sets every field it computes below. Fields that are not computed for this | ||
| ! configuration (e.g. So_ssh when ocn_rof_two_way is off, or the disabled | ||
| ! coszen_str) must be zero to match driver-mct, whose x2r attribute vector is | ||
| ! zero-filled at allocation. Reading the tag back instead would carry the | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this deliberate? |
||
| ! MOAB define-time default (garbage) into those unset fields, contaminating | ||
| ! the coupler average-history file (the instantaneous history is unaffected | ||
| ! because seq_io_write_moab_tags scrubs MOAB defaults on output). | ||
| x2r_rm(:,:) = 0.0_R8 | ||
| ! a2x_rm (lsize, naflds)) | ||
|
|
||
| if (rof_heat) then | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would
min_cpl_dttechnically correspond to the rendezvous step?