Changeset d42dd4a in sasmodels
- Timestamp:
- Oct 26, 2018 12:18:32 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:
- f872fd1
- Parents:
- 12f4c19
- Location:
- sasmodels/models
- Files:
-
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/barbell.c
r6d5601c rd42dd4a 80 80 { 81 81 switch (mode) { 82 default: 82 83 case 1: // equivalent sphere 83 84 return radius_from_volume(radius_bell, radius , length); -
sasmodels/models/capped_cylinder.c
r6d5601c rd42dd4a 102 102 { 103 103 switch (mode) { 104 default: 104 105 case 1: // equivalent sphere 105 106 return radius_from_volume(radius, radius_cap, length); -
sasmodels/models/core_multi_shell.c
ree60aa7 rd42dd4a 29 29 { 30 30 switch (mode) { 31 default: 31 32 case 1: // outer radius 32 33 return outer_radius(core_radius, fp_n, thickness); -
sasmodels/models/core_shell_bicelle.c
r6d5601c rd42dd4a 55 55 { 56 56 switch (mode) { 57 default: 57 58 case 1: // equivalent sphere 58 59 return radius_from_volume(radius, thick_rim, thick_face, length); -
sasmodels/models/core_shell_bicelle_elliptical.c
r6d5601c rd42dd4a 30 30 { 31 31 switch (mode) { 32 default: 32 33 case 1: // equivalent sphere 33 34 return radius_from_volume(r_minor, x_core, thick_rim, thick_face, length); -
sasmodels/models/core_shell_bicelle_elliptical_belt_rough.c
r6d5601c rd42dd4a 31 31 { 32 32 switch (mode) { 33 default: 33 34 case 1: // equivalent sphere 34 35 return radius_from_volume(r_minor, x_core, thick_rim, thick_face, length); -
sasmodels/models/core_shell_cylinder.c
r6d5601c rd42dd4a 32 32 { 33 33 switch (mode) { 34 default: 34 35 case 1: // equivalent sphere 35 36 return radius_from_volume(radius, thickness, length); -
sasmodels/models/core_shell_ellipsoid.c
r6d5601c rd42dd4a 74 74 75 75 switch (mode) { 76 default: 76 77 case 1: // equivalent sphere 77 78 return radius_from_volume(radius_equat_core, x_core, thick_shell, x_polar_shell); -
sasmodels/models/core_shell_parallelepiped.c
ree60aa7 rd42dd4a 47 47 { 48 48 switch (mode) { 49 default: 49 50 case 1: // equivalent sphere 50 51 return radius_from_volume(length_a, length_b, length_c, thick_rim_a, thick_rim_b, thick_rim_c); -
sasmodels/models/core_shell_sphere.c
ree60aa7 rd42dd4a 9 9 { 10 10 switch (mode) { 11 default: 11 12 case 1: // outer radius 12 13 return radius + thickness; -
sasmodels/models/cylinder.c
r6d5601c rd42dd4a 29 29 { 30 30 switch (mode) { 31 default: 31 32 case 1: 32 33 return radius_from_volume(radius, length); -
sasmodels/models/ellipsoid.c
ree60aa7 rd42dd4a 35 35 { 36 36 switch (mode) { 37 default: 37 38 case 1: // equivalent sphere 38 39 return radius_from_volume(radius_polar, radius_equatorial); -
sasmodels/models/elliptical_cylinder.c
r6d5601c rd42dd4a 37 37 { 38 38 switch (mode) { 39 default: 39 40 case 1: // equivalent sphere 40 41 return radius_from_volume(radius_minor, r_ratio, length); -
sasmodels/models/fuzzy_sphere.c
ree60aa7 rd42dd4a 8 8 { 9 9 switch (mode) { 10 default: 10 11 case 1: // radius 11 12 return radius; -
sasmodels/models/hollow_cylinder.c
r6d5601c rd42dd4a 30 30 { 31 31 switch (mode) { 32 default: 32 33 case 1: // equivalent sphere 33 34 return radius_from_volume(radius, thickness, length); -
sasmodels/models/hollow_rectangular_prism.c
r6d5601c rd42dd4a 26 26 { 27 27 switch (mode) { 28 default: 28 29 case 1: // equivalent sphere 29 30 return cbrt(cube(length_a)*b2a_ratio*c2a_ratio/M_4PI_3); -
sasmodels/models/hollow_rectangular_prism_thin_walls.c
r6d5601c rd42dd4a 21 21 { 22 22 switch (mode) { 23 default: 23 24 case 1: // equivalent sphere 24 25 return cbrt(cube(length_a)*b2a_ratio*c2a_ratio/M_4PI_3); -
sasmodels/models/mono_gauss_coil.c
ree60aa7 rd42dd4a 8 8 { 9 9 switch (mode) { 10 default: 10 11 case 1: // R_g 11 12 return rg; -
sasmodels/models/parallelepiped.c
r6d5601c rd42dd4a 9 9 { 10 10 switch (mode) { 11 default: 11 12 case 1: // equivalent sphere 12 13 return cbrt(length_a*length_b*length_c/M_4PI_3); -
sasmodels/models/pringle.c
r6d5601c rd42dd4a 108 108 { 109 109 switch (mode) { 110 default: 110 111 case 1: // equivalent sphere 111 112 return cbrt(M_PI*radius*radius*thickness/M_4PI_3); -
sasmodels/models/raspberry.c
ree60aa7 rd42dd4a 18 18 { 19 19 switch (mode) { 20 default: 20 21 case 1: // radius_large 21 22 return radius_lg; -
sasmodels/models/rectangular_prism.c
r6d5601c rd42dd4a 9 9 { 10 10 switch (mode) { 11 default: 11 12 case 1: // equivalent sphere 12 13 return cbrt(cube(length_a)*b2a_ratio*c2a_ratio/M_4PI_3); -
sasmodels/models/triaxial_ellipsoid.c
ree60aa7 rd42dd4a 31 31 { 32 32 switch (mode) { 33 default: 33 34 case 1: // equivalent sphere 34 35 return radius_from_volume(radius_equat_minor,radius_equat_major, radius_polar);
Note: See TracChangeset
for help on using the changeset viewer.