ASCOT5
|
Header file for biosaw.c. More...
#include "ascot5.h"
Go to the source code of this file.
Functions | |
void | biosaw_calc_B (int n, real *x, real *y, real *z, int coil_n, real *coil_x, real *coil_y, real *coil_z, real *Bx, real *By, real *Bz) |
Evaluate magnetic field due to a coil at given points. | |
void biosaw_calc_B | ( | int | n, |
real * | x, | ||
real * | y, | ||
real * | z, | ||
int | coil_n, | ||
real * | coil_x, | ||
real * | coil_y, | ||
real * | coil_z, | ||
real * | Bx, | ||
real * | By, | ||
real * | Bz ) |
Evaluate magnetic field due to a coil at given points.
The magnetic field is evaluated using Biot-Savart law.
n | number of query points |
x | x-coordinate of a query point [m] |
y | y-coordinate of a query point [m] |
z | z-coordinate of a query point [m] |
coil_n | number of points in coil geometry |
coil_x | coil geometry x-coordinate [m] |
coil_y | coil geometry y-coordinate [m] |
coil_z | coil geometry z-coordinate [m] |
Bx | evaluated magnetic field x-component [T] |
By | evaluated magnetic field y-component [T] |
Bz | evaluated magnetic field z-component [T] |