ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERF_InterpolationUtils.H File Reference

Utility functions for field interpolation at particle positions. More...

#include <AMReX_FArrayBox.H>
#include <AMReX_GpuContainers.H>
#include <AMReX_REAL.H>
#include <AMReX_Array4.H>
#include "ERF_Constants.H"
Include dependency graph for ERF_InterpolationUtils.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ERF
 
 ERF::Interpolation
 

Functions

template<typename ParticleType >
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void ERF::Interpolation::interpolateFields (const ParticleType &p, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &plo, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &dxi, const amrex::Array4< const amrex::Real > *field_arrays, amrex::ParticleReal *result_values, int num_fields, int is_periodic_z=1, const amrex::Array4< amrex::Real > *zheight=nullptr)
 Helper function to interpolate multiple field values at a particle position. More...
 

Detailed Description

Utility functions for field interpolation at particle positions.