Changeset 13eb1c4 in sasview for sansmodels/src/sans/models/c_models/triaxialellipsoid.cpp
- Timestamp:
- Apr 15, 2010 6:41:29 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:
- 8426622
- Parents:
- 2339249f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/c_models/triaxialellipsoid.cpp
rc451be9 r13eb1c4 41 41 semi_axisC = Parameter(400.0, true); 42 42 semi_axisC.set_min(0.0); 43 contrast = Parameter(5.3e-6); 43 sldEll = Parameter(1.0e-6); 44 sldSolv = Parameter(6.3e-6); 44 45 background = Parameter(0.0); 45 46 axis_theta = Parameter(1.0, true); … … 55 56 */ 56 57 double TriaxialEllipsoidModel :: operator()(double q) { 57 double dp[ 6];58 double dp[7]; 58 59 59 60 // Fill parameter array for IGOR library … … 63 64 dp[2] = semi_axisB(); 64 65 dp[3] = semi_axisC(); 65 dp[4] = contrast(); 66 dp[5] = 0.0; 66 dp[4] = sldEll(); 67 dp[5] = sldSolv(); 68 dp[6] = 0.0; 67 69 68 70 // Get the dispersion points for the semi axis A … … 128 130 dp.semi_axisB = semi_axisB(); 129 131 dp.semi_axisC = semi_axisC(); 130 dp.contrast = contrast(); 132 dp.sldEll = sldEll(); 133 dp.sldSolv = sldSolv(); 131 134 dp.background = 0.0; 132 135 dp.axis_theta = axis_theta();
Note: See TracChangeset
for help on using the changeset viewer.