Changes in / [541e7c9:4937980] in sasmodels
- Location:
- sasmodels
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/generate.py
rd2bb604 re6408d0 15 15 16 16 *form_volume(p1, p2, ...)* returns the volume of the form with particular 17 dimension .17 dimension, or 1.0 if no volume normalization is required. 18 18 19 19 *ER(p1, p2, ...)* returns the effective radius of the form with -
sasmodels/models/flexible_cylinder.c
rd2bb604 re6408d0 2 2 form_volume(length, kuhn_length, radius) 3 3 { 4 return 1. ;4 return 1.0; 5 5 } 6 6 -
sasmodels/models/lib/sas_JN.c
r0278e3f re6408d0 53 53 54 54 const double MACHEP = 1.11022302462515654042E-16; 55 double pkm2, pkm1, pk, xk, r, ans , xinv;55 double pkm2, pkm1, pk, xk, r, ans; 56 56 int k, sign; 57 57 … … 123 123 124 124 #else 125 xinv = 1.0/x;125 const double xinv = 1.0/x; 126 126 pkm1 = ans * xinv; 127 127 k = n-1;
Note: See TracChangeset
for help on using the changeset viewer.