Changeset f4878dc in sasmodels
- Timestamp:
- Mar 17, 2016 12:26:22 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:
- d8509a6
- Parents:
- 684eff9
- Location:
- sasmodels/models
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_cylinder.c
r3936ad3 rf4878dc 11 11 double _cyl(double twovd, double besarg, double siarg) 12 12 { 13 const double bj = (besarg == 0.0 ? 0.5 : j1(besarg)/besarg);13 const double bj = (besarg == 0.0 ? 0.5 : J1(besarg)/besarg); 14 14 const double si = (siarg == 0.0 ? 1.0 : sin(siarg)/siarg); 15 15 return twovd*si*bj; -
sasmodels/models/core_shell_cylinder.py
r16afd49 rf4878dc 127 127 ] 128 128 129 source = ["lib/ polevl.c", "lib/j1d.c", "lib/gauss76.c", "core_shell_cylinder.c"]129 source = ["lib/J1.c", "lib/gauss76.c", "core_shell_cylinder.c"] 130 130 131 131 def ER(radius, thickness, length):
Note: See TracChangeset
for help on using the changeset viewer.