|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
#include <iostream>#include <cmath>#include <limits>#include <AMReX_Print.H>#include <ERF_NOAHMP.H>#include <ERF_Constants.H>#include <ERF_EOS.H>#include "ERF_NOAHMP_ResultPolicy.H"
Macros | |
| #define | NOAHMP_STAGE_IN_3D(comp, member) noahmpio->member(i,1,j) = noah_input_arr(i,j,0,NoahmpInputComp::comp); |
| #define | NOAHMP_STAGE_IN_2D(comp, member) noahmpio->member(i,j) = noah_input_arr(i,j,0,NoahmpInputComp::comp); |
| #define | NOAHMP_BIND_RESULT(alias, lsm, out) Array4<Real> alias = lsm_fab_data[LsmData_NOAHMP::lsm]->array(mfi); |
| #define | NOAHMP_READ_OUT_2D(comp, member) noah_output_arr(i,j,0,NoahmpOutputComp::comp) = noahmpio->member(i,j); |
| #define | NOAHMP_COPY_RESULT(alias, lsm, out) |
| #define | NOAHMP_UNDEF_RESULT(alias, lsm, out) alias(i,j,0) = lsm_undefined_d; |
| #define NOAHMP_BIND_RESULT | ( | alias, | |
| lsm, | |||
| out | |||
| ) | Array4<Real> alias = lsm_fab_data[LsmData_NOAHMP::lsm]->array(mfi); |
| #define NOAHMP_COPY_RESULT | ( | alias, | |
| lsm, | |||
| out | |||
| ) |
| #define NOAHMP_READ_OUT_2D | ( | comp, | |
| member | |||
| ) | noah_output_arr(i,j,0,NoahmpOutputComp::comp) = noahmpio->member(i,j); |
| #define NOAHMP_STAGE_IN_2D | ( | comp, | |
| member | |||
| ) | noahmpio->member(i,j) = noah_input_arr(i,j,0,NoahmpInputComp::comp); |
| #define NOAHMP_STAGE_IN_3D | ( | comp, | |
| member | |||
| ) | noahmpio->member(i,1,j) = noah_input_arr(i,j,0,NoahmpInputComp::comp); |
| #define NOAHMP_UNDEF_RESULT | ( | alias, | |
| lsm, | |||
| out | |||
| ) | alias(i,j,0) = lsm_undefined_d; |