A class which calculates the charge density. More...
Public Member Functions | |
virtual DFieldX | operator() (DFieldX rho, DConstFieldSpXVx allfdistribu) const =0 |
Calculate the charge density rho from the distribution function. | |
virtual void | operator() (DFieldXY rho, DConstFieldSpXYVxVy allfdistribu) const =0 |
Calculate the charge density rho from the distribution function. | |
A class which calculates the charge density.
A class which computes charges density.
A class which calculates the charge density. This is then used as the right hand side of the Quasi-Neutrality equation.
A class which computes charges density by solving the equation: \( \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.
|
pure virtual |
Calculate the charge density rho from the distribution function.
[out] | rho | The charge density. |
[in] | allfdistribu | The distribution function. |
Implemented in ChargeDensityCalculator.
|
pure virtual |
Calculate the charge density rho from the distribution function.
Calculate the charge density by calculating the spline representation of slices of the distribution function at each spatial point along the velocity direction. This representation is then integrated and multiplied by the charge to find the charge density.
[out] | rho | The charge density. |
[in] | allfdistribu | The distribution function. |
Implemented in ChargeDensityCalculator.