[MITgcm-support] use the variable myIter
Martin Losch
Martin.Losch at awi.de
Thu Jun 12 02:58:45 EDT 2025
Hi Estanislao,
As far as I can tell, s/r mom_calc_visc is called once from mom_fluxform.F and once from mom_vecinv.F
It should be straightforward to extend the formal parameter list to include myTime and myIter, as in almost any other routine, you’d only have to edit three routines to do so. We may want to do this anyway for consistency (and situations like the one you describe).
Martin
> On 12. Jun 2025, at 04:19, Estanislao Gavilan Pascual-Ahuir <dramauh at hotmail.com> wrote:
>
> Dear Community,
>
> I would like to slightly edit the routine mom_calc_visc to increase the viscosity during a year. I thought the variable was global but it does not seem the case. Is there anyway to call the variable myIter there? Thanks in advance for your help.
>
> Best regards,
>
> Estanislao
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org <mailto:MITgcm-support at mitgcm.org>
> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20250612/eeaf3db0/attachment.html>
More information about the MITgcm-support
mailing list