Gyselalib++
 
Loading...
Searching...
No Matches
IChargeDensityCalculator Class Referenceabstract

A class which calculates the charge density. More...

Inheritance diagram for IChargeDensityCalculator:
ChargeDensityCalculator ChargeDensityCalculator

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.
 

Detailed Description

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.

Member Function Documentation

◆ operator()() [1/2]

virtual DFieldX IChargeDensityCalculator::operator() ( DFieldX  rho,
DConstFieldSpXVx  allfdistribu 
) const
pure virtual

Calculate the charge density rho from the distribution function.

Parameters
[out]rhoThe charge density.
[in]allfdistribuThe distribution function.
Returns
rho The charge density.

Implemented in ChargeDensityCalculator.

◆ operator()() [2/2]

virtual void IChargeDensityCalculator::operator() ( DFieldXY  rho,
DConstFieldSpXYVxVy  allfdistribu 
) const
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.

Parameters
[out]rhoThe charge density.
[in]allfdistribuThe distribution function.

Implemented in ChargeDensityCalculator.


The documentation for this class was generated from the following files: