A class which computes charges density with Kokkos. More...
Public Member Functions | |
ChargeDensityCalculator (DConstFieldVx coeffs) | |
Create a ChargeDensityCalculator object. | |
DFieldX | operator() (DFieldX rho, DConstFieldSpXVx allfdistribu) const final |
Computes the charge density rho from the distribution function. | |
ChargeDensityCalculator (DConstFieldVxVy coeffs) | |
Create a ChargeDensityCalculator object. | |
void | operator() (DFieldXY rho, DConstFieldSpXYVxVy allfdistribu) const final |
Computes the charge density rho from the distribution function. | |
A class which computes charges density with Kokkos.
A class which computes charges density by solving the equation: \( \sum_s \int_{v} q_s f_s(x,v) dv \) where \( q_s \) is the charge of the species \( s \) and \( f_s(x,v) \) is the distribution function.
A class which computes charges density by solving the equation: \( \int_{vx} \int_{vy} q_s f_s(x,y,vx,vy) dvx dvy \) where \( q_s \) is the charge of the species \( s \) and \( f_s(x,y,vx,vy) \) is the distribution function.
|
explicit |
Create a ChargeDensityCalculator object.
[in] | coeffs | The coefficients of the quadrature. |
|
explicit |
Create a ChargeDensityCalculator object.
[in] | coeffs | The coefficients of the quadrature. |
|
finalvirtual |
Computes the charge density rho from the distribution function.
[in,out] | rho | |
[in] | allfdistribu |
Implements IChargeDensityCalculator.
|
finalvirtual |
Computes the charge density rho from the distribution function.
[in,out] | rho | |
[in] | allfdistribu |
Implements IChargeDensityCalculator.