ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
PBLDerivativeDzInv_N Struct Reference

Functor for inverse vertical spacings with constant grid spacing. More...

#include <ERF_PBLModels.H>

Collaboration diagram for PBLDerivativeDzInv_N:

Public Member Functions

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE PBLDerivativeDzInv operator() (int, int, int) const noexcept
 

Public Attributes

amrex::Real value
 

Detailed Description

Functor for inverse vertical spacings with constant grid spacing.

Member Function Documentation

◆ operator()()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE PBLDerivativeDzInv PBLDerivativeDzInv_N::operator() ( int  ,
int  ,
int   
) const
inlinenoexcept

Return inverse vertical spacings for constant grid spacing.

Returns
PBLDerivativeDzInv inverse spacing values
422  {
423  return {myhalf*value, two*value, two*value};
424  }
constexpr amrex::Real two
Definition: ERF_Constants.H:10
constexpr amrex::Real myhalf
Definition: ERF_Constants.H:13
amrex::Real value
Definition: ERF_PBLModels.H:414

Member Data Documentation

◆ value

amrex::Real PBLDerivativeDzInv_N::value

Referenced by operator()().


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