ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
#include "AMReX_BCRec.H"
#include <ERF_Advection.H>
#include <ERF_AdvectionSrcForMom_N.H>
#include <ERF_AdvectionSrcForMom_T.H>
Functions | |
void | AdvectionSrcForMom_EB (const Box &bxx, const Box &bxy, const Box &bxz, const Array4< Real > &rho_u_rhs, const Array4< Real > &rho_v_rhs, const Array4< Real > &rho_w_rhs, const Array4< const Real > &, const Array4< const Real > &, const Array4< const Real > &, const Array4< const Real > &, const Array4< const Real > &, const Array4< const Real > &, const Array4< const Real > &, const Array4< const Real > &, const Array4< const Real > &, const Array4< const Real > &, const GpuArray< Real, AMREX_SPACEDIM > &, const Array4< const Real > &, const Array4< const Real > &, const Array4< const Real > &, const AdvType, const AdvType, const Real, const Real, const int, const int, const Box &) |
void AdvectionSrcForMom_EB | ( | const Box & | bxx, |
const Box & | bxy, | ||
const Box & | bxz, | ||
const Array4< Real > & | rho_u_rhs, | ||
const Array4< Real > & | rho_v_rhs, | ||
const Array4< Real > & | rho_w_rhs, | ||
const Array4< const Real > & | , | ||
const Array4< const Real > & | , | ||
const Array4< const Real > & | , | ||
const Array4< const Real > & | , | ||
const Array4< const Real > & | , | ||
const Array4< const Real > & | , | ||
const Array4< const Real > & | , | ||
const Array4< const Real > & | , | ||
const Array4< const Real > & | , | ||
const Array4< const Real > & | , | ||
const GpuArray< Real, AMREX_SPACEDIM > & | , | ||
const Array4< const Real > & | , | ||
const Array4< const Real > & | , | ||
const Array4< const Real > & | , | ||
const | AdvType, | ||
const | AdvType, | ||
const | Real, | ||
const | Real, | ||
const int | , | ||
const int | , | ||
const Box & | |||
) |
Function for computing the advective tendency for the momentum equations when using EB
[in] | bxx | box over which the x-momentum is updated |
[in] | bxy | box over which the y-momentum is updated |
[in] | bxz | box over which the z-momentum is updated |
[out] | rho_u_rhs | tendency for the x-momentum equation |
[out] | rho_v_rhs | tendency for the y-momentum equation |
[out] | rho_w_rhs | tendency for the z-momentum equation |
[in] | u | x-component of the velocity |
[in] | v | y-component of the velocity |
[in] | w | z-component of the velocity |
[in] | rho_u | x-component of the momentum |
[in] | rho_v | y-component of the momentum |
[in] | Omega | component of the momentum normal to the z-coordinate surface |
[in] | z_nd | height coordinate at nodes |
[in] | ax | Area fraction of x-faces |
[in] | ay | Area fraction of y-faces |
[in] | az | Area fraction of z-faces |
[in] | vf | Volume fraction |
[in] | cellSizeInv | inverse of the mesh spacing |
[in] | mf_m | map factor at cell centers |
[in] | mf_u | map factor at x-faces |
[in] | mf_v | map factor at y-faces |
[in] | horiz_adv_type | sets the spatial order to be used for lateral derivatives |
[in] | vert_adv_type | sets the spatial order to be used for vertical derivatives |