XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
get_drift_velocity.hpp File Reference
#include "push_physics.hpp"
Include dependency graph for get_drift_velocity.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

KOKKOS_INLINE_FUNCTION void fields_at_node (const GridFieldPack< DeviceType, PIT_GLOBAL > &gfpack, const PushControls &push_controls, const Grid< DeviceType > &grid, const SimdVector &B, const SimdVector2D &gradpsi, const Simd< int > &global_inds, const SimdGridWeights< Order::One, PIT_GLOBAL > grid_wts, const SimdGyroWeights< KinType::GyroKin > &rho_wts, LocalFields &fld)
 
KOKKOS_INLINE_FUNCTION void pot_rho_at_node (const GridField< DeviceType, VarType::Scalar, PIT_GLOBAL, TorType::OnePlane, KinType::GyroKin > &pot, const Grid< DeviceType > &grid, const Simd< int > &global_inds, const SimdGridWeights< Order::One, PIT_GLOBAL > grid_wts, const SimdGyroWeights< KinType::GyroKin > &rho_wts, Simd< double > &pot_out)
 
KOKKOS_INLINE_FUNCTION void get_v_par_drift (double D, const SimdVector &bfield, const SimdVector &tdb, const double(&curl_nb)[3], const LocalFields &fld, double over_B, double cmrho, double gradpsi_r_norm, double gradpsi_z_norm, double(&v_par)[3], int i_simd)
 
KOKKOS_INLINE_FUNCTION void get_v_mag_drift (double D, double cmrho, double mu, double u, double rho, double c_m, double charge, double inv_r, const double(&curl_B)[3], const double(&grad_B)[3], const LocalFields &fld, const SimdVector &bfield, double B, double over_B2, double gradpsi_r_norm, double gradpsi_z_norm, const Simd< double > &v_curv_rad_fsa, const Simd< double > &v_grad_B_rad_fsa, double(&v_mag)[3], int i_simd)
 
KOKKOS_INLINE_FUNCTION void get_drift_velocity (const Species< DeviceType > &species, const Simd< double > &vp, const Simd< double > &v_curv_rad_fsa, const Simd< double > &v_grad_B_rad_fsa, const Simd< double > &mu, const SimdVector &bfield, const SimdVector(&jacb)[3], const SimdVector &tdb, const Simd< double > &B_mag, const Simd< double > &inv_r, const Simd< double > &gradpsi_r_norm, const Simd< double > &gradpsi_z_norm, const LocalFields &fld, SimdVector &v_mag, SimdVector &v_exb, SimdVector &v_par)
 

Function Documentation

KOKKOS_INLINE_FUNCTION void fields_at_node ( const GridFieldPack< DeviceType, PIT_GLOBAL > &  gfpack,
const PushControls push_controls,
const Grid< DeviceType > &  grid,
const SimdVector B,
const SimdVector2D gradpsi,
const Simd< int > &  global_inds,
const SimdGridWeights< Order::One, PIT_GLOBAL grid_wts,
const SimdGyroWeights< KinType::GyroKin > &  rho_wts,
LocalFields fld 
)

Here is the call graph for this function:

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION void get_drift_velocity ( const Species< DeviceType > &  species,
const Simd< double > &  vp,
const Simd< double > &  v_curv_rad_fsa,
const Simd< double > &  v_grad_B_rad_fsa,
const Simd< double > &  mu,
const SimdVector bfield,
const SimdVector(&)  jacb[3],
const SimdVector tdb,
const Simd< double > &  B_mag,
const Simd< double > &  inv_r,
const Simd< double > &  gradpsi_r_norm,
const Simd< double > &  gradpsi_z_norm,
const LocalFields fld,
SimdVector v_mag,
SimdVector v_exb,
SimdVector v_par 
)

Here is the call graph for this function:

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION void get_v_mag_drift ( double  D,
double  cmrho,
double  mu,
double  u,
double  rho,
double  c_m,
double  charge,
double  inv_r,
const double(&)  curl_B[3],
const double(&)  grad_B[3],
const LocalFields fld,
const SimdVector bfield,
double  B,
double  over_B2,
double  gradpsi_r_norm,
double  gradpsi_z_norm,
const Simd< double > &  v_curv_rad_fsa,
const Simd< double > &  v_grad_B_rad_fsa,
double(&)  v_mag[3],
int  i_simd 
)

Here is the call graph for this function:

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION void get_v_par_drift ( double  D,
const SimdVector bfield,
const SimdVector tdb,
const double(&)  curl_nb[3],
const LocalFields fld,
double  over_B,
double  cmrho,
double  gradpsi_r_norm,
double  gradpsi_z_norm,
double(&)  v_par[3],
int  i_simd 
)

Here is the call graph for this function:

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION void pot_rho_at_node ( const GridField< DeviceType, VarType::Scalar, PIT_GLOBAL, TorType::OnePlane, KinType::GyroKin > &  pot,
const Grid< DeviceType > &  grid,
const Simd< int > &  global_inds,
const SimdGridWeights< Order::One, PIT_GLOBAL grid_wts,
const SimdGyroWeights< KinType::GyroKin > &  rho_wts,
Simd< double > &  pot_out 
)

Here is the caller graph for this function: