85 |
C-- Define the mapping for the BEGIN_CRIT() and END_CRIT() macros. |
C-- Define the mapping for the BEGIN_CRIT() and END_CRIT() macros. |
86 |
C On some systems we simply execute this section only using the |
C On some systems we simply execute this section only using the |
87 |
C master thread i.e. its not really a critical section. We can |
C master thread i.e. its not really a critical section. We can |
88 |
C do this because we don't use critical sections in any critical |
C do this because we do not use critical sections in any critical |
89 |
C sections of our code! |
C sections of our code! |
90 |
#define _BEGIN_CRIT(a) _BEGIN_MASTER(a) |
#define _BEGIN_CRIT(a) _BEGIN_MASTER(a) |
91 |
#define _END_CRIT(a) _END_MASTER(a) |
#define _END_CRIT(a) _END_MASTER(a) |
160 |
C-- Control XY periodicity in processor to grid mappings |
C-- Control XY periodicity in processor to grid mappings |
161 |
C Note: Model code does not need to know whether a domain is |
C Note: Model code does not need to know whether a domain is |
162 |
C periodic because it has overlap regions for every box. |
C periodic because it has overlap regions for every box. |
163 |
C Model's simply assume that these values have been |
C Model assume that these values have been |
164 |
C filled in some way. |
C filled in some way. |
165 |
#undef ALWAYS_PREVENT_X_PERIODICITY |
#undef ALWAYS_PREVENT_X_PERIODICITY |
166 |
#undef ALWAYS_PREVENT_Y_PERIODICITY |
#undef ALWAYS_PREVENT_Y_PERIODICITY |
168 |
#define CAN_PREVENT_Y_PERIODICITY |
#define CAN_PREVENT_Y_PERIODICITY |
169 |
|
|
170 |
C-- Substitue for 1.D variables |
C-- Substitue for 1.D variables |
171 |
C Sun compilers don't use 8-byte precision for literals |
C Sun compilers do not use 8-byte precision for literals |
172 |
C unless .Dnn is specified. CRAY vector machines use 16-byte |
C unless .Dnn is specified. CRAY vector machines use 16-byte |
173 |
C precision when they see .Dnn which runs very slowly! |
C precision when they see .Dnn which runs very slowly! |
174 |
#ifdef REAL_D0_IS_16BYTES |
#ifdef REAL_D0_IS_16BYTES |