Changeset becded3 in sasmodels for sasmodels/models/stacked_disks.c
- Timestamp:
- Oct 17, 2017 6:21:27 PM (7 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/stacked_disks.c
rb34fc77 rbecded3 1 static double stacked_disks_kernel( 1 static double 2 stacked_disks_kernel( 2 3 double qab, 3 4 double qc, … … 60 61 61 62 62 static double stacked_disks_1d( 63 static double 64 stacked_disks_1d( 63 65 double q, 64 66 double thick_core, … … 102 104 } 103 105 104 static double form_volume( 106 static double 107 form_volume( 105 108 double thick_core, 106 109 double thick_layer, … … 113 116 } 114 117 115 static double Iq( 118 static double 119 Iq( 116 120 double q, 117 121 double thick_core, … … 137 141 138 142 139 static double Iqxy(double qx, double qy, 143 static double 144 Iqxy(double qab, double qc, 140 145 double thick_core, 141 146 double thick_layer, … … 145 150 double core_sld, 146 151 double layer_sld, 147 double solvent_sld, 148 double theta, 149 double phi) 152 double solvent_sld) 150 153 { 151 double q, sin_alpha, cos_alpha;152 ORIENT_SYMMETRIC(qx, qy, theta, phi, q, sin_alpha, cos_alpha);153 const double qab = q*sin_alpha;154 const double qc = q*cos_alpha;155 156 154 int n_stacking = (int)(fp_n_stacking + 0.5); 157 155 double d = 2.0 * thick_layer + thick_core;
Note: See TracChangeset
for help on using the changeset viewer.