Opened 3 years ago

Closed 3 years ago

#2088 closed Defect (fixed)

Missing code snippet in bdy interpolation on the fly code

Reported by: jamesharle Owned by: jamesharle
Priority: low Milestone:
Component: OCE Version: trunk
Severity: minor Keywords: bdy
Cc:

Description (last modified by nicolasmartin)

Context

Code associated with bdy interpolation on the fly missing is from the merge.

Analysis

igrd is never set in the FLD_N structure in bdy_dta_ini. This results in fld_map bypassing the grid dependant input of depths and scale factors, causing a potential seg fault (divide-by-zero) in fld_bdy_interp.

Recommendation

Add the missing code snippet back into bdydta.F90:

   DO jfld = 1, nb_bdy_fld_sum
        bf(jfld)%igrd = igrid(jfld)
        bf(jfld)%ibdy = ibdy(jfld)
   END DO

Commit History (1)

ChangesetAuthorTimeChangeLog
9629jamesharle2018-05-24T11:39:21+02:00

Inserted missing code for bdy interp, #2088.

Change History (6)

comment:1 Changed 3 years ago by jamesharle

  • Description modified (diff)

comment:2 Changed 3 years ago by nicolasmartin

  • Description modified (diff)

comment:3 Changed 3 years ago by clevy

  • Owner changed from jamesharle to sciliberti
  • Status changed from new to assigned

comment:4 Changed 3 years ago by jamesharle

  • Owner changed from sciliberti to jamesharle

comment:5 Changed 3 years ago by jamesharle

In 9629:

Inserted missing code for bdy interp, #2088.

comment:6 Changed 3 years ago by jamesharle

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.