source: sasmodels/sasmodels/models/core_shell_sphere.c @ 71b751d

core_shell_microgelsmagnetic_modelticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change on this file since 71b751d was 71b751d, checked in by Paul Kienzle <pkienzle@…>, 6 years ago

update remaining form factors to use Fq interface

  • Property mode set to 100644
File size: 545 bytes
Line 
1static double
2form_volume(double radius, double thickness)
3{
4    return M_4PI_3 * cube(radius + thickness);
5}
6
7static void
8Fq(double q, double *F1, double *F2, double radius,
9   double thickness, double core_sld, double shell_sld, double solvent_sld) {
10    double form = core_shell_fq(q,
11                              radius,
12                              thickness,
13                              core_sld,
14                              shell_sld,
15                              solvent_sld);
16    *F1 = 1.0e-2*form;
17    *F2 = 1.0e-4*form*form;
18}
Note: See TracBrowser for help on using the repository browser.