Changeset e6408d0 in sasmodels
- Timestamp:
- Apr 6, 2016 7:44:11 PM (9 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 3a45c2c, 65279d8
- Parents:
- 0278e3f
- Location:
- sasmodels
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/generate.py
r4d76711 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
r43b7eea re6408d0 10 10 double form_volume(double length, double kuhn_length, double radius) 11 11 { 12 13 return 0.0; 12 return 1.0; 14 13 } 15 14 -
sasmodels/models/lib/sas_JN.c
r0278e3f re6408d0 52 52 53 53 const double MACHEP = 1.11022302462515654042E-16; 54 double pkm2, pkm1, pk, xk, r, ans , xinv;54 double pkm2, pkm1, pk, xk, r, ans; 55 55 int k, sign; 56 56 … … 122 122 123 123 #else 124 xinv = 1.0/x;124 const double xinv = 1.0/x; 125 125 pkm1 = ans * xinv; 126 126 k = n-1;
Note: See TracChangeset
for help on using the changeset viewer.