Skip to content

apply patch for reported issue #967#1005

Merged
MatthewMasarik-NOAA merged 2 commits into
NOAA-EMC:developfrom
dpzimmer:develop
May 5, 2023
Merged

apply patch for reported issue #967#1005
MatthewMasarik-NOAA merged 2 commits into
NOAA-EMC:developfrom
dpzimmer:develop

Conversation

@dpzimmer
Copy link
Copy Markdown
Contributor

Pull Request Summary

Pull request generated by invitation of https://github.com/aronroland for revision to address issue reported at #967

Description

Fix inverted logic, multiplying by (1-IOBPD(ITH,IP)) rather than IOBPD(ITH,IP) in subroutine W3XYPFSNIMP of the file w3profsmd.F90.

Issue(s) addressed

When running an unstructured mesh using the implicit-n solver and providing with boundary input, the routine W3XYPFSNIMP clears the boundary input.

Commit Message

Simple logic fix for time interpolation of boundary nodes at the end of W3XYPFSNIMP.

Check list

Testing

  • How were these changes tested?
  • Are the changes covered by regression tests? (If not, why? Do new tests need to be added?)
  • Have the matrix regression tests been run (if yes, please note HPC and compiler)?
  • Please indicate the expected changes in the regression test output, (Note the list of known non-identical tests.)
  • Please provide the summary output of matrix.comp (matrix.Diff.txt, matrixCompFull.txt and matrixCompSummary.txt):

@MatthewMasarik-NOAA
Copy link
Copy Markdown
Contributor

@dpzimmer, thank you for submitting this bug fix! There are two PR's ahead of this one. Mid- next week is a good estimate for processing this PR.

@MatthewMasarik-NOAA
Copy link
Copy Markdown
Contributor

@dpzimmer, could you please sync your branch to bring it up-to-date with current develop?

I've tested your branch with the latest updates so it is all set from that perspective, and I'll merge it once you've made the update.

@MatthewMasarik-NOAA MatthewMasarik-NOAA self-requested a review May 4, 2023 23:01
Copy link
Copy Markdown
Contributor

@MatthewMasarik-NOAA MatthewMasarik-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review Pass

Testing Pass

The only non-identicals are the known non-b4b's.

**********************************************************************
********************* non-identical cases ****************************
**********************************************************************
mww3_test_03/./work_PR1_MPI_e                     (1 files differ)
mww3_test_03/./work_PR3_UQ_MPI_e_c                     (1 files differ)
mww3_test_03/./work_PR3_UNO_MPI_e                     (1 files differ)
mww3_test_03/./work_PR2_UNO_MPI_e                     (1 files differ)
mww3_test_03/./work_PR2_UNO_MPI_d2                     (16 files differ)
mww3_test_03/./work_PR1_MPI_d2                     (8 files differ)
mww3_test_03/./work_PR3_UNO_MPI_d2_c                     (17 files differ)
mww3_test_03/./work_PR3_UQ_MPI_d2_c                     (16 files differ)
mww3_test_03/./work_PR3_UNO_MPI_d2                     (14 files differ)
mww3_test_03/./work_PR2_UQ_MPI_d2                     (15 files differ)
mww3_test_03/./work_PR3_UQ_MPI_e                     (1 files differ)
mww3_test_03/./work_PR3_UNO_MPI_e_c                     (1 files differ)
mww3_test_03/./work_PR3_UQ_MPI_d2                     (16 files differ)
ww3_tp2.10/./work_MPI_OMPH                     (7 files differ)
ww3_tp2.16/./work_MPI_OMPH                     (4 files differ)
ww3_ufs1.3/./work_a                     (3 files differ)
 
**********************************************************************
************************ identical cases *****************************
**********************************************************************

matrixCompSummary.txt
matrixCompFull.txt
matrixDiff.txt

@MatthewMasarik-NOAA
Copy link
Copy Markdown
Contributor

Thanks for updating, @dpzimmer.

@MatthewMasarik-NOAA MatthewMasarik-NOAA merged commit a09335e into NOAA-EMC:develop May 5, 2023
@MatthewMasarik-NOAA
Copy link
Copy Markdown
Contributor

Thank you @dpzimmer (and @aronroland) for this logic fix for the unstructured grid implicit-n solver.

MatthewMasarik-NOAA added a commit to MatthewMasarik-NOAA/WW3 that referenced this pull request Jun 27, 2023
* origin/develop:
  handle NaN air-sea temperatures from nearest land points (NOAA-EMC#869)
  Increase valid_max for f in ounp (NOAA-EMC#1014)
  Bugfix deallocation of invalid memory in ww3_prnc (NOAA-EMC#1016)
  Update to orion intel module path and two typo corrections. (NOAA-EMC#1011)
  Bugfix to out of bounds array write in w3profsmd_pdlib.f90 (NOAA-EMC#1013)
  Simple logic fix for time interpolation of boundary nodes at the end of W3XYPFSNIMP. (NOAA-EMC#1005)
  in w3iors use NSEA instead of NSEAL in serial write/read of VA (NOAA-EMC#954)
  Update documentation for UNST namelist (NOAA-EMC#986)
  In certain coupled configurations, the piece of code testing the coupling frequency to check if 'receive' coupling exchanges need to take place fail, resulting in an infinite loop causing the integration between time zero and the first time step to repeat indefinitely. This check needs to be rewritten, which fixes also issue NOAA-EMC#816 in a simpler way.  (NOAA-EMC#999)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants