Changeset becded3 in sasmodels for sasmodels/models/core_shell_parallelepiped.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_parallelepiped.c
r2a0b2b1 rbecded3 1 double form_volume(double length_a, double length_b, double length_c, 2 double thick_rim_a, double thick_rim_b, double thick_rim_c); 3 double Iq(double q, double core_sld, double arim_sld, double brim_sld, double crim_sld, 4 double solvent_sld, double length_a, double length_b, double length_c, 5 double thick_rim_a, double thick_rim_b, double thick_rim_c); 6 double Iqxy(double qx, double qy, double core_sld, double arim_sld, double brim_sld, 7 double crim_sld, double solvent_sld, double length_a, double length_b, 8 double length_c, double thick_rim_a, double thick_rim_b, 9 double thick_rim_c, double theta, double phi, double psi); 10 11 double form_volume(double length_a, double length_b, double length_c, 12 double thick_rim_a, double thick_rim_b, double thick_rim_c) 1 static double 2 form_volume(double length_a, double length_b, double length_c, 3 double thick_rim_a, double thick_rim_b, double thick_rim_c) 13 4 { 14 5 //return length_a * length_b * length_c; … … 19 10 } 20 11 21 double Iq(double q, 12 static double 13 Iq(double q, 22 14 double core_sld, 23 15 double arim_sld, … … 118 110 } 119 111 120 double Iqxy(double qx, double qy, 112 static double 113 Iqxy(double qa, double qb, double qc, 121 114 double core_sld, 122 115 double arim_sld, … … 129 122 double thick_rim_a, 130 123 double thick_rim_b, 131 double thick_rim_c, 132 double theta, 133 double phi, 134 double psi) 124 double thick_rim_c) 135 125 { 136 double q, zhat, yhat, xhat;137 ORIENT_ASYMMETRIC(qx, qy, theta, phi, psi, q, xhat, yhat, zhat);138 const double qa = q*xhat;139 const double qb = q*yhat;140 const double qc = q*zhat;141 142 126 // cspkernel in csparallelepiped recoded here 143 127 const double dr0 = core_sld-solvent_sld;
Note: See TracChangeset
for help on using the changeset viewer.