Changeset 318b5bbb in sasview for sansmodels/include/libmultifunc


Ignore:
Timestamp:
Dec 18, 2012 10:55:24 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:
6550b64
Parents:
0203ade
Message:

Added polarization and magnetic stuffs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/include/libmultifunc/libfunc.h

    r5da3cc5 r318b5bbb  
    11#if !defined(o_h) 
    22#define libfunc_h 
     3typedef struct { 
     4        double uu; 
     5        double dd; 
     6        double re_ud; 
     7        double im_ud; 
     8        double re_du; 
     9        double im_du; 
     10} polar_sld; 
    311 
    412int factorial(int i); 
     
    917 
    1018double gamln(double x); 
     19 
     20polar_sld cal_msld(int isangle, double qx, double qy, double bn, double m01, double mtheta1,  
     21                        double mphi1, double spinfraci, double spinfracf, double spintheta); 
    1122 
    1223void gser(float *gamser, float a, float x, float *gln); 
Note: See TracChangeset for help on using the changeset viewer.