|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
#include <AMReX_MultiFab.H>#include <AMReX_ArrayLim.H>#include "AMReX_BCRec.H"#include "ERF.H"#include "ERF_SrcHeaders.H"#include "ERF_DataStruct.H"#include "ERF_Utils.H"#include "ERF_EB.H"#include <ERF_EBSlopes.H>
Functions | |
| void | make_gradp_pert (int level, const SolverChoice &solverChoice, const Geometry &geom, Vector< MultiFab > &S_data, const MultiFab &p0, const MultiFab &z_phys_nd, const MultiFab &z_phys_cc, Vector< std::unique_ptr< MultiFab >> &mapfac, const eb_ &ebfact, Vector< MultiFab > &gradp) |
| void | compute_gradp (const MultiFab &p, const Geometry &geom, const MultiFab &z_phys_nd, const MultiFab &z_phys_cc, Vector< std::unique_ptr< MultiFab >> &mapfac, const eb_ &ebfact, Vector< MultiFab > &gradp, const SolverChoice &solverChoice) |
| Compute the full pressure gradient. More... | |
| void | compute_gradp_xy (const MultiFab &p, const Geometry &geom, const MultiFab &z_phys_cc, Vector< std::unique_ptr< MultiFab >> &mapfac, const eb_ &ebfact, Vector< MultiFab > &gradp, const SolverChoice &solverChoice) |
| Compute the horizontal components of the pressure gradient. More... | |
| void | compute_gradp_z (const MultiFab &p, const Geometry &geom, const MultiFab &z_phys_nd, const eb_ &ebfact, Vector< MultiFab > &gradp, const SolverChoice &solverChoice) |
| Compute the vertical component of the pressure gradient. More... | |
| void | compute_gradp_interpz (const MultiFab &p, const Geometry &geom, const MultiFab &z_phys_nd, const MultiFab &z_phys_cc, Vector< std::unique_ptr< MultiFab >> &mapfac, Vector< MultiFab > &gradp, const SolverChoice &solverChoice) |
| Compute the pressure gradient using vertical interpolation. More... | |
| void compute_gradp | ( | const MultiFab & | p, |
| const Geometry & | geom, | ||
| const MultiFab & | z_phys_nd, | ||
| const MultiFab & | z_phys_cc, | ||
| Vector< std::unique_ptr< MultiFab >> & | mapfac, | ||
| const eb_ & | ebfact, | ||
| Vector< MultiFab > & | gradp, | ||
| const SolverChoice & | solverChoice | ||
| ) |
Compute the full pressure gradient.
| [in] | p | Pressure field. |
| [in] | geom | Geometry container. |
| [in] | z_phys_nd | Physical height on nodes. |
| [in] | z_phys_cc | Physical height on cell centers. |
| [in] | mapfac | Map factors. |
| [in] | ebfact | EB factory. |
| [out] | gradp | Pressure gradient components. |
| [in] | solverChoice | Solver options. |
Referenced by ERF::compute_max_pressure_gradient_diagnostic(), and ERF::Write3DPlotFile().


| void compute_gradp_interpz | ( | const MultiFab & | p, |
| const Geometry & | geom, | ||
| const MultiFab & | z_phys_nd, | ||
| const MultiFab & | z_phys_cc, | ||
| Vector< std::unique_ptr< MultiFab >> & | mapfac, | ||
| Vector< MultiFab > & | gradp, | ||
| const SolverChoice & | solverChoice | ||
| ) |
Compute the pressure gradient using vertical interpolation.
| [in] | p | Pressure field. |
| [in] | geom | Geometry container. |
| [in] | z_phys_nd | Physical height on nodes. |
| [in] | z_phys_cc | Physical height on cell centers. |
| [in] | mapfac | Map factors. |
| [out] | gradp | Pressure gradient components. |
| [in] | solverChoice | Solver options. |
Referenced by make_gradp_pert().


| void compute_gradp_xy | ( | const MultiFab & | p, |
| const Geometry & | geom, | ||
| const MultiFab & | z_phys_cc, | ||
| Vector< std::unique_ptr< MultiFab >> & | mapfac, | ||
| const eb_ & | ebfact, | ||
| Vector< MultiFab > & | gradp, | ||
| const SolverChoice & | solverChoice | ||
| ) |
Compute the horizontal components of the pressure gradient.
| [in] | p | Pressure field. |
| [in] | geom | Geometry container. |
| [in] | z_phys_cc | Physical height on cell centers. |
| [in] | mapfac | Map factors. |
| [in] | ebfact | EB factory. |
| [out] | gradp | Pressure gradient components. |
| [in] | solverChoice | Solver options. |
Referenced by compute_gradp(), and make_gradp_pert().


| void compute_gradp_z | ( | const MultiFab & | p, |
| const Geometry & | geom, | ||
| const MultiFab & | z_phys_nd, | ||
| const eb_ & | ebfact, | ||
| Vector< MultiFab > & | gradp, | ||
| const SolverChoice & | solverChoice | ||
| ) |
Compute the vertical component of the pressure gradient.
| [in] | p | Pressure field. |
| [in] | geom | Geometry container. |
| [in] | z_phys_nd | Physical height on nodes. |
| [in] | ebfact | EB factory. |
| [out] | gradp | Pressure gradient components. |
| [in] | solverChoice | Solver options. |
Referenced by compute_gradp(), and make_gradp_pert().


| void make_gradp_pert | ( | int | level, |
| const SolverChoice & | solverChoice, | ||
| const Geometry & | geom, | ||
| Vector< MultiFab > & | S_data, | ||
| const MultiFab & | p0, | ||
| const MultiFab & | z_phys_nd, | ||
| const MultiFab & | z_phys_cc, | ||
| Vector< std::unique_ptr< MultiFab >> & | mapfac, | ||
| const eb_ & | ebfact, | ||
| Vector< MultiFab > & | gradp | ||
| ) |
Function for computing the pressure gradient
| [in] | level | level of resolution |
| [in] | geom | geometry container at this level |
| [in] | S_data | current solution |
| [in] | p0 | base ststa pressure |
| [in] | z_phys_nd | z on nodes |
| [in] | z_phys_cc | z on cell centers |
| [in] | d_bcrec_ptr | Boundary Condition Record |
| [in] | ebfact | EB factory container at this level |
| [out] | gradp | pressure gradient |
Referenced by ERF::compute_max_buoyancy_gradp_diagnostic().

