Bug in quadratic ice shelf cavity stress

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
bgalton
Posts: 3
Joined: Fri Feb 24, 2006 9:44 pm
Location: ACE-CRC, CSIRO, UTas
Contact:

Bug in quadratic ice shelf cavity stress

#1 Unread post by bgalton »

Hi all,

There is a bug in the calculation of the u-component quadratic ice shelf cavity stress (sustr).

Line 353 in set_vbc.F:

cff2=SQRT(u(i,j,N(ng),nrhs)*u(i,j,N(ng),nrhs)+cff2*cff2)

should read:

cff2=SQRT(u(i,j,N(ng),nrhs)*u(i,j,N(ng),nrhs)+cff1*cff1)

Cheers,

Ben Galton-Fenzi

User avatar
arango
Site Admin
Posts: 1350
Joined: Wed Feb 26, 2003 4:41 pm
Location: DMCS, Rutgers University
Contact:

Re: Bug in quadratic ice shelf cavity stress

#2 Unread post by arango »

Yes, thank you. I corrected this bug in the adjoint codes but I forgot to correct it in the nonlinear model. I updated the repository, check the following track :arrow: ticket.

Thank you for reporting this bug :)

Post Reply