XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
add_f0_analytic.cpp File Reference
#include <Kokkos_Core.hpp>
#include <string>
#include "space_settings.hpp"
#include "sml.hpp"
#include "plasma.hpp"
#include "electric_field.hpp"
#include "species.hpp"
#include "vgrid_distribution.hpp"
#include "basic_physics.hpp"
Include dependency graph for add_f0_analytic.cpp:

Functions

void add_f0_analytic (const Simulation< DeviceType > &sml, ElectricField< DeviceType > &electric_field, const DomainDecomposition< DeviceType > &pol_decomp, Plasma &plasma, VGridDistribution< HostType > &f0_f, bool subtract)
 
void f0_remove_negative (Plasma &plasma, VGridDistribution< HostType > &f0_f)
 

Function Documentation

void add_f0_analytic ( const Simulation< DeviceType > &  sml,
ElectricField< DeviceType > &  electric_field,
const DomainDecomposition< DeviceType > &  pol_decomp,
Plasma plasma,
VGridDistribution< HostType > &  f0_f,
bool  subtract 
)

Adds analytic contribution to a distribution on the velocity grid.

Parameters
[in]smlcontains simulation control parameters
[in]electric_fieldis the electric field object
[in]pol_decompis the domain decomposition
[in]plasmais the plasma object
[in,out]f0_fis the VGridDistribution being added to
[in]subtractset to true if subtracting instead of adding
Returns
void

Here is the call graph for this function:

Here is the caller graph for this function:

void f0_remove_negative ( Plasma plasma,
VGridDistribution< HostType > &  f0_f 
)

Removes negative values (and zero values to avoid density = 0) in a distribution on the velocity grid by replacing with a small number.

Parameters
[in]plasmais the plasma object
[in,out]f0_fis the VGridDistribution being added to
Returns
void

Here is the call graph for this function:

Here is the caller graph for this function: