Line | |
---|
1 | //constantes |
---|
2 | //YREAL rdtflo=2*3600; |
---|
3 | YREAL rdtflo=1; |
---|
4 | YREAL ur_dx=0; |
---|
5 | YREAL ur_dy=0; |
---|
6 | YREAL vr_dx=0; |
---|
7 | YREAL vr_dy=0; |
---|
8 | |
---|
9 | //Declaration |
---|
10 | |
---|
11 | void appli_start(int argc, char *argv[]){} |
---|
12 | void before_it(int nit){} |
---|
13 | void cost_function(int pdt){} |
---|
14 | void adjust_target(){} |
---|
15 | void after_it(int nit){ |
---|
16 | } |
---|
17 | void forward_before(int ctrp){ |
---|
18 | } |
---|
19 | void forward_after(int ctrp){ |
---|
20 | } |
---|
21 | |
---|
22 | void backward_before(int ctrp){ |
---|
23 | } |
---|
24 | |
---|
25 | void backward_after(int ctrp){ |
---|
26 | } |
---|
27 | |
---|
28 | short select_io(int indic, char *nmod, int sortie, int iaxe, |
---|
29 | int jaxe, int kaxe, int pdt, YREAL *val){ |
---|
30 | //if(indic==YIO_LOADSTATE && !strcmp(nmod,"u")) { |
---|
31 | //printf("s=%d t=%d Yi=%d Yj=%d val=%f\n",sortie,pdt,iaxe,jaxe,*val); |
---|
32 | //} |
---|
33 | |
---|
34 | return(1); |
---|
35 | } |
---|
36 | |
---|
37 | //in case we want to see how it s loading the data we do this above |
---|
38 | |
---|
39 | void update_uv(){ |
---|
40 | int j,k; |
---|
41 | for (j=0;j<nlon;j++) |
---|
42 | for (k=0;k<nlat;k++) { |
---|
43 | YS1_u(j,k)+=YS1_u_d(j,k); |
---|
44 | YS1_v(j,k)+=YS1_v_d(j,k); |
---|
45 | } |
---|
46 | } |
---|
47 | //void load_aviso(int argc, char *argv[]){ |
---|
48 | |
---|
49 | // } |
---|
Note: See
TracBrowser
for help on using the repository browser.