Generates equally spaced quadrature points on a marker gyro-orbit.
More...
#include "gyropoints.hpp"
|
| static void | computeGyropoints_cylinder (Kokkos::View< Real ** > &gyropoints, int na, Real X, Real Y, Real rho, Real B0, Real Bz) |
| | Generate gyro-points for the curved cylindrical model.
|
| |
| static void | computeGyropoints_ORB5 (Kokkos::View< Real ** > &gyropoints, int na, Real S, Real CHI, Real rho, Real larmsc, Real larmchic, Real larmchis) |
| | Generate a gyro-ring in ORB5 magnetic flux coordinates.
|
| |
| static void | computeGyropoints_straight_cylinder (Kokkos::View< Real ** > &gyropoints, int na, Real X, Real Y, Real rho) |
| | Generate a circular ring in a straight Cartesian/cylindrical plane.
|
| |
Generates equally spaced quadrature points on a marker gyro-orbit.
Field deposition and interpolation use these positions to approximate the gyrophase average for gyrokinetic species. Each routine writes two coordinate components for na gyrophases into a caller-owned Kokkos view; inputs and outputs follow the normalized coordinate system of the selected geometry.
◆ computeGyropoints_cylinder()
| static void orb5x::Gyropoints::computeGyropoints_cylinder |
( |
Kokkos::View< Real ** > & |
gyropoints, |
|
|
int |
na, |
|
|
Real |
X, |
|
|
Real |
Y, |
|
|
Real |
rho, |
|
|
Real |
B0, |
|
|
Real |
Bz |
|
) |
| |
|
static |
Generate gyro-points for the curved cylindrical model.
- Parameters
-
| [out] | gyropoints | View with shape (2,na) holding displaced X and Y coordinates. |
| [in] | na | Number of uniformly spaced gyrophases. |
| [in] | X | Guiding-centre first coordinate. |
| [in] | Y | Guiding-centre second coordinate. |
| [in] | rho | Normalized Larmor radius in the same length units as X/Y. |
| [in] | B0 | Reference magnetic-field component in normalized field units. |
| [in] | Bz | Axial magnetic-field component in normalized field units. |
◆ computeGyropoints_ORB5()
| static void orb5x::Gyropoints::computeGyropoints_ORB5 |
( |
Kokkos::View< Real ** > & |
gyropoints, |
|
|
int |
na, |
|
|
Real |
S, |
|
|
Real |
CHI, |
|
|
Real |
rho, |
|
|
Real |
larmsc, |
|
|
Real |
larmchic, |
|
|
Real |
larmchis |
|
) |
| |
|
static |
Generate a gyro-ring in ORB5 magnetic flux coordinates.
- Parameters
-
| [out] | gyropoints | View with shape (2,na) containing (s,chi) points. |
| [in] | na | Number of uniformly spaced gyrophases. |
| [in] | S | Guiding-centre normalized radial coordinate. |
| [in] | CHI | Guiding-centre poloidal angle [rad]. |
| [in] | rho | Normalized Larmor radius. |
| [in] | larmsc | Equilibrium coefficient for the radial cosine displacement. |
| [in] | larmchic | Equilibrium coefficient for the poloidal cosine displacement. |
| [in] | larmchis | Equilibrium coefficient for the poloidal sine displacement. |
◆ computeGyropoints_straight_cylinder()
| static void orb5x::Gyropoints::computeGyropoints_straight_cylinder |
( |
Kokkos::View< Real ** > & |
gyropoints, |
|
|
int |
na, |
|
|
Real |
X, |
|
|
Real |
Y, |
|
|
Real |
rho |
|
) |
| |
|
static |
Generate a circular ring in a straight Cartesian/cylindrical plane.
- Parameters
-
| [out] | gyropoints | View with shape (2,na). |
| [in] | na | Number of uniformly spaced gyrophases. |
| [in] | X | Guiding-centre first coordinate. |
| [in] | Y | Guiding-centre second coordinate. |
| [in] | rho | Normalized Larmor radius. |
The documentation for this class was generated from the following file: