XGCa
Public Member Functions | Public Attributes | List of all members
Neutrals< Device > Class Template Reference

#include <neutrals.hpp>

Collaboration diagram for Neutrals< Device >:
Collaboration graph
[legend]

Public Member Functions

 Neutrals (int nthreads, int nbins, int nnode, NLReader::NamelistReader &nlr)
 
 Neutrals ()
 
void write_checkpoint_files (const XGC_IO_Stream &stream) const
 
void read_checkpoint_files (const XGC_IO_Stream &stream)
 
void copy_to_host () const
 
void clear_device_views () const
 
void clear_host_views () const
 
void apply (const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, const VelocityGrid &vgrid, Plasma &plasma, const VGridDistribution< DeviceType > &f0_f, const VGridDistribution< HostType > &f0_f_h, VGridDistribution< DeviceType > &f0_df0g_cumul, const int axisym_parallelization_int, int gstep, DiagF0DF &diag_f0_df, double dt) const
 
 Neutrals (int nthreads, int nbins, int nnode, NLReader::NamelistReader &nlr)
 
void write_checkpoint_files (const XGC_IO_Stream &stream) const
 
void read_checkpoint_files (const XGC_IO_Stream &stream)
 
void copy_to_host () const
 
void clear_device_views () const
 
void clear_host_views () const
 
void apply (const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, const VelocityGrid &vgrid, Plasma &plasma, const VGridDistribution< DeviceType > &f0_f, const VGridDistribution< HostType > &f0_f_h, VGridDistribution< DeviceType > &f0_df0g_cumul, const int axisym_parallelization_int, int gstep, DiagF0DF &diag_f0_df, double dt) const
 

Public Attributes

bool use_ion_loss
 Whether to use ONLY ion loss (i.e. dont track electron contribution) More...
 
int nebins
 
int background_period
 
double ebin_min
 
double ebin_max
 
double ebin_delta
 
bool ebin_log
 
StepTrigger trigger_neutral_update
 
View< double *, CLayout, Device > weight_sum_lost
 Array to store how much was lost in total at the sheath. More...
 
View< double **, CLayout, Device > weight_wall_lost
 Array to store how much was lost at the sheath, binned by wall index. More...
 
View< double ***, CLayout, Device > weight_lost_ebin
 Array to store how much was lost at the sheath, binned by wall index. More...
 
View< double *, CLayout, HostTypeweight_sum_lost_h
 Array to store how much was lost in total at the sheath. More...
 
View< double *, CLayout, HostTypeweight_wall_lost_h
 Array to store how much was lost at the sheath, binned by wall index. More...
 
View< double **, CLayout, HostTypeweight_lost_ebin_h
 Array to store how much was lost at the sheath, binned by wall and energy index. More...
 
View< double *, CLayout, HostTypenode_dens_h
 
View< double *, CLayout, HostTypenode_temp_h
 

Constructor & Destructor Documentation

◆ Neutrals() [1/3]

template<class Device >
Neutrals< Device >::Neutrals ( int  nthreads,
int  nbins,
int  nnode,
NLReader::NamelistReader nlr 
)

◆ Neutrals() [2/3]

template<class Device >
Neutrals< Device >::Neutrals ( )
inline

◆ Neutrals() [3/3]

Neutrals< DeviceType >::Neutrals ( int  nthreads,
int  nbins,
int  nnode,
NLReader::NamelistReader nlr 
)

Constructor for neutrals

Here is the call graph for this function:

Member Function Documentation

◆ apply() [1/2]

void Neutrals< DeviceType >::apply ( const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
const VelocityGrid vgrid,
Plasma plasma,
const VGridDistribution< DeviceType > &  f0_f,
const VGridDistribution< HostType > &  f0_f_h,
VGridDistribution< DeviceType > &  f0_df0g_cumul,
const int  axisym_parallelization_int,
int  gstep,
DiagF0DF diag_f0_df,
double  dt 
) const
Here is the call graph for this function:

◆ apply() [2/2]

