XGC1
|
#include "space_settings.hpp"
#include "grid.hpp"
#include "magnetic_field.hpp"
#include "electric_field.hpp"
#include "plasma.hpp"
Go to the source code of this file.
Functions | |
void | all_species_pullback_weight (const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const DomainDecomposition< DeviceType > &pol_decomp, ElectricField< DeviceType > &electric_field, Plasma &plasma, int direction) |
void all_species_pullback_weight | ( | const Grid< DeviceType > & | grid, |
const MagneticField< DeviceType > & | magnetic_field, | ||
const DomainDecomposition< DeviceType > & | pol_decomp, | ||
ElectricField< DeviceType > & | electric_field, | ||
Plasma & | plasma, | ||
int | direction | ||
) |
Perform the pullback transformation on all non-adiabatic species.
[in] | grid | is used to get weights for the field gather |
[in] | magnetic_field | is needed for psi and B calculation |
[in] | electric_field | is used for magnetic potential Ah |
[in] | plasma | contains all species and particle data |
[in] | direction | is the direction of the pullback (-1 or 1) |