ViewVC logotype

Contents of /MITgcm/eesupp/inc/EEBUFF_SCPU.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph

Revision 1.1 - (show annotations) (download)
Sat May 16 13:33:33 2009 UTC (15 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint62, checkpoint63, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint61o, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y, HEAD
File MIME type: text/plain
move MDSIO_SCPU.h (pkg/mdsio) to EEBUFF_SCPU.h (eesupp/inc).

1 C $Header: /u/gcmpack/MITgcm/eesupp/inc/EEIO.h,v 1.5 2001/09/21 03:54:35 cnh Exp $
2 C $Name: $
7 C include "EEBUFF_SCPU.h"
8 C
10 C *==========================================================*
12 C | o Buffers used by S/R gather_2d and scatter_2d,
13 C | in mapping 2-D local array from all processes to/from
14 C | 2-D Global (X,Y) array from Master-Proc (SingleCPU)
15 C | o Contain both 2-D Global (X,Y) buffers and
16 C | Shared Local Buffer (for multi-threaded).
17 C *==========================================================*
18 C | presently used with:
19 C | - SingleCpu IO
20 C | - global-sum SingleCpu
21 C *==========================================================*
24 INTEGER xyBuffer_size
25 #ifdef ALLOW_EXCH2
26 PARAMETER ( xyBuffer_size = W2_ioBufferSize )
27 #else /* ALLOW_EXCH2 */
28 PARAMETER ( xyBuffer_size = Nx*Ny )
29 #endif /* ALLOW_EXCH2 */
31 C-- COMMON /EE_BUFFERS_GLOBAL/ 2-D Global Buffers
32 C Those buffers are in common block to save some memory
33 C xy_buffer_r8 :: 2-D global Real*8 buffer.
34 C xy_buffer_r4 :: 2-D global Real*4 buffer.
35 COMMON /EE_BUFFERS_GLOBAL/ xy_buffer_r8, xy_buffer_r4
36 Real*8 xy_buffer_r8(xyBuffer_size)
37 Real*4 xy_buffer_r4(xyBuffer_size)
39 C-- COMMON /EE_BUFFERS_LOCAL/ 2-D Shared Local Buffers
40 C Those buffers have be in common block to be shared by all threads
41 C sharedLocBuf_rx :: Heap storage buffer to which master thread copies
42 C data (during read) as part of a scatter/gather and
43 C from which all threads read data (during read).
44 COMMON /EE_BUFFERS_LOCAL/ sharedLocBuf_r8, sharedLocBuf_r4
45 Real*8 sharedLocBuf_r8(1:sNx,1:sNy,nSx,nSy)
46 Real*4 sharedLocBuf_r4(1:sNx,1:sNy,nSx,nSy)
48 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|

  ViewVC Help
Powered by ViewVC 1.1.22