template<class Device >
void Neutrals< Device >::apply ( const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
const VelocityGrid vgrid,
Plasma plasma,
const VGridDistribution< DeviceType > &  f0_f,
const VGridDistribution< HostType > &  f0_f_h,
VGridDistribution< DeviceType > &  f0_df0g_cumul,
const int  axisym_parallelization_int,
int  gstep,
DiagF0DF diag_f0_df,
double  dt 
) const
Here is the caller graph for this function:

◆ clear_device_views() [1/2]

void Neutrals< DeviceType >::clear_device_views ( ) const

◆ clear_device_views() [2/2]

template<class Device >
void Neutrals< Device >::clear_device_views ( ) const
Here is the caller graph for this function:

◆ clear_host_views() [1/2]

void Neutrals< DeviceType >::clear_host_views ( ) const

◆ clear_host_views() [2/2]

template<class Device >
void Neutrals< Device >::clear_host_views ( ) const

◆ copy_to_host() [1/2]

void Neutrals< DeviceType >::copy_to_host ( ) const
Here is the call graph for this function:

◆ copy_to_host() [2/2]

template<class Device >
void Neutrals< Device >::copy_to_host ( ) const
Here is the caller graph for this function:

◆ read_checkpoint_files() [1/2]

void Neutrals< DeviceType >::read_checkpoint_files ( const XGC_IO_Stream stream)
Here is the call graph for this function:

◆ read_checkpoint_files() [2/2]

template<class Device >
void Neutrals< Device >::read_checkpoint_files ( const XGC_IO_Stream stream)
Here is the caller graph for this function:

◆ write_checkpoint_files() [1/2]

void Neutrals< DeviceType >::write_checkpoint_files ( const XGC_IO_Stream stream) const
Here is the call graph for this function:

◆ write_checkpoint_files() [2/2]

template<class Device >
void Neutrals< Device >::write_checkpoint_files ( const XGC_IO_Stream stream) const
Here is the caller graph for this function:

Member Data Documentation

◆ background_period

template<class Device >
int Neutrals< Device >::background_period

◆ ebin_delta

template<class Device >
double Neutrals< Device >::ebin_delta

◆ ebin_log

template<class Device >
bool Neutrals< Device >::ebin_log

◆ ebin_max

template<class Device >
double Neutrals< Device >::ebin_max

◆ ebin_min

template<class Device >
double Neutrals< Device >::ebin_min

◆ nebins

template<class Device >
int Neutrals< Device >::nebins

◆ node_dens_h

template<class Device >
View<double*,CLayout,HostType> Neutrals< Device >::node_dens_h

◆ node_temp_h

template<class Device >
View<double*,CLayout,HostType> Neutrals< Device >::node_temp_h

◆ trigger_neutral_update

template<class Device >
StepTrigger Neutrals< Device >::trigger_neutral_update

◆ use_ion_loss

template<class Device >
bool Neutrals< Device >::use_ion_loss

Whether to use ONLY ion loss (i.e. dont track electron contribution)

◆ weight_lost_ebin

template<class Device >
View<double***,CLayout,Device> Neutrals< Device >::weight_lost_ebin

Array to store how much was lost at the sheath, binned by wall index.

◆ weight_lost_ebin_h

template<class Device >
View<double**,CLayout,HostType> Neutrals< Device >::weight_lost_ebin_h

Array to store how much was lost at the sheath, binned by wall and energy index.

◆ weight_sum_lost

template<class Device >
View<double*,CLayout,Device> Neutrals< Device >::weight_sum_lost

Array to store how much was lost in total at the sheath.

◆ weight_sum_lost_h

template<class Device >
View<double*,CLayout,HostType> Neutrals< Device >::weight_sum_lost_h

Array to store how much was lost in total at the sheath.

◆ weight_wall_lost

template<class Device >
View<double**,CLayout,Device> Neutrals< Device >::weight_wall_lost

Array to store how much was lost at the sheath, binned by wall index.

◆ weight_wall_lost_h

template<class Device >
View<double*,CLayout,HostType> Neutrals< Device >::weight_wall_lost_h

Array to store how much was lost at the sheath, binned by wall index.


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