source: altifloat/src/floater.d @ 118

Last change on this file since 118 was 118, checked in by kodalazian, 10 years ago

Add Leila files

File size: 1.7 KB
Line 
1defval jtlag 21//nombre de pas de temps Delta t/ delta t
2defval nlon 87 //nbre de points de grilles en longitude
3defval nlat 58 //nbre de points de grilles en latitude
4defval nfloat 1 //nbre de flotteurs
5
6hat_name "floater.h"
7
8
9
10option o_m1qn3
11option o_gradtest
12//option  O_EXTOBJ "../object/ncutil.o" //for aviso files
13
14//    name   M upt offt  dt    nbstep
15traj T_float M 1    0     1    jtlag //trajectoire pour r
16traj T_euler M 0    0     1    1 //trajectoire pour u et v
17
18space S_float M nfloat    T_float
19space S_euler M nlon nlat T_euler
20space S_eulerlocate M nfloat nlon nlat T_float
21
22modul r_float space S_float input 4  output 2 tempo cout
23modul ur      space S_float input 18 output 2 tempo
24modul uinter space S_float noward   output 8 tempo
25modul xinter space S_float noward   output 8 tempo
26
27modul u       space S_euler noward   output 1 target //noward veut dire pas de calcul
28modul v           space S_euler noward   output 1 target
29modul locate  space S_eulerlocate input 2  output 1 tempo
30
31exec disp_modul //afficher les modules lors de la ganeration du code
32
33ctin r_float  1..2   from r_float 1..2 i t-1 // i par default est la premier dimension, ici i=1 floater
34ctin r_float  3..4   from ur      1..2 i t    // comme c'est un calcul, il depend pas de la valeur initiale
35
36ctin ur       1..8   from uinter 1..8 i t
37ctin ur       9..16  from xinter 1..8 i t
38ctin ur       17..18 from r_float 1..2 i t-1
39
40ctin locate   1..2   from r_float 1..2 i t-1
41
42exec disp_ct_in //afficher les connexions
43
44order modinspace S_float
45        order YA1
46                ur r_float
47        forder
48forder
49
50order modinspace S_eulerlocate
51        order YA1 YA2 YA3
52                locate
53        forder
54forder
55
56order spaceintraj T_float
57        S_eulerlocate S_float
58forder
59 
60//insert_fct arg load_aviso
61
62
63
Note: See TracBrowser for help on using the repository browser.