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

Go to the source code of this file.

Classes

struct  plotfile2d::SampledBracket
 
struct  plotfile2d::SampledWindSources
 

Namespaces

 plotfile2d
 

Functions

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool plotfile2d::sampled_target_is_bracketed (amrex::Real target, amrex::Real c0, amrex::Real c1) noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real plotfile2d::linear_interpolate (amrex::Real lo_value, amrex::Real hi_value, amrex::Real lo_coord, amrex::Real hi_coord, amrex::Real target) noexcept
 
void plotfile2d::fill_sampled_level_component (amrex::MultiFab &dst, int dst_comp, const Plotfile2DOutputDescriptor &descriptor, const amrex::MultiFab &cons, const amrex::MultiFab *z_phys_cc, const amrex::MultiFab &z_phys_nd, bool have_z_phys_cc, const MoistureComponentIndices &moisture_indices, int klo, int khi, const SampledWindSources &wind_sources={})