Geometry¶
MagTense Parameters¶
integer :: tileType
real :: r0, theta0, z0, dr, dtheta, dz
real :: a, b, c
real,dimension(3,4) :: vert
real,dimension(3) :: offset
real,dimension(3) :: rotAngles
With the mentioned parameters a tile can be arbitrarily defined in the global coordinate system. For each tile an individual local coordinate system is created.
Tile Types¶
1 = cylindrical tile
2 = prism
3 = circular piece
4 = inverted circular piece
5 = tetrahedron
6 = sphere
7 = spheroid
Offset¶
The offset is a three-dimensional vector, which determines the difference between the origin of the global coordinate system to the local coordinate system.
Rotation Angles¶
The rotation angles [radians] define the rotation of a tile in its local coordinate system. A tile can be rotated around its local axis with yaw (rotation around local z-axis, \(\psi\)), pitch (rotation around local y-axis, \(\theta\)) and roll (rotation around local x-axis, \(\phi\)).
Set geometric dimensions¶
Cylindrical Tile¶
Examples of how to compute the magnetic field from such a tile are given in Matlab and python.
Prism¶
Examples of how to compute the magnetic field from such a tile are given in Matlab and python.
Inverted Circular Piece¶
Examples of how to compute the magnetic field from such a tile are given in python.
Tetrahedron¶
Examples of how to compute the magnetic field from such a tile are given in Matlab and python.
Sphere¶
Examples of how to compute the magnetic field from such a tile are given in Matlab and python.
Spheroid¶
As a specialty of this geometry, rotation may be also defined as a rotation axis pointing in a given direction. One can either choose the symmetry axis (axis with a radius different to the other ones) or the c-axis. The arguments are defined in the interfaces and are translated to the corresponding rotation angles in the local coordinate system.
Examples of how to compute the magnetic field from such a tile are given in Matlab and python.