Hipace
Functions
ComputeTemperature.H File Reference

Go to the source code of this file.

Functions

template<typename T_index , typename T_R >
AMREX_GPU_HOST_DEVICE T_R ComputeTemperature (T_index const Is, T_index const Ie, T_index const *AMREX_RESTRICT I, T_R const *AMREX_RESTRICT ux, T_R const *AMREX_RESTRICT uy, T_R const *AMREX_RESTRICT psi, T_R const m, T_R const clight, T_R const inv_c2, bool is_beam_coll)
 

Function Documentation

◆ ComputeTemperature()

template<typename T_index , typename T_R >
AMREX_GPU_HOST_DEVICE T_R ComputeTemperature ( T_index const  Is,
T_index const  Ie,
T_index const *AMREX_RESTRICT  I,
T_R const *AMREX_RESTRICT  ux,
T_R const *AMREX_RESTRICT  uy,
T_R const *AMREX_RESTRICT  psi,
T_R const  m,
T_R const  clight,
T_R const  inv_c2,
bool  is_beam_coll 
)