Writes generated poincare data to a NetCDF file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | filename |
File name to save to |
||
| integer, | intent(in) | :: | n_surfaces |
Number of flux surfaces |
||
| integer, | intent(in) | :: | n_turns |
Number of toroidal rotations |
||
| integer, | intent(in) | :: | n_planes |
Number of toroidal planes |
||
| real(kind=FP), | intent(in), | dimension(n_planes) | :: | phi_array |
Toroidal angles of each plane |
|
| real(kind=FP), | intent(in), | dimension(2, n_planes, n_turns + 1, n_surfaces) | :: | poincare_data |
Generated Poincare data: x and y locations of the field lines for every surface, turn, and plane |