Changeset 86aa992 in sasmodels for sasmodels/models/onion.c


Ignore:
Timestamp:
Aug 14, 2018 12:09:49 PM (6 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:
6d90684
Parents:
71b751d (diff), d089a00 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into beta_approx

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/onion.c

    rc3ccaec r71b751d  
    4040} 
    4141 
    42 static double 
    43 Iq(double q, double sld_core, double radius_core, double sld_solvent, 
     42static void 
     43Fq(double q, double *F1, double *F2, double sld_core, double radius_core, double sld_solvent, 
    4444    double n_shells, double sld_in[], double sld_out[], double thickness[], 
    4545    double A[]) 
     
    5555  } 
    5656  f -= f_exp(q, r_out, sld_solvent, 0.0, 0.0, 0.0, 0.0); 
    57   const double f2 = f * f * 1.0e-4; 
    5857 
    59   return f2; 
     58  *F1 = 1e-2 * f; 
     59  *F2 = 1e-4 * f * f; 
    6060} 
Note: See TracChangeset for help on using the changeset viewer.