WarpX
Public Member Functions | Public Attributes | List of all members
MCCProcess::Executor Struct Reference

#include <MCCProcess.H>

Public Member Functions

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real getCrossSection (amrex::Real E_coll) const
 

Public Attributes

amrex::Real * m_sigmas_data = nullptr
 
amrex::Real m_energy_lo
 
amrex::Real m_energy_hi
 
amrex::Real m_sigma_lo
 
amrex::Real m_sigma_hi
 
amrex::Real m_dE
 
amrex::Real m_energy_penalty
 
MCCProcessType m_type
 

Member Function Documentation

◆ getCrossSection()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real MCCProcess::Executor::getCrossSection ( amrex::Real  E_coll) const
inline

Get the collision cross-section using a simple linear interpolator. If the energy value is lower (higher) than the given energy range the first (last) cross-section value is used.

Parameters
E_collcollision energy in eV

Member Data Documentation

◆ m_dE

amrex::Real MCCProcess::Executor::m_dE

◆ m_energy_hi

amrex::Real MCCProcess::Executor::m_energy_hi

◆ m_energy_lo

amrex::Real MCCProcess::Executor::m_energy_lo

◆ m_energy_penalty

amrex::Real MCCProcess::Executor::m_energy_penalty

◆ m_sigma_hi

amrex::Real MCCProcess::Executor::m_sigma_hi

◆ m_sigma_lo

amrex::Real MCCProcess::Executor::m_sigma_lo

◆ m_sigmas_data

amrex::Real* MCCProcess::Executor::m_sigmas_data = nullptr

◆ m_type

MCCProcessType MCCProcess::Executor::m_type

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