ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERF_ShocGpuUtils.H File Reference
#include <AMReX_FArrayBox.H>
#include <AMReX_Gpu.H>
#include <AMReX_REAL.H>
Include dependency graph for ERF_ShocGpuUtils.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 shoc
 

Enumerations

enum class  shoc::InitRunOn { shoc::Host , shoc::Device }
 

Functions

InitRunOn shoc::default_init_run_on ()
 
void shoc::set_fab_val (amrex::FArrayBox &fab, amrex::Real value, InitRunOn)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real shoc::height_agl (amrex::Real z, amrex::Real z_sfc) noexcept
 
void shoc::sync_if_needed ()