Show
Ignore:
Timestamp:
10/22/10 21:14:59 (14 years ago)
Author:
smidl
Message:

broken UD + Chol

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/pmsm/simulator_zdenek/test_UD.cpp

    r1202 r1225  
    5050         
    5151        imat PUcmp(PSIU,5,5); 
    52         cout << "Delta PSI: " << round_i(PhiU*multip-PUcmp) <<endl; 
     52        cout << "Delta PSI: " << round_i(PhiU*multip-2*PUcmp) <<endl; 
    5353         
    54         mat_to_int(round_i(PhiU*multip),PSIU); //<< make is same 
     54        mat_to_int(round_i(PhiU*multip/2),PSIU); //<< make is same 
    5555 
    5656/////////// Test Thorton: 
     
    8585         
    8686         
    87         thorton_fast(Uf,Df,PSIU,Qf,Gf,Dfold,5); 
     87        //thorton_fast(Uf,Df,PSIU,Qf,Gf,Dfold,5); 
     88        thorton(Uf,Df,PSIU,Qf,Gf,Dfold,5); 
    8889 
    8990        /////// disp