Changeset 19dc29e7 in sasmodels


Ignore:
Timestamp:
Mar 6, 2019 1:10:53 PM (5 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
fa26e78
Parents:
9bc96c4
Message:

remove unused variables from model kernel code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/rpa.c

    r9bc96c4 r19dc29e7  
    3636  double N11,N12,N13,N21,N22,N23,N31,N32,N33; 
    3737  double M11,M12,M13,M21,M22,M23,M31,M32,M33; 
    38   double S11,S12,S21,S22,S13,S31,S23,S32,S33; 
    39   //double S14,S41,S24,S42,S34,S43,S44; 
     38  double S11,S12,S22,S23,S13,S33; 
     39  //double S21,S31,S32,S44;  
     40  //double S14,S24,S34,S41,S42,S43; 
    4041  double Lad,Lbd,Lcd,Nav,Intg; 
    4142 
     
    294295  S12= Q12*S0aa + Q22*S0ab + Q32*S0ac; 
    295296  S13= Q13*S0aa + Q23*S0ab + Q33*S0ac; 
    296   S21= Q11*S0ba + Q21*S0bb + Q31*S0bc; 
    297297  S22= Q12*S0ba + Q22*S0bb + Q32*S0bc; 
    298298  S23= Q13*S0ba + Q23*S0bb + Q33*S0bc; 
    299   S31= Q11*S0ca + Q21*S0cb + Q31*S0cc; 
    300   S32= Q12*S0ca + Q22*S0cb + Q32*S0cc; 
    301299  S33= Q13*S0ca + Q23*S0cb + Q33*S0cc; 
     300  //S21= Q11*S0ba + Q21*S0bb + Q31*S0bc; 
     301  //S31= Q11*S0ca + Q21*S0cb + Q31*S0cc; 
     302  //S32= Q12*S0ca + Q22*S0cb + Q32*S0cc; 
     303  //S44=S11+S22+S33+2.0*S12+2.0*S13+2.0*S23; 
    302304  //S14=-S11-S12-S13; 
    303305  //S24=-S21-S22-S23; 
     
    306308  //S42=S24; 
    307309  //S43=S34; 
    308   //S44=S11+S22+S33+2.0*S12+2.0*S13+2.0*S23; 
    309310 
    310311  //calculate contrast where L[i] is the scattering length of i and D is the matrix 
Note: See TracChangeset for help on using the changeset viewer.