Ignore:
Timestamp:
Apr 15, 2010 6:41:29 PM (15 years ago)
Author:
Jae Cho <jhjcho@…>
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
Message:

updated sld parameters according to the changes in NIST lib: missed it in the last commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/src/sans/models/c_models/triaxialellipsoid.cpp

    rc451be9 r13eb1c4  
    4141        semi_axisC  = Parameter(400.0, true); 
    4242        semi_axisC.set_min(0.0); 
    43         contrast   = Parameter(5.3e-6); 
     43        sldEll   = Parameter(1.0e-6); 
     44        sldSolv   = Parameter(6.3e-6); 
    4445        background = Parameter(0.0); 
    4546        axis_theta  = Parameter(1.0, true); 
     
    5556 */ 
    5657double TriaxialEllipsoidModel :: operator()(double q) { 
    57         double dp[6]; 
     58        double dp[7]; 
    5859 
    5960        // Fill parameter array for IGOR library 
     
    6364        dp[2] = semi_axisB(); 
    6465        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; 
    6769 
    6870        // Get the dispersion points for the semi axis A 
     
    128130        dp.semi_axisB     = semi_axisB(); 
    129131        dp.semi_axisC     = semi_axisC(); 
    130         dp.contrast   = contrast(); 
     132        dp.sldEll   = sldEll(); 
     133        dp.sldSolv   = sldSolv(); 
    131134        dp.background = 0.0; 
    132135        dp.axis_theta  = axis_theta(); 
Note: See TracChangeset for help on using the changeset viewer.