Gyselalib++
 
Loading...
Searching...
No Matches
BslAdvectionVelocity< Geometry, GridV > Class Template Reference

A class which computes the velocity advection along the dimension of interest GridV. More...

Inheritance diagram for BslAdvectionVelocity< Geometry, GridV >:
IAdvectionVelocity< Geometry, GridV >

Public Member Functions

 BslAdvectionVelocity (PreallocatableInterpolatorType const &interpolator_v)
 Constructor.
 
Field< double, IdxRangeFdistribu > operator() (Field< double, IdxRangeFdistribu > const allfdistribu, Field< const double, IdxRangeSpatial > const electric_field, double const dt) const override
 Advects fdistribu along GridV for a duration dt.
 
- Public Member Functions inherited from IAdvectionVelocity< Geometry, GridV >
virtual DField< typename Geometry::IdxRangeFdistribu > operator() (DField< typename Geometry::IdxRangeFdistribu > allfdistribu, DConstField< typename Geometry::IdxRangeSpatial > electric_field, double dt) const =0
 operates a transport of the distribution function.
 

Detailed Description

template<class Geometry, class GridV>
class BslAdvectionVelocity< Geometry, GridV >

A class which computes the velocity advection along the dimension of interest GridV.

Working for every cartesian geometry.

Constructor & Destructor Documentation

◆ BslAdvectionVelocity()

template<class Geometry , class GridV >
BslAdvectionVelocity< Geometry, GridV >::BslAdvectionVelocity ( PreallocatableInterpolatorType const &  interpolator_v)
inlineexplicit

Constructor.

Parameters
[in]interpolator_vinterpolator along the GridV direction which refers to the velocity space.

Member Function Documentation

◆ operator()()

template<class Geometry , class GridV >
Field< double, IdxRangeFdistribu > BslAdvectionVelocity< Geometry, GridV >::operator() ( Field< double, IdxRangeFdistribu > const  allfdistribu,
Field< const double, IdxRangeSpatial > const  electric_field,
double const  dt 
) const
inlineoverride

Advects fdistribu along GridV for a duration dt.

Parameters
[in,out]allfdistribuReference to the whole distribution function for one species, allocated on the device (ie it lets the choice of the location depend on the build configuration).
[in]electric_fieldReference to the electric field which derives from electrostatic potential, allocated on the device.
[in]dtTime step
Returns
A reference to the allfdistribu array containing the value of the function at the coordinates.

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