Changes in / [e1454ab:fa227d3] in sasmodels
- Location:
- sasmodels/models
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_multi_shell.c
rf7930be rabdd01c 182 182 if (r == r0) { 183 183 // no thickness, so nothing to add 184 } else if (fabs(A[i]) < 1 e-16 || sld_out[i] == sld_in[i]) {184 } else if (fabs(A[i]) < 1.0e-16 || sld_out[i] == sld_in[i]) { 185 185 f -= f_constant(q, r0, sld_in[i]); 186 186 f += f_constant(q, r, sld_in[i]); 187 } else if (fabs(A[i]) < 1 e-4) {187 } else if (fabs(A[i]) < 1.0e-4) { 188 188 const double slope = (sld_out[i] - sld_in[i])/thickness[i]; 189 189 f -= f_linear(q, r0, sld_in[i], slope); -
sasmodels/models/core_shell_parallelepiped.c
r44bd2be rabdd01c 48 48 double a_scaled = a_side / b_side; 49 49 double c_scaled = c_side / b_side; 50 double arim_scaled = arim_thickness / b_side; 51 double brim_scaled = brim_thickness / b_side; 52 50 53 51 // DelRho values (note that drC is not used later) 54 52 double dr0 = core_sld-solvent_sld; -
sasmodels/models/elliptical_cylinder.c
r43b7eea rabdd01c 87 87 88 88 const double vol = form_volume(r_minor, r_ratio, length); 89 return answer*vol*vol*1 e-4;89 return answer*vol*vol*1.0e-4; 90 90 } 91 91 -
sasmodels/models/onion.c
rfdb1487 rabdd01c 80 80 if (r == r0) { 81 81 // no thickness, so nothing to add 82 } else if (fabs(A[i]) < 1 e-16 || sld_out[i] == sld_in[i]) {82 } else if (fabs(A[i]) < 1.0e-16 || sld_out[i] == sld_in[i]) { 83 83 f -= f_constant(q, r0, sld_in[i]); 84 84 f += f_constant(q, r, sld_in[i]); 85 } else if (fabs(A[i]) < 1 e-4) {85 } else if (fabs(A[i]) < 1.0e-4) { 86 86 const double slope = (sld_out[i] - sld_in[i])/thickness[i]; 87 87 f -= f_linear(q, r0, sld_in[i], slope); -
sasmodels/models/rpa.c
r13ed84c rabdd01c 39 39 Phia=Phib=0.0000001; 40 40 Kab=Kac=Kad=Kbc=Kbd=-0.0004; 41 La=Lb=1 e-12;41 La=Lb=1.0e-12; 42 42 va=vb=100.0; 43 43 ba=bb=5.0; … … 45 45 Phia=0.0000001; 46 46 Kab=Kac=Kad=-0.0004; 47 La=1 e-12;47 La=1.0e-12; 48 48 va=100.0; 49 49 ba=5.0;
Note: See TracChangeset
for help on using the changeset viewer.