Skip to content

Commit ffb3b61

Browse files
committed
initialize factors in area correction computations to 1.0
only intel on chrysalis complained about it It could be a cause for trouble later on
1 parent 9f0a28c commit ffb3b61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

driver-moab/main/component_mod.F90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,7 @@ subroutine component_init_areacor_moab (comp, mbccid, mbcxid, seq_flds_c2x_fluxe
748748
lsize = comp(1)%mblsize
749749
allocate(areas (lsize, 3)) ! lsize is along grid; read mask too
750750
allocate(factors (lsize, 2))
751+
factors = 1.0 ! initialize with 1.0 all factors; then maybe correct them
751752
! get areas
752753
tagname='area:aream:mask'//C_NULL_CHAR
753754
arrsize = 3 * lsize

0 commit comments

Comments
 (0)