Ignore:
Timestamp:
Feb 26, 2009 2:13:36 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:
369e492e
Parents:
8bd764d
Message:

Enable structure factors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/src/sans/models/c_models/models.hh

    r0f5bc9f r25579e8  
    6060}; 
    6161 
     62class HardsphereStructure{ 
     63public: 
     64        // Model parameters 
     65        Parameter radius; 
     66        Parameter volfraction; 
     67 
     68        // Constructor 
     69        HardsphereStructure(); 
     70 
     71        // Operators to get I(Q) 
     72        double operator()(double q); 
     73        double operator()(double qx, double qy); 
     74        double evaluate_rphi(double q, double phi); 
     75}; 
     76 
     77class StickyHSStructure{ 
     78public: 
     79        // Model parameters 
     80        Parameter radius; 
     81        Parameter volfraction; 
     82        Parameter perturb; 
     83        Parameter stickiness; 
     84 
     85        // Constructor 
     86        StickyHSStructure(); 
     87 
     88        // Operators to get I(Q) 
     89        double operator()(double q); 
     90        double operator()(double qx, double qy); 
     91        double evaluate_rphi(double q, double phi); 
     92}; 
     93 
     94class SquareWellStructure{ 
     95public: 
     96        // Model parameters 
     97        Parameter radius; 
     98        Parameter volfraction; 
     99        Parameter welldepth; 
     100        Parameter wellwidth; 
     101 
     102        // Constructor 
     103        SquareWellStructure(); 
     104 
     105        // Operators to get I(Q) 
     106        double operator()(double q); 
     107        double operator()(double qx, double qy); 
     108        double evaluate_rphi(double q, double phi); 
     109}; 
     110 
     111class HayterMSAStructure{ 
     112public: 
     113        // Model parameters 
     114        Parameter radius; 
     115        Parameter charge; 
     116        Parameter volfraction; 
     117        Parameter temperature; 
     118        Parameter saltconc; 
     119        Parameter dielectconst; 
     120         
     121        // Constructor 
     122        HayterMSAStructure(); 
     123 
     124        // Operators to get I(Q) 
     125        double operator()(double q); 
     126        double operator()(double qx, double qy); 
     127        double evaluate_rphi(double q, double phi); 
     128}; 
     129 
    62130class CoreShellModel{ 
    63131public: 
Note: See TracChangeset for help on using the changeset viewer.