Changeset 36f482f3 in sasview for sansmodels/src
- Timestamp:
- Dec 12, 2011 1:46:11 PM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 67ac282
- Parents:
- 74c9a30
- Location:
- sansmodels/src/sans/models/c_extensions
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/c_extensions/core_shell_cylinder.c
r4628e31 r36f482f3 64 64 double core_shell_cylinder_analytical_2D_scaled(CoreShellCylinderParameters *pars, double q, double q_x, double q_y) { 65 65 double cyl_x, cyl_y, cyl_z; 66 double q_z , lenq;67 double alpha, f, vol, sin_val, cos_val;66 double q_z; 67 double alpha, vol, cos_val; 68 68 double answer; 69 69 //convert angle degree to radian -
sansmodels/src/sans/models/c_extensions/csparallelepiped.c
r890ac7f1 r36f482f3 160 160 double csparallelepiped_analytical_2D_scaled(CSParallelepipedParameters *pars, double q, double q_x, double q_y) { 161 161 double dp[13]; 162 double cparallel_x, cparallel_y, cparallel_z, bparallel_x, bparallel_y, parallel_x, parallel_y , parallel_z;162 double cparallel_x, cparallel_y, cparallel_z, bparallel_x, bparallel_y, parallel_x, parallel_y; 163 163 double q_z; 164 double alpha, vol,cos_val_c, cos_val_b, cos_val_a, edgeA, edgeB, edgeC;164 double alpha, cos_val_c, cos_val_b, cos_val_a, edgeA, edgeB, edgeC; 165 165 166 166 double answer; -
sansmodels/src/sans/models/c_extensions/sc.c
r890ac7f1 r36f482f3 59 59 */ 60 60 double sc_analytical_2D_scaled(SCParameters *pars, double q, double q_x, double q_y) { 61 double a3_x, a3_y, a3_z, a2_x, a2_y, a1_x, a1_y , a1_z;61 double a3_x, a3_y, a3_z, a2_x, a2_y, a1_x, a1_y; 62 62 double q_z; 63 double alpha, vol,cos_val_a3, cos_val_a2, cos_val_a1;63 double alpha, cos_val_a3, cos_val_a2, cos_val_a1; 64 64 double a1_dot_q, a2_dot_q,a3_dot_q; 65 65 double answer;
Note: See TracChangeset
for help on using the changeset viewer.