Changeset 6d5601c in sasmodels for sasmodels/models/hollow_cylinder.c
- Timestamp:
- Oct 25, 2018 5:03:37 PM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 304c775
- Parents:
- 149eb53
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/hollow_cylinder.c
re44432d r6d5601c 17 17 { 18 18 const double volume_outer_cyl = M_PI*square(radius + thickness)*length; 19 return cbrt( 0.75*volume_outer_cyl/M_PI);19 return cbrt(volume_outer_cyl/M_4PI_3); 20 20 } 21 21
Note: See TracChangeset
for help on using the changeset viewer.