Changeset 5617775 in sasview for sansmodels


Ignore:
Timestamp:
May 29, 2012 10:41:12 AM (12 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:
37dea17
Parents:
724897ad
Message:

Onion model: fixed polydispersity problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/src/c_models/onion.cpp

    re08bd5b r5617775  
    268268  scale = Parameter(1.0); 
    269269  rad_core0 = Parameter(200.0); 
     270  rad_core0.set_min(0.0); 
    270271  sld_core0 = Parameter(1e-06); 
    271272  sld_solv = Parameter(6.4e-06); 
     
    306307 
    307308  thick_shell1 = Parameter(50.0); 
     309  thick_shell1.set_min(0.0); 
    308310  thick_shell2 = Parameter(50.0); 
     311  thick_shell2.set_min(0.0); 
    309312  thick_shell3 = Parameter(50.0); 
     313  thick_shell3.set_min(0.0); 
    310314  thick_shell4 = Parameter(50.0); 
     315  thick_shell4.set_min(0.0); 
    311316  thick_shell5 = Parameter(50.0); 
     317  thick_shell5.set_min(0.0); 
    312318  thick_shell6 = Parameter(50.0); 
     319  thick_shell6.set_min(0.0); 
    313320  thick_shell7 = Parameter(50.0); 
     321  thick_shell7.set_min(0.0); 
    314322  thick_shell8 = Parameter(50.0); 
     323  thick_shell8.set_min(0.0); 
    315324  thick_shell9 = Parameter(50.0); 
     325  thick_shell9.set_min(0.0); 
    316326  thick_shell10 = Parameter(50.0); 
     327  thick_shell10.set_min(0.0); 
    317328 
    318329  func_shell1 = Parameter(2); 
Note: See TracChangeset for help on using the changeset viewer.