[MITgcm-devel] forward_step line 60

Jean-Michel Campin jmc at ocean.mit.edu
Mon Oct 6 21:14:09 EDT 2003


Hi Dimitrii and Patrick,

I don't unsderstand the line 60 in forward_step.F :

     52 #ifdef ALLOW_AUTODIFF_TAMC
     53 # include "tamc.h"
     54 # include "ctrl.h"
     55 # include "ctrl_dummy.h"
     56 # include "cost.h"
     57 # include "EOS.h"
     58 # ifdef INCLUDE_EXTERNAL_FORCING_PACKAGE
     59 #  include "exf_fields.h"
     60 #  if (defined (ALLOW_BULKFORMULAE) || defined (ALLOW_BULK_FORCE))
     61 #   include "exf_constants.h"
     62 #  endif

I was thinking that BULK_FORCE & EXF were exclusive, so that 
when pkg/bulk_force is compiled, INCLUDE_EXTERNAL_FORCING_PACKAGE is not
defined (undef) (and eventually pkg/exf not compiled). 
So, it seems to me that the 2nd part of line 60 is useless, 
but might be required for a tricky reason (with TAF ?)

Cheers,

Jean-Michel





More information about the MITgcm-devel mailing list