Changeset 9188cc1 in sasview for sansmodels/src/sans/models/c_models
- Timestamp:
- Aug 4, 2009 6:29:56 PM (15 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:
- 8344c50
- Parents:
- 8dc0b746
- Location:
- sansmodels/src/sans/models/c_models
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/c_models/binaryHS.cpp
r3d25331f r9188cc1 31 31 32 32 BinaryHSModel :: BinaryHSModel() { 33 33 34 34 l_radius = Parameter(160.0, true); 35 35 l_radius.set_min(0.0); … … 62 62 dp[5] = ss_sld(); 63 63 dp[6] = solvent_sld(); 64 dp[7] = background();65 64 dp[7] = 0.0; 65 66 66 67 67 // Get the dispersion points for the large radius … … 80 80 for(int i=0; i< (int)weights_l_radius.size(); i++) { 81 81 dp[0] = weights_l_radius[i].value; 82 82 83 83 // Loop over small radius weight points 84 84 for(int j=0; j< (int)weights_s_radius.size(); j++) { -
sansmodels/src/sans/models/c_models/binaryHS_PSF11.cpp
r2c4b289 r9188cc1 31 31 32 32 BinaryHSPSF11Model :: BinaryHSPSF11Model() { 33 33 34 34 l_radius = Parameter(160.0, true); 35 35 l_radius.set_min(0.0); … … 62 62 dp[5] = ss_sld(); 63 63 dp[6] = solvent_sld(); 64 dp[7] = background();65 64 dp[7] = 0.0; 65 66 66 67 67 // Get the dispersion points for the large radius … … 80 80 for(int i=0; i< (int)weights_l_radius.size(); i++) { 81 81 dp[0] = weights_l_radius[i].value; 82 82 83 83 // Loop over small radius weight points 84 84 for(int j=0; j< (int)weights_s_radius.size(); j++) { -
sansmodels/src/sans/models/c_models/hollowcylinder.cpp
r27fea3f r9188cc1 60 60 dp[3] = length(); 61 61 dp[4] = contrast(); 62 dp[5] = background();62 dp[5] = 0.0; 63 63 64 64 // Get the dispersion points for the core radius … … 117 117 dp.length = length(); 118 118 dp.contrast = contrast(); 119 dp.background = background();119 dp.background = 0.0; 120 120 dp.axis_theta = axis_theta(); 121 121 dp.axis_phi = axis_phi(); -
sansmodels/src/sans/models/c_models/stackeddisks.cpp
r5068697 r9188cc1 19 19 * 20 20 * TODO: refactor so that we pull in the old sansmodels.c_extensions 21 * TODO: add 2d 21 * TODO: add 2d 22 22 */ 23 23 … … 71 71 dp[7] = nlayers(); 72 72 dp[8] = spacing(); 73 dp[9] = background();73 dp[9] = 0.0; 74 74 75 75 // Get the dispersion points for the length … … 129 129 dp.nlayers = nlayers(); 130 130 dp.spacing = spacing(); 131 dp.background = background();131 dp.background = 0.0; 132 132 dp.axis_theta = axis_theta(); 133 133 dp.axis_phi = axis_phi(); -
sansmodels/src/sans/models/c_models/triaxialellipsoid.cpp
r5068697 r9188cc1 62 62 dp[3] = semi_axisC(); 63 63 dp[4] = contrast(); 64 dp[5] = background();64 dp[5] = 0.0; 65 65 66 66 // Get the dispersion points for the semi axis A -
sansmodels/src/sans/models/c_models/vesicle.cpp
r42f193a r9188cc1 57 57 dp[3] = core_sld(); 58 58 dp[4] = shell_sld(); 59 dp[5] = background();59 dp[5] = 0.0; 60 60 61 61
Note: See TracChangeset
for help on using the changeset viewer.