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

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)
 

Function Documentation

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.

Parameters
[in]gridis used to get weights for the field gather
[in]magnetic_fieldis needed for psi and B calculation
[in]electric_fieldis used for magnetic potential Ah
[in]plasmacontains all species and particle data
[in]directionis the direction of the pullback (-1 or 1)
Returns
void

Here is the call graph for this function:

Here is the caller graph for this function: