Go to the source code of this file.
|
void | get_pot_epar_em_filter (double *tmp, double *E_para_em, double *spitzer_res, int *bndry) |
|
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 Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, const MagneticField< DeviceType > &magnetic_field, Smoothing &smoothing, GetPotGradFieldArgs< DeviceIn, DeviceOut, VT, PIT, TT, KT > &field_args, GetPotentialGradTemp< DeviceType, DeviceOut > &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 Simulation< DeviceType > & |
sml, |
|
|
const Grid< DeviceType > & |
grid, |
|
|
const DomainDecomposition< DeviceType > & |
pol_decomp, |
|
|
const MagneticField< DeviceType > & |
magnetic_field, |
|
|
Smoothing & |
smoothing, |
|
|
GetPotGradFieldArgs< DeviceIn, DeviceOut, VT, PIT, TT, KT > & |
args, |
|
|
GetPotentialGradTemp< DeviceType, DeviceOut > & |
tmp |
|
) |
| |
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
void get_pot_epar_em_filter |
( |
double * |
tmp, |
|
|
double * |
E_para_em, |
|
|
double * |
spitzer_res, |
|
|
int * |
bndry |
|
) |
| |