Changeset b34fc77 in sasmodels
- Timestamp:
- Apr 20, 2017 2:22:52 PM (8 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 73cbc5b
- Parents:
- 4a43871
- Location:
- sasmodels/models
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/cylinder.c
r2a0b2b1 rb34fc77 57 57 const double qab = q*sin_alpha; 58 58 const double qc = q*cos_alpha; 59 59 60 const double s = (sld-solvent_sld) * form_volume(radius, length); 60 61 const double form = fq(qab, qc, radius, length); -
sasmodels/models/stacked_disks.c
r2a0b2b1 rb34fc77 149 149 double phi) 150 150 { 151 int n_stacking = (int)(fp_n_stacking + 0.5);152 151 double q, sin_alpha, cos_alpha; 153 152 ORIENT_SYMMETRIC(qx, qy, theta, phi, q, sin_alpha, cos_alpha); … … 155 154 const double qc = q*cos_alpha; 156 155 156 int n_stacking = (int)(fp_n_stacking + 0.5); 157 157 double d = 2.0 * thick_layer + thick_core; 158 158 double halfheight = 0.5*thick_core;
Note: See TracChangeset
for help on using the changeset viewer.