-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBE.java
More file actions
28 lines (18 loc) · 672 Bytes
/
BE.java
File metadata and controls
28 lines (18 loc) · 672 Bytes
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
public class BE extends Taylor{
//------ istanza per usare le condizioni iniziali------//
CondIniz ci = new CondIniz();
//------------ metodo membro di verifica---------------//
public void verifica(){
//System.out.println("Da classe BE(membro=verifica()) \t: coeff di y_(i-1) \t:" + coeff_y_i_uno);
System.out.println("BE c'è");
}
// ---------------costruttore--------------------------//
public BE() {
coeff_y_i_due = 0;
coeff_y_i_uno = 1/(1 + ci.lambda*ci.delta_x);
i_iniziale = 1;
o_grande = 1;
System.out.println("\n\t Backward Euler: ");
//System.out.println("Da costruttore in BE: coeff y_(i-1) \t:" + coeff_y_i_uno);
} // costruttore
} // class