[MITgcm-support] Ptracers

Alistair Adcroft adcroft at mit.edu
Thu Jul 24 13:44:21 EDT 2003


Hong,

In F77 reference to an element of an array in a subroutine argument passes
the memory address to the routine. The statement you highlighted is passing
the memory address for the passive tracer indicated by the integer iTracer.
The entire array is being written out.

A.

-----Original Message-----
From: mitgcm-support-bounces at dev.mitgcm.org
[mailto:mitgcm-support-bounces at dev.mitgcm.org] On Behalf Of Hong Zhang
Sent: Wednesday, July 23, 2003 12:13 PM
To: support at mitgcm.org
Subject: [MITgcm-support] Ptracers


In pkg/ptracers, I need to output ptracer fields
using ptracers_write_state.F,
but here
        CALL WRITE_REC_XYZ_RL(suff,
     &      pTracer(1-Olx,1-Oly,1,1,1,iTracer),iRec,myIter,myThid)

why just limit to  (1-Olx,1-Oly,1,1,1) (seems one grid point) but not the
whole fields?

thanks,

Hong

_______________________________________________
MITgcm-support mailing list
MITgcm-support at dev.mitgcm.org
http://dev.mitgcm.org/mailman/listinfo/mitgcm-support




More information about the MITgcm-support mailing list