|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
#include <cmath>#include <AMReX_MultiFab.H>#include <ERF_Constants.H>#include <ERF_DataStruct.H>#include <ERF_IndexDefines.H>

Go to the source code of this file.
Functions | |
| AMREX_INLINE void | AddCanopyBiophysicsHeatSources (amrex::MultiFab &cell_source, const amrex::MultiFab &S_data, const amrex::MultiFab &xvel, const amrex::MultiFab &yvel, const amrex::MultiFab &zvel, const amrex::MultiFab *frontal_area, const amrex::MultiFab &base_state, const SolverChoice &solver_choice) |
| AMREX_INLINE void AddCanopyBiophysicsHeatSources | ( | amrex::MultiFab & | cell_source, |
| const amrex::MultiFab & | S_data, | ||
| const amrex::MultiFab & | xvel, | ||
| const amrex::MultiFab & | yvel, | ||
| const amrex::MultiFab & | zvel, | ||
| const amrex::MultiFab * | frontal_area, | ||
| const amrex::MultiFab & | base_state, | ||
| const SolverChoice & | solver_choice | ||
| ) |
Add the portion of the ICLASS canopy-biophysics model exercised by the fixed-leaf-potential-temperature configuration. The source uses the leaf area density produced by ForestDrag and adds sensible heat to rho-theta. When moisture is active, it also adds the corresponding transpiration flux using the reference model's default minimum stomatal conductance.
| [in,out] | cell_source | staged source terms for the conserved state |
| [in] | S_data | conserved atmospheric state |
| [in] | xvel | x-face velocity |
| [in] | yvel | y-face velocity |
| [in] | zvel | z-face velocity |
| [in] | frontal_area | cell-centered leaf/frontal area density |
| [in] | base_state | hydrostatic pressure and Exner state |
| [in] | solver_choice | active physics and canopy configuration |
