Opened 17 years ago

Closed 17 years ago

#44 closed bug (Fixed)

RitzEV

Reported by: cae Owned by: arango
Priority: major Milestone: Adjoint Based Algorithms
Component: Adjoint Version: 3.1
Keywords: Cc:

Description

It appears that there's a small bug in mod_fourdvar.F that prevents compiling when CORRELATION is defined.

The RitzEV variable does not get declared if IS4DVAR is not defined, but it is used if CORRELATION is defined. I fixed it by moving the declaration of RitzEV above the #if defined IS4DVAR line, but that may not be the appropriate solution.

Chris

Change History (1)

comment:1 by arango, 17 years ago

Component: NonlinearAdjoint
Resolution: fixed
Status: newclosed

Yes. This needs to be done a little differently. I changed the preconditioning declaration in mod_fourdvar.F. I also changed def_mod.F to define the preconditioning Ritz eigenvalues into MODname NetCDF file.

Note: See TracTickets for help on using tickets.