/[MITgcm]/MITgcm_contrib/heimbach/OpenAD/code_regress/loopwrapper.f
ViewVC logotype

Contents of /MITgcm_contrib/heimbach/OpenAD/code_regress/loopwrapper.f

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


Revision 1.1 - (show annotations) (download)
Tue Nov 20 15:20:58 2007 UTC (17 years, 8 months ago) by utke
Branch: MAIN
CVS Tags: HEAD
adding regression test code

1 void cpscheme(int iter, int *iL,int *uL) {
2
3 int levels=4;
4 // increment iL
5 int iLc; // the level that changes:
6 for(i=0;i<levels;i++) {
7 if (iL[i]==uL[i])
8 iL[i]=0;
9 else {
10 il[i]++;
11 break;
12 }
13 }
14
15
16
17

  ViewVC Help
Powered by ViewVC 1.1.22