Ignore:
Timestamp:
Aug 20, 2009 1:24:23 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:
1d67243
Parents:
191b369
Message:

fixed and tested ppmodel 2d and cleaned it up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/src/sans/models/c_extensions/parallelepiped.h

    r2cb89e7 r8e36cdd  
    77/** Structure definition for Parallelepiped parameters 
    88 * [PYTHONCLASS] = ParallelepipedModel 
    9  * [DISP_PARAMS] = short_a, long_b, longer_c,parallel_phi,parallel_psi, parallel_theta 
     9 * [DISP_PARAMS] = short_a, short_b, long_c,parallel_phi,parallel_psi, parallel_theta 
    1010   [DESCRIPTION] = <text> Form factor for a rectangular solid with uniform scattering length density. 
    1111 
    1212                scale:Scale factor 
    13                 short_a: length of short side of the parallelepiped [A] 
    14                 long_b: length of long side of the parallelepiped [A] 
    15                 longer_c: length of longer side of the parallelepiped [A] 
     13                short_a: length of short edge [A] 
     14                short_b: length of another short edge [A] 
     15                long_c: length of long edge of the parallelepiped [A] 
    1616                contrast: particle_sld - solvent_sld 
    1717                background:Incoherent Background [1/cm] 
    1818                </text> 
    19         [FIXED]= <text>short_a.width; long_b.width; longer_c.width;parallel_phi.width;parallel_psi.width; parallel_theta.width</text> 
     19        [FIXED]= <text>short_a.width; short_b.width; long_c.width;parallel_phi.width;parallel_psi.width; parallel_theta.width</text> 
    2020        [ORIENTATION_PARAMS]= <text>parallel_phi;parallel_psi; parallel_theta; parallel_phi.width;parallel_psi.width; parallel_theta.width</text> 
    2121 
     
    2626    //  [DEFAULT]=scale=1.0 
    2727    double scale; 
    28     ///  Length of short side of the parallelepiped [A] 
     28    ///  Length of short edge of the parallelepiped [A] 
    2929    //  [DEFAULT]=short_a=35 [A] 
    3030    double short_a; 
    31         /// Length of long side edge of the parallelepiped [A] 
    32     //  [DEFAULT]=long_b=75 [A] 
    33     double long_b; 
    34         /// Length of longer side of the parallelepiped [A] 
    35     //  [DEFAULT]=longer_c=400 [A] 
    36     double longer_c; 
     31        /// Length of short edge edge of the parallelepiped [A] 
     32    //  [DEFAULT]=short_b=75 [A] 
     33    double short_b; 
     34        /// Length of long edge of the parallelepiped [A] 
     35    //  [DEFAULT]=long_c=400 [A] 
     36    double long_c; 
    3737    /// Contrast [1/A²] 
    3838    //  [DEFAULT]=contrast=5.3e-6 [1/A²] 
Note: See TracChangeset for help on using the changeset viewer.