Changeset 74c9a30 in sasview
- Timestamp:
- Dec 12, 2011 12:07:43 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:
- 36f482f3
- Parents:
- ef7606b
- Location:
- sansmodels/src/sans/models
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/c_extensions/ellipsoid.c
r4628e31 r74c9a30 89 89 double ellipsoid_analytical_2D_scaled(EllipsoidParameters *pars, double q, double q_x, double q_y) { 90 90 double cyl_x, cyl_y, cyl_z; 91 double q_z , lenq;92 double alpha, f, vol, sin_val, cos_val;91 double q_z; 92 double alpha, vol, cos_val; 93 93 double answer; 94 94 //convert angle degree to radian -
sansmodels/src/sans/models/c_extensions/parallelepiped.c
r890ac7f1 r74c9a30 99 99 */ 100 100 double parallelepiped_analytical_2D_scaled(ParallelepipedParameters *pars, double q, double q_x, double q_y) { 101 double cparallel_x, cparallel_y, cparallel_z, bparallel_x, bparallel_y, parallel_x, parallel_y , parallel_z;101 double cparallel_x, cparallel_y, cparallel_z, bparallel_x, bparallel_y, parallel_x, parallel_y; 102 102 double q_z; 103 103 double alpha, vol, cos_val_c, cos_val_b, cos_val_a, edgeA, edgeB, edgeC; -
sansmodels/src/sans/models/c_models/SquareWell.cpp
r6110bb8 r74c9a30 66 66 67 67 // Loop over radius weight points 68 for( int i=0; i<weights_rad.size(); i++) {68 for(size_t i=0; i<weights_rad.size(); i++) { 69 69 dp[0] = weights_rad[i].value; 70 70 -
sansmodels/src/sans/models/c_models/StickyHS.cpp
r6110bb8 r74c9a30 68 68 69 69 // Loop over radius weight points 70 for( int i=0; i<weights_rad.size(); i++) {70 for(size_t i=0; i<weights_rad.size(); i++) { 71 71 dp[0] = weights_rad[i].value; 72 72 -
sansmodels/src/sans/models/c_smearer/smearer2d_helper.cpp
r87615a48 r74c9a30 46 46 double rbin_size = rlimit / double(nrbins); 47 47 double phibin_size = 0.0; 48 int tot_nbins = nrbins * nphibins;49 48 double rbin = 0.0; 50 49 double phibin = 0.0; -
sansmodels/src/sans/models/c_smearer/smearer2d_helper_module.cpp
r8dbc4e5 r74c9a30 1 1 /** 2 *Smearer module to perform point and slit smearing calculations2 Smearer module to perform point and slit smearing calculations 3 3 4 4 This software was developed by the University of Tennessee as part of the … … 39 39 } 40 40 41 /**42 41 /** 43 42 * Create a QSmearer as a python object by supplying a q array
Note: See TracChangeset
for help on using the changeset viewer.