magnetic_scattrelease-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change
on this file since f0ce6e2 was
144e032a,
checked in by Paul Kienzle <pkienzle@…>, 7 years ago
|
tinycc doesn't return structures, so must pass return structure as pointer
|
-
Property mode set to
100644
|
File size:
602 bytes
|
Line | |
---|
1 | #if !defined(o_h) |
---|
2 | #define libfunc_h |
---|
3 | typedef struct { |
---|
4 | double uu; |
---|
5 | double dd; |
---|
6 | double re_ud; |
---|
7 | double im_ud; |
---|
8 | double re_du; |
---|
9 | double im_du; |
---|
10 | } polar_sld; |
---|
11 | |
---|
12 | int factorial(int i); |
---|
13 | |
---|
14 | double Si(double x); |
---|
15 | |
---|
16 | double sinc(double x); |
---|
17 | |
---|
18 | //double gamln(double x); |
---|
19 | |
---|
20 | void cal_msld(polar_sld*, int isangle, double qx, double qy, double bn, double m01, double mtheta1, |
---|
21 | double mphi1, double spinfraci, double spinfracf, double spintheta); |
---|
22 | |
---|
23 | //void gser(float *gamser, float a, float x, float *gln); |
---|
24 | |
---|
25 | //void gcf(float *gammcf, float a, float x, float *gln); |
---|
26 | |
---|
27 | //float gammp(float a,float x); |
---|
28 | |
---|
29 | //float erff(float x); |
---|
30 | |
---|
31 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.