Changeset becded3 in sasmodels for sasmodels/models/core_shell_bicelle_elliptical.c
- Timestamp:
- Oct 17, 2017 4:21:27 PM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 8698a0d
- Parents:
- 2a602c7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_bicelle_elliptical.c
r2a0b2b1 rbecded3 2 2 static double 3 3 form_volume(double r_minor, 4 5 6 7 4 double x_core, 5 double thick_rim, 6 double thick_face, 7 double length) 8 8 { 9 9 return M_PI*(r_minor+thick_rim)*(r_minor*x_core+thick_rim)*(length+2.0*thick_face); … … 12 12 static double 13 13 Iq(double q, 14 15 16 17 18 19 20 21 22 14 double r_minor, 15 double x_core, 16 double thick_rim, 17 double thick_face, 18 double length, 19 double sld_core, 20 double sld_face, 21 double sld_rim, 22 double sld_solvent) 23 23 { 24 24 // core_shell_bicelle_elliptical, RKH Dec 2016, based on elliptical_cylinder and core_shell_bicelle … … 71 71 72 72 static double 73 Iqxy(double qx, double qy, 74 double r_minor, 75 double x_core, 76 double thick_rim, 77 double thick_face, 78 double length, 79 double sld_core, 80 double sld_face, 81 double sld_rim, 82 double sld_solvent, 83 double theta, 84 double phi, 85 double psi) 73 Iqxy(double qa, double qb, double qc, 74 double r_minor, 75 double x_core, 76 double thick_rim, 77 double thick_face, 78 double length, 79 double sld_core, 80 double sld_face, 81 double sld_rim, 82 double sld_solvent) 86 83 { 87 double q, xhat, yhat, zhat;88 ORIENT_ASYMMETRIC(qx, qy, theta, phi, psi, q, xhat, yhat, zhat);89 const double qa = q*xhat;90 const double qb = q*yhat;91 const double qc = q*zhat;92 93 84 const double dr1 = sld_core-sld_face; 94 85 const double dr2 = sld_rim-sld_solvent;
Note: See TracChangeset
for help on using the changeset viewer.