Skip to content

Commit

Permalink
Add correctness check (based on average angle diff) to sph vector reg…
Browse files Browse the repository at this point in the history
…rid unit test.
  • Loading branch information
oehmke committed Aug 10, 2023
1 parent 6e4838f commit fa1a428
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Infrastructure/Field/tests/ESMF_FieldRegridUTest.F90
Original file line number Diff line number Diff line change
Expand Up @@ -45702,7 +45702,9 @@ subroutine test_sph_vec_blnr_csG_to_llG(rc)
write(*,*) "Avg magnitude difference=",totGlobal(2)/totGlobal(3)
endif



! Fail if average angle error bigger than produced by vector regrid
if (totGlobal(1)/totGlobal(3) > 2.0E-3) correct=.false.



Expand Down

0 comments on commit fa1a428

Please sign in to comment.