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

The fields a level's faces read for one step: the beam and the cosine of the zenith the sweep of that step wrote, and that sweep's interface fluxes. All null when the level has not swept this step (the initial report). More...

#include <ERF_TwoStreamCanopyForcing.H>

Collaboration diagram for TwoStreamCanopyView:

Public Member Functions

bool valid () const noexcept
 

Public Attributes

const amrex::MultiFab * beam = nullptr
 Direct beam on a horizontal surface, interfaces 0 .. m_top [W/m^2]. More...
 
const amrex::MultiFab * cos_zenith = nullptr
 Cosine of the zenith of the sweep, floored at zero (2D) [1]. More...
 
const amrex::MultiFab * fluxes = nullptr
 The level's rad_fluxes (SW up, SW down, LW up, LW down) [W/m^2]. More...
 

Detailed Description

The fields a level's faces read for one step: the beam and the cosine of the zenith the sweep of that step wrote, and that sweep's interface fluxes. All null when the level has not swept this step (the initial report).

Member Function Documentation

◆ valid()

bool TwoStreamCanopyView::valid ( ) const
inlinenoexcept
49 { return beam != nullptr && cos_zenith != nullptr && fluxes != nullptr; }
const amrex::MultiFab * fluxes
The level's rad_fluxes (SW up, SW down, LW up, LW down) [W/m^2].
Definition: ERF_TwoStreamCanopyForcing.H:48
const amrex::MultiFab * beam
Direct beam on a horizontal surface, interfaces 0 .. m_top [W/m^2].
Definition: ERF_TwoStreamCanopyForcing.H:46
const amrex::MultiFab * cos_zenith
Cosine of the zenith of the sweep, floored at zero (2D) [1].
Definition: ERF_TwoStreamCanopyForcing.H:47

Referenced by IBFaceSet::check_canopy_layout(), IBFaceSet::compute_longwave_two_stream(), IBFaceSet::compute_shortwave_two_stream(), and ERF::ibseb_advance().

Here is the caller graph for this function:

Member Data Documentation

◆ beam

const amrex::MultiFab* TwoStreamCanopyView::beam = nullptr

◆ cos_zenith

const amrex::MultiFab* TwoStreamCanopyView::cos_zenith = nullptr

◆ fluxes

const amrex::MultiFab* TwoStreamCanopyView::fluxes = nullptr

The level's rad_fluxes (SW up, SW down, LW up, LW down) [W/m^2].

Referenced by IBFaceSet::check_canopy_layout(), IBFaceSet::compute_longwave_two_stream(), IBFaceSet::compute_shortwave_two_stream(), ERF::ibseb_advance(), and valid().


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