-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInnesco.java
More file actions
50 lines (26 loc) · 1.02 KB
/
Innesco.java
File metadata and controls
50 lines (26 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
public class Innesco{
public static void main(String args[]){
// ------- istanza per la costruzione delle X ------//
//
Vettore x = new Vettore();
// x.build_X();
//---------- istanza per backward euler-------------//
BE be = new BE();
// be.verifica(); // è commentata
be.buildArray(be.coeff_y_i_uno,be.coeff_y_i_due,be.i_iniziale,be.o_grande);
//---------- istanza per forward euler-------------//
FE fe = new FE();
fe.buildArray(fe.coeff_y_i_uno,fe.coeff_y_i_due,fe.i_iniziale,fe.o_grande);
//---------- istanza per leap frog ----------------//
LF lf = new LF();
lf.buildArray(lf.coeff_y_i_uno,lf.coeff_y_i_due,lf.i_iniziale,lf.o_grande);
// ----------- classe per soluzione analitica ------//
Analitic analitic = new Analitic();
analitic.analiticSolut(x.x_inferiore,x.x_superiore,x.delta_x,x.lambda,x.build_X());
//------------- classe per raggruppare i risultati---//
//
//
// BuildMatrix matrix = new BuildMatrix();
// matrix.raggruppa();
} // chiude il main
} // chiude la classe principale