Changeset 890ac7f1 in sasview for sansmodels/src/sans/models/c_extensions/refl.c
- Timestamp:
- Nov 30, 2011 2:43:17 PM (13 years ago)
- 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:
- 2138c061
- Parents:
- e161fac
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/c_extensions/refl.c
r0164899a r890ac7f1 24 24 25 25 double sld[n+2],thick_inter[n+2],thick[n+2],total_thick; 26 fun_type[0] = dp[3]; 26 double nsl=21.0; //nsl = Num_sub_layer: 27 int n_s; 28 double sld_i,sldim_i,dz,phi,R,ko2; 29 double sign,erfunc, fun; 30 double pi; 31 32 fun_type[0] = dp[3]; 27 33 for (i =1; i<=n; i++){ 28 34 sld[i] = dp[i+6]; … … 40 46 thick_inter[n+1] = 0.0; 41 47 42 double nsl=21.0; //nsl = Num_sub_layer:43 int n_s;44 double sld_i,sldim_i,dz,phi,R,ko2;45 double sign,erfunc, fun;46 double pi;47 48 complex inv_n,phi1,alpha,alpha2,kn,fnm,fnp,rn,Xn,nn,nn2,an,nnp1,one,zero,two,n_sub,n_sup,knp1,Xnp1; 48 49 pi = 4.0*atan(1.0);
Note: See TracChangeset
for help on using the changeset viewer.