/[MITgcm]/MITgcm/pkg/mdsio/MDSIO_BUFF_3D.h
ViewVC logotype

Annotation of /MITgcm/pkg/mdsio/MDSIO_BUFF_3D.h

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


Revision 1.3 - (hide annotations) (download)
Thu Dec 23 02:42:16 2010 UTC (13 years, 5 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, 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, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, HEAD
Changes since 1.2: +4 -2 lines
File MIME type: text/plain
add comments related to barrier call requirements.

1 jmc 1.3 C $Header: /u/gcmpack/MITgcm/pkg/mdsio/MDSIO_BUFF_3D.h,v 1.2 2009/06/08 14:38:54 jmc Exp $
2 jmc 1.1 C $Name: $
3    
4     CBOP
5     C !ROUTINE: MDSIO_BUFF_3D.h
6     C !INTERFACE:
7     C include "MDSIO_BUFF_3D.h"
8     C
9     C !DESCRIPTION:
10     C *==========================================================*
11     C | MDSIO_BUFF_3D.h
12     C | o Shared 3-D Buffers used for I/O
13     C *==========================================================*
14     CEOP
15    
16     C size3dBuf :: buffer 3rd dimension, corresponds to the maximum number
17     C of levels that can be read/written at a time.
18     C Note: minimum value = Nr, but in few cases (vertical interpolation,
19     C NrPhys from Fizhi, ...) needs to be larger. Here we pick 2*Nr
20     C which should be enough for most applications.
21     INTEGER size3dBuf
22 jmc 1.2 #ifdef ALLOW_FIZHI
23     PARAMETER ( size3dBuf = Nr+NrPhys )
24     #else
25 jmc 1.1 PARAMETER ( size3dBuf = 2*Nr )
26 jmc 1.2 #endif
27 jmc 1.1
28     C-- COMMON /MDS_3D_BUFFERS/ 3-D Shared Local Buffers
29 jmc 1.3 C Those buffers have be in common block to be shared by all threads;
30     C considered to be "owned" by master-thread and any access by other
31     C than master thread needs to be put protected by BARRIER.
32 jmc 1.1 C shared3dBuf_rx :: Heap storage buffer to which master thread
33     C read-in/write-from data which all threads copy from
34     C (during read) or copy to (during write).
35     COMMON /MDS_3D_BUFFERS/ shared3dBuf_r8, shared3dBuf_r4
36     Real*8 shared3dBuf_r8( sNx*sNy*size3dBuf*nSx*nSy )
37     Real*4 shared3dBuf_r4( sNx*sNy*size3dBuf*nSx*nSy )
38    
39     C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|

  ViewVC Help
Powered by ViewVC 1.1.22