source: altifloat/src/floater.h @ 84

Last change on this file since 84 was 84, checked in by leila_ocean, 11 years ago

initial import

File size: 916 bytes
Line 
1//constantes
2//YREAL rdtflo=2*3600;
3YREAL rdtflo=1;
4YREAL ur_dx=0;
5YREAL ur_dy=0;
6YREAL vr_dx=0;
7YREAL vr_dy=0;
8
9//Declaration
10
11void appli_start(int argc, char *argv[]){}
12void before_it(int nit){}
13void cost_function(int pdt){}
14void adjust_target(){}
15void after_it(int nit){
16        }
17void forward_before(int ctrp){
18}
19void forward_after(int ctrp){
20}
21
22void backward_before(int ctrp){
23}
24
25void backward_after(int ctrp){
26        }
27
28short 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
39void 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.