| 22 |
|
.5, 1., 1. |
| 23 |
|
}; |
| 24 |
|
|
| 25 |
< |
#ifdef _WIN32 |
| 25 |
> |
#if defined(_WIN32) || defined(_WIN64) |
| 26 |
|
char validf[] = "-e \"valid(s,t)=X`SYS(s,t)^2+Y`SYS(s,t)^2+Z`SYS(s,t)^2-1e-7\""; |
| 27 |
|
#else |
| 28 |
|
char validf[] = "-e 'valid(s,t)=X`SYS(s,t)^2+Y`SYS(s,t)^2+Z`SYS(s,t)^2-1e-7'"; |
| 137 |
|
"transmission" : "reflection"), |
| 138 |
|
rbf->vtotal); |
| 139 |
|
#endif |
| 140 |
+ |
printf("# Incident direction (theta,phi) = (%.2f,%.2f) deg.\n\n", |
| 141 |
+ |
(180./M_PI)*theta, (180./M_PI)*phi); |
| 142 |
|
printf("void trans tmat\n0\n0\n7 %f %f %f .04 .04 .9 1\n", |
| 143 |
|
colarr[n][0], colarr[n][1], colarr[n][2]); |
| 144 |
|
if (showPeaks && rbf != NULL) { |