Changeset a0782f1 in sasview for sansmodels/src/sans/models/c_models


Ignore:
Timestamp:
Mar 31, 2009 5:54:58 PM (16 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:
40945a3
Parents:
6b38781
Message:

Added 2nd virial coeff. functions

File:
1 edited

Legend:

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

    r25579e8 ra0782f1  
    118118        Parameter saltconc; 
    119119        Parameter dielectconst; 
    120          
     120 
    121121        // Constructor 
    122122        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 
     130class DiamEllipFunc{ 
     131public: 
     132        // Model parameters 
     133        Parameter radius_a; 
     134        Parameter radius_b; 
     135 
     136        // Constructor 
     137        DiamEllipFunc(); 
     138 
     139        // Operators to get I(Q) 
     140        double operator()(double q); 
     141        double operator()(double qx, double qy); 
     142        double evaluate_rphi(double q, double phi); 
     143}; 
     144 
     145class DiamCylFunc{ 
     146public: 
     147        // Model parameters 
     148        Parameter radius; 
     149        Parameter length; 
     150 
     151        // Constructor 
     152        DiamCylFunc(); 
    123153 
    124154        // Operators to get I(Q) 
Note: See TracChangeset for help on using the changeset viewer.