[MITgcm-devel] forward_step line 60
Patrick Heimbach
heimbach at MIT.EDU
Tue Oct 7 08:52:20 EDT 2003
Hi Jean-Michel,
I don't understand the second part of that line either.
Have never used ALLOW_BULK_FORCE and agree that
this is useless.
Cheers
-Patrick
Jean-Michel Campin wrote:
> 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
>
>
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://dev.mitgcm.org/mailman/listinfo/mitgcm-devel
--
Patrick Heimbach ........................... M.I.T
FON: +1/617/253-5259 .......... EAPS, Room 54-1518
FAX: +1/617/253-4464 ..... 77 Massachusetts Avenue
mailto:heimbach at mit.edu ....... Cambridge MA 02139
http://www.mit.edu/~heimbach/ .............. U.S.A
More information about the MITgcm-devel
mailing list