Go to the source code of this file.
|
| void | ptb_3db_replace_b_grad_phi (double *tmp) |
| |
| void | get_field_Ah_cv_ff (const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, const GridField< HostType, VarType::Scalar, PhiInterpType::None, TorType::MultiplePlanes, KinType::DriftKin > &Ah_cv_h, const GridField< HostType, VarType::Scalar, PhiInterpType::Planes, TorType::OnePlane, KinType::DriftKin > &Ah_cv_ff) |
| |
| template<class DeviceIn , class DeviceOut , VarType VT, PhiInterpType PIT, TorType TT, KinType KT> |
| void | get_field_grad (const Grid< DeviceType > &grid, GetPotGradFieldArgs< DeviceIn, DeviceOut, VT, PIT, TT, KT > &args, GetPotentialGradTemp< DeviceType, DeviceOut > &tmp) |
| |
◆ get_field_Ah_cv_ff()
| void get_field_Ah_cv_ff |
( |
const Grid< DeviceType > & |
grid, |
|
|
const DomainDecomposition< DeviceType > & |
pol_decomp, |
|
|
const GridField< HostType, VarType::Scalar, PhiInterpType::None, TorType::MultiplePlanes, KinType::DriftKin > & |
Ah_cv_h, |
|
|
const GridField< HostType, VarType::Scalar, PhiInterpType::Planes, TorType::OnePlane, KinType::DriftKin > & |
Ah_cv_ff |
|
) |
| |
◆ get_field_grad()
template<class DeviceIn , class DeviceOut , VarType VT, PhiInterpType PIT, TorType TT, KinType KT>
Calculates a gyro-averaged potential and its gradients, in field-following coordinates (if XGC1).
- Parameters
-
| [in] | grid | is the grid object |
| [in] | magnetic_field | is the magnetic field object |
| [in] | input_potential | is the input potential |
| [out] | psn_field_rho_ff | is the gyroaveraged potential (field-following if XGC1) |
| [out] | psn_gradient_rho_ff | is the gyroaveraged gradient (field-following if XGC1) |
| [in] | calculate_E_int | is 1 if calculating E, which has some extra steps compared to the As or Ah calculation |
- Returns
- void
◆ ptb_3db_replace_b_grad_phi()
| void ptb_3db_replace_b_grad_phi |
( |
double * |
tmp | ) |
|