Ignore:
Timestamp:
Aug 19, 2008 2:42:22 PM (16 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
d30fdde
Parents:
a86bbe9
Message:

Update of all C models to the new style of C++ models

File:
1 edited

Legend:

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

    rae3ce4e r0f5bc9f  
    22#define core_shell_cylinder_h 
    33 
    4 /**  
    5  * Structure definition for core-shell cylinder parameters  
     4/** 
     5 * Structure definition for core-shell cylinder parameters 
    66 */ 
    77 //[PYTHONCLASS] = CoreShellCylinderModel 
     8 //[DISP_PARAMS] = radius, thickness, length, axis_theta, axis_phi 
    89typedef struct { 
    9     /// Scale factor  
     10    /// Scale factor 
    1011    //  [DEFAULT]=scale=1.0 
    1112    double scale; 
    12      
     13 
    1314    /// Core radius [A] 
    1415    //  [DEFAULT]=radius=20.0 A 
    1516    double radius; 
    16      
     17 
    1718    /// Shell thickness [A] 
    1819    //  [DEFAULT]=thickness=10.0 A 
    1920    double thickness; 
    20      
     21 
    2122    /// Core length [A] 
    2223    //  [DEFAULT]=length=400.0 A 
    2324    double length; 
    24      
     25 
    2526    /// Core SLD [A-2] 
    2627    //  [DEFAULT]=core_sld=1.0e-6 A-2 
    2728    double core_sld; 
    28      
     29 
    2930    /// Shell SLD [A-2] 
    3031    //  [DEFAULT]=shell_sld=4.0e-6 A-2 
    3132    double shell_sld; 
    32      
     33 
    3334    /// Solvent SLD [A-2] 
    3435    //  [DEFAULT]=solvent_sld=1.0e-6 A-2 
    3536    double solvent_sld; 
    36      
     37 
    3738        /// Incoherent Background [cm-1] 
    3839        //  [DEFAULT]=background=0 cm-1 
    39         double background;     
    40          
     40        double background; 
     41 
    4142    /// Orientation of the long axis of the core-shell cylinder w/respect incoming beam [rad] 
    4243    //  [DEFAULT]=axis_theta=1.57 rad 
    4344    double axis_theta; 
    44      
     45 
    4546    /// Orientation of the long axis of the core-shell cylinder in the plane of the detector [rad] 
    4647    //  [DEFAULT]=axis_phi=0.0 rad 
    47     double axis_phi;     
    48          
     48    double axis_phi; 
     49 
    4950} CoreShellCylinderParameters; 
    5051 
Note: See TracChangeset for help on using the changeset viewer.