source:
trunk/NEMO/OPA_SRC/OBC/obc_vectopt_loop_substitute.h90
@
3
Last change on this file since 3 was 3, checked in by opalod, 21 years ago | |
---|---|
|
|
File size: 891 bytes |
Line | |
---|---|
1 | !!---------------------------------------------------------------------- |
2 | !! *** obc_vectopt_loop_substitute.h90 *** |
3 | !!---------------------------------------------------------------------- |
4 | !! ** purpose : substitute the inner loop starting and inding indices |
5 | !! to allow unrolling of do-loop using CPP macro. |
6 | !!---------------------------------------------------------------------- |
7 | #if defined key_vectopt_loop && defined key_obc |
8 | # define fs_niw0 jpiwob |
9 | # define fs_niw1 jpiwob |
10 | # define fs_nie0 jpieob |
11 | # define fs_nie1 jpieob |
12 | # define fs_njn0 jpjnob |
13 | # define fs_njn1 jpjnob |
14 | # define fs_njs0 jpjsob |
15 | # define fs_njs1 jpjsob |
16 | #else |
17 | # define fs_niw0 niw0 |
18 | # define fs_niw1 niw1 |
19 | # define fs_nie0 nie0 |
20 | # define fs_nie1 nie1 |
21 | # define fs_njn0 njn0 |
22 | # define fs_njn1 njn1 |
23 | # define fs_njs0 njs0 |
24 | # define fs_njs1 njs1 |
25 | #endif |
Note: See TracBrowser
for help on using the repository browser.