ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERFPhysBCFunct_v Class Reference

#include <ERF_PhysBCFunct.H>

Collaboration diagram for ERFPhysBCFunct_v:

Public Member Functions

 ERFPhysBCFunct_v (const int lev, const amrex::Geometry &geom, const amrex::Vector< amrex::BCRec > &domain_bcs_type, const amrex::Gpu::DeviceVector< amrex::BCRec > &domain_bcs_type_d, amrex::Array< amrex::Array< amrex::Real, AMREX_SPACEDIM *2 >, AMREX_SPACEDIM+NBCVAR_max > bc_extdir_vals, amrex::Array< amrex::Array< amrex::Real, AMREX_SPACEDIM *2 >, AMREX_SPACEDIM+NBCVAR_max > bc_neumann_vals, const TerrainType &terrain_type, amrex::Vector< std::unique_ptr< amrex::MultiFab >> &mapfac_lev, std::unique_ptr< amrex::MultiFab > &z_phys_nd, const bool use_real_bcs, amrex::Real *v_bc_data)
 
 ~ERFPhysBCFunct_v ()
 
void set_inflow_profiles (const amrex::Array< InflowProfile, 2 *AMREX_SPACEDIM > *profiles)
 
void impose_inflow_profile_yvel (const amrex::Array4< amrex::Real > &dest_arr, const amrex::Array4< amrex::Real const > &xvel_arr, const amrex::Array4< amrex::Real const > &yvel_arr, const amrex::Array4< amrex::Real const > &z_nd, const amrex::Box &bx, const amrex::Box &domain, int bccomp)
 
void operator() (amrex::MultiFab &mf, amrex::MultiFab &xvel, amrex::MultiFab &yvel, amrex::IntVect const &nghost, const double time, int bccomp, bool do_fb)
 
void impose_lateral_yvel_bcs (const amrex::Array4< amrex::Real > &dest_arr, const amrex::Array4< amrex::Real const > &xvel_arr, const amrex::Array4< amrex::Real const > &yvel_arr, const amrex::Box &bx, const amrex::Box &domain, int bccomp, const double time)
 
void impose_vertical_yvel_bcs (const amrex::Array4< amrex::Real > &dest_arr, const amrex::Box &bx, const amrex::Box &domain, const amrex::Array4< amrex::Real const > &z_nd, const amrex::Array4< amrex::Real const > &mf_x, const amrex::Array4< amrex::Real const > &mf_y, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > dxInv, int bccomp, const double time)
 

Private Attributes

int m_lev
 
amrex::Geometry m_geom
 
amrex::Vector< amrex::BCRec > m_domain_bcs_type
 
amrex::Gpu::DeviceVector< amrex::BCRec > m_domain_bcs_type_d
 
amrex::Array< amrex::Array< amrex::Real, AMREX_SPACEDIM *2 >, AMREX_SPACEDIM+NBCVAR_max > m_bc_extdir_vals
 
amrex::Array< amrex::Array< amrex::Real, AMREX_SPACEDIM *2 >, AMREX_SPACEDIM+NBCVAR_max > m_bc_neumann_vals
 
TerrainType m_terrain_type
 
amrex::MultiFab * m_mapfac_x
 
amrex::MultiFab * m_mapfac_y
 
amrex::MultiFab * m_z_phys_nd
 
bool m_use_real_bcs
 
amrex::Real * m_v_bc_data
 
const amrex::Array< InflowProfile, 2 *AMREX_SPACEDIM > * m_inflow_profiles = nullptr
 
BelowGroundGhostSync m_below_ground_sync
 

Constructor & Destructor Documentation

◆ ERFPhysBCFunct_v()

ERFPhysBCFunct_v::ERFPhysBCFunct_v ( const int  lev,
const amrex::Geometry &  geom,
const amrex::Vector< amrex::BCRec > &  domain_bcs_type,
const amrex::Gpu::DeviceVector< amrex::BCRec > &  domain_bcs_type_d,
amrex::Array< amrex::Array< amrex::Real, AMREX_SPACEDIM *2 >, AMREX_SPACEDIM+NBCVAR_max >  bc_extdir_vals,
amrex::Array< amrex::Array< amrex::Real, AMREX_SPACEDIM *2 >, AMREX_SPACEDIM+NBCVAR_max >  bc_neumann_vals,
const TerrainType &  terrain_type,
amrex::Vector< std::unique_ptr< amrex::MultiFab >> &  mapfac_lev,
std::unique_ptr< amrex::MultiFab > &  z_phys_nd,
const bool  use_real_bcs,
amrex::Real *  v_bc_data 
)
inline

Construct the y-velocity physical boundary-condition functor.

Parameters
[in]levlevel index
[in]geomgeometry for the level
[in]domain_bcs_typehost boundary-condition records
[in]domain_bcs_type_ddevice boundary-condition records
[in]bc_extdir_valsexternal Dirichlet values for boundary faces
[in]bc_neumann_valsNeumann values for boundary faces
[in]terrain_typeterrain type for the level
[in]mapfac_levmap-factor MultiFabs for the level
[in]z_phys_ndnodal physical height MultiFab
[in]use_real_bcswhether real-data boundary conditions are active
[in]v_bc_dataoptional y-velocity boundary data
388  : m_lev(lev),
389  m_geom(geom), m_domain_bcs_type(domain_bcs_type),
390  m_domain_bcs_type_d(domain_bcs_type_d),
391  m_bc_extdir_vals(bc_extdir_vals),
392  m_bc_neumann_vals(bc_neumann_vals),
393  m_terrain_type(terrain_type),
394  m_z_phys_nd(z_phys_nd.get()),
395  m_use_real_bcs(use_real_bcs),
396  m_v_bc_data(v_bc_data)
397  {
398  m_mapfac_x = mapfac_lev[MapFacType::v_x].get();
399  m_mapfac_y = mapfac_lev[MapFacType::v_y].get();
400  }
@ v_x
Definition: ERF_DataStruct.H:40
@ v_y
Definition: ERF_DataStruct.H:41
amrex::Geometry m_geom
Definition: ERF_PhysBCFunct.H:474
amrex::Gpu::DeviceVector< amrex::BCRec > m_domain_bcs_type_d
Definition: ERF_PhysBCFunct.H:476
amrex::MultiFab * m_mapfac_x
Definition: ERF_PhysBCFunct.H:480
amrex::Real * m_v_bc_data
Definition: ERF_PhysBCFunct.H:484
int m_lev
Definition: ERF_PhysBCFunct.H:473
amrex::MultiFab * m_mapfac_y
Definition: ERF_PhysBCFunct.H:481
TerrainType m_terrain_type
Definition: ERF_PhysBCFunct.H:479
amrex::Array< amrex::Array< amrex::Real, AMREX_SPACEDIM *2 >, AMREX_SPACEDIM+NBCVAR_max > m_bc_neumann_vals
Definition: ERF_PhysBCFunct.H:478
bool m_use_real_bcs
Definition: ERF_PhysBCFunct.H:483
amrex::Vector< amrex::BCRec > m_domain_bcs_type
Definition: ERF_PhysBCFunct.H:475
amrex::Array< amrex::Array< amrex::Real, AMREX_SPACEDIM *2 >, AMREX_SPACEDIM+NBCVAR_max > m_bc_extdir_vals
Definition: ERF_PhysBCFunct.H:477
amrex::MultiFab * m_z_phys_nd
Definition: ERF_PhysBCFunct.H:482

◆ ~ERFPhysBCFunct_v()

ERFPhysBCFunct_v::~ERFPhysBCFunct_v ( )
inline

Destroy the y-velocity physical boundary-condition functor.

405 {}

Member Function Documentation

◆ impose_inflow_profile_yvel()

void ERFPhysBCFunct_v::impose_inflow_profile_yvel ( const amrex::Array4< amrex::Real > &  dest_arr,
const amrex::Array4< amrex::Real const > &  xvel_arr,
const amrex::Array4< amrex::Real const > &  yvel_arr,
const amrex::Array4< amrex::Real const > &  z_nd,
const amrex::Box &  bx,
const amrex::Box &  domain,
int  bccomp 
)

Overwrite the boundary and ghost faces of profiled inflow faces

112 {
113  if (m_inflow_profiles == nullptr) { return; }
114  BL_PROFILE("impose_inflow_profile_yvel()");
115 
116  const auto dom_lo = lbound(domain);
117  const auto dom_hi = ubound(domain);
118  const bool terrain = static_cast<bool>(z_nd);
119  const Real dz = m_geom.CellSize(2);
120 
121  for (int dir = 0; dir < 2; ++dir) {
122  if (m_geom.isPeriodic(dir)) { continue; }
123  for (const auto side : {Orientation::low, Orientation::high}) {
124  const Orientation ori(dir, side);
125  const int bct = profile_bc_type(m_inflow_profiles, m_domain_bcs_type, bccomp, ori);
126  if (bct < 0) { continue; }
127 
128  const auto& prof = (*m_inflow_profiles)[ori];
129  const Real* zt = prof.z_d.data();
130  const Real* ft = prof.v_d.data();
131  const int nt = static_cast<int>(prof.z_d.size());
132  const bool upwind = (bct == ERFBCType::ext_dir_upwind);
133  const bool low = ori.isLow();
134 
135  // y-velocity is tangential to an x-face (the ghost columns) and
136  // normal to a y-face (the face and the ghost faces beyond it)
137  Box b(bx);
138  if (dir == 0) {
139  if (low) { b.setBig(0, dom_lo.x-1); } else { b.setSmall(0, dom_hi.x+1); }
140  } else {
141  if (low) { b.setBig(1, dom_lo.y); } else { b.setSmall(1, dom_hi.y+1); }
142  }
143  if (!b.ok()) { continue; }
144 
145  const int icol = low ? dom_lo.x : dom_hi.x;
146  const int iface = low ? dom_lo.x : dom_hi.x+1;
147  const int jface = low ? dom_lo.y : dom_hi.y+1;
148 
149  // The loop box carries one more ghost than the velocity arrays (and is nodal
150  // where they are cell centered), so clamp the upwind read to the array read,
151  // as the lateral fills do (kk is clamped to the domain only: it also sets zq)
152  const auto ulo = lbound(xvel_arr), uhi = ubound(xvel_arr);
153  const auto vlo = lbound(yvel_arr), vhi = ubound(yvel_arr);
154 
155  ParallelFor(b, [=] AMREX_GPU_DEVICE (int i, int j, int k) noexcept
156  {
157  const int kk = amrex::max(dom_lo.z, amrex::min(k, dom_hi.z));
158  if (upwind) {
159  const Real un = (dir == 0) ? xvel_arr(iface, amrex::Clamp(j,ulo.y,uhi.y), amrex::Clamp(kk,ulo.z,uhi.z))
160  : yvel_arr(amrex::Clamp(i,vlo.x,vhi.x), jface, amrex::Clamp(kk,vlo.z,vhi.z));
161  if (low ? (un < Real(0.0)) : (un > Real(0.0))) { return; }
162  }
163  Real zq;
164  if (dir == 0) {
165  const int jj = amrex::max(dom_lo.y, amrex::min(j, dom_hi.y+1));
166  zq = (terrain) ? height_above_ground(z_nd, icol, icol+1, jj, jj, kk, dom_lo.z)
167  : (static_cast<Real>(kk - dom_lo.z) + Real(0.5)) * dz;
168  } else {
169  const int ii = amrex::max(dom_lo.x, amrex::min(i, dom_hi.x));
170  zq = (terrain) ? height_above_ground(z_nd, ii, ii+1, jface, jface, kk, dom_lo.z)
171  : (static_cast<Real>(kk - dom_lo.z) + Real(0.5)) * dz;
172  }
173  dest_arr(i,j,k) = inflow_profile_value(zt, ft, nt, zq);
174  });
175  }
176  }
177 }
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real inflow_profile_value(const amrex::Real *z, const amrex::Real *f, const int n, const amrex::Real zq) noexcept
Definition: ERF_InflowProfile.H:64
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real height_above_ground(const amrex::Array4< const amrex::Real > &z_nd, int ilo, int ihi, int jlo, int jhi, const int k, const int klo) noexcept
Definition: ERF_InflowProfile.H:86
ParallelFor(fab_box, [=] AMREX_GPU_DEVICE(int i, int j, int k) { qrcuten_arr(i, j, k)=Real(0);qscuten_arr(i, j, k)=Real(0);qicuten_arr(i, j, k)=Real(0);})
const amrex::Array< InflowProfile, 2 *AMREX_SPACEDIM > * m_inflow_profiles
Definition: ERF_PhysBCFunct.H:485
@ ext_dir_upwind
Definition: ERF_IndexDefines.H:325
@ dz
Definition: ERF_AdvanceWDM6.cpp:273
Here is the call graph for this function:

◆ impose_lateral_yvel_bcs()

void ERFPhysBCFunct_v::impose_lateral_yvel_bcs ( const amrex::Array4< amrex::Real > &  dest_arr,
const amrex::Array4< amrex::Real const > &  xvel_arr,
const amrex::Array4< amrex::Real const > &  yvel_arr,
const amrex::Box &  bx,
const amrex::Box &  domain,
int  bccomp,
const double  time 
)

Impose lateral boundary conditions on y velocity.

Parameters
[in,out]dest_arry-velocity data to be filled
[in]xvel_arrx-velocity used to determine upwind inflow
[in]yvel_arry-velocity used to determine upwind inflow
[in]bxbox holding data to be filled
[in]domainsimulation domain
[in]bccompboundary-condition component
[in]timetime at which data should be filled

Impose lateral boundary conditions on y-component of velocity

Parameters
[in,out]dest_arrArray4 of the quantity to be filled
[in]xvel_arrx-velocity used to determine upwind Dirichlet inflow
[in]yvel_arry-velocity used to determine upwind Dirichlet inflow
[in]bxbox associated with this data
[in]domaincomputational domain
[in]bccompindex into m_domain_bcs_type
[in]timetime at which the data should be filled
22 {
23  BL_PROFILE_VAR("impose_lateral_yvel_bcs()",impose_lateral_yvel_bcs);
24  const auto& dom_lo = lbound(domain);
25  const auto& dom_hi = ubound(domain);
26 
27  //
28  // An ext_dir_upwind face decides inflow against the face velocity, but the box we
29  // loop over does not always have a face velocity at every one of its cells: the
30  // state carries one more lateral ghost than the velocities do (ngrow_state =
31  // ComputeGhostCells()+1 against ngrow_vels = ComputeGhostCells()), and a velocity
32  // box is nodal in its own direction where the array being read is cell centered.
33  // Either way the outermost ghost cells have no velocity of their own, so sample
34  // the nearest one that exists. Cells already inside the velocity array are
35  // unaffected; only that outermost layer changes, and it previously read out of
36  // bounds.
37  //
38  const auto& xvel_lo = lbound(xvel_arr);
39  const auto& xvel_hi = ubound(xvel_arr);
40  const auto& yvel_lo = lbound(yvel_arr);
41  const auto& yvel_hi = ubound(yvel_arr);
42 
43  // Based on BCRec for the domain, we need to make BCRec for this Box
44  // bccomp is used as starting index for m_domain_bcs_type
45  // 0 is used as starting index for bcrs
46  Vector<BCRec> bcrs(1);
47  setBC(enclosedCells(bx), domain, bccomp, 0, 1, m_domain_bcs_type, bcrs);
48 
49  // xlo: ori = 0
50  // ylo: ori = 1
51  // zlo: ori = 2
52  // xhi: ori = 3
53  // yhi: ori = 4
54  // zhi: ori = 5
55 
56  Gpu::DeviceVector<BCRec> bcrs_d(1);
57  Gpu::copyAsync(Gpu::hostToDevice, bcrs.begin(), bcrs.end(), bcrs_d.begin());
58  const BCRec* bc_ptr = bcrs_d.data();
59 
60  GpuArray<GpuArray<Real, AMREX_SPACEDIM*2>, 1> l_bc_extdir_vals_d;
61 
62  for (int ori = 0; ori < 2*AMREX_SPACEDIM; ori++) {
63  l_bc_extdir_vals_d[0][ori] = m_bc_extdir_vals[bccomp][ori];
64  }
65 
66  GeometryData const& geomdata = m_geom.data();
67  bool is_periodic_in_x = geomdata.isPeriodic(0);
68  bool is_periodic_in_y = geomdata.isPeriodic(1);
69 
70  // First do all ext_dir bcs
71  if (!is_periodic_in_x)
72  {
73  // Populate ghost cells on lo-x and hi-x domain boundaries
74  Real* yvel_bc_ptr = m_v_bc_data;
75  Box bx_xlo(bx); bx_xlo.setBig (0,dom_lo.x-1);
76  Box bx_xhi(bx); bx_xhi.setSmall(0,dom_hi.x+1);
77  ParallelFor(bx_xlo, bx_xhi,
78  [=] AMREX_GPU_DEVICE (int i, int j, int k) {
79  int iflip = 2*dom_lo.x - 1 - i;
80  if (bc_ptr[0].lo(0) == ERFBCType::ext_dir) {
81  dest_arr(i,j,k) = (yvel_bc_ptr) ? yvel_bc_ptr[k] : l_bc_extdir_vals_d[0][0];
82  } else if (bc_ptr[0].lo(0) == ERFBCType::ext_dir_upwind && xvel_arr(dom_lo.x,Clamp(j,xvel_lo.y,xvel_hi.y),Clamp(k,xvel_lo.z,xvel_hi.z)) >= zero) {
83  dest_arr(i,j,k) = (yvel_bc_ptr) ? yvel_bc_ptr[k] : l_bc_extdir_vals_d[0][0];
84  } else if (bc_ptr[0].lo(0) == ERFBCType::foextrap ||
85  bc_ptr[0].lo(0) == ERFBCType::ext_dir_upwind) { // outflow part of an inflow_outflow face
86  dest_arr(i,j,k) = dest_arr(dom_lo.x,j,k);
87  } else if (bc_ptr[0].lo(0) == ERFBCType::open) {
88  dest_arr(i,j,k) = dest_arr(dom_lo.x,j,k);
89  } else if (bc_ptr[0].lo(0) == ERFBCType::reflect_even) {
90  dest_arr(i,j,k) = dest_arr(iflip,j,k);
91  } else if (bc_ptr[0].lo(0) == ERFBCType::reflect_odd) {
92  dest_arr(i,j,k) = -dest_arr(iflip,j,k);
93  } else if (bc_ptr[0].lo(0) == ERFBCType::hoextrap) {
94  Real delta_i = (dom_lo.x - i);
95  dest_arr(i,j,k) = (one + delta_i)*dest_arr(dom_lo.x,j,k) - delta_i*dest_arr(dom_lo.x+1,j,k);
96  }
97  },
98  [=] AMREX_GPU_DEVICE (int i, int j, int k) {
99  int iflip = 2*dom_hi.x + 1 - i;
100  if (bc_ptr[0].hi(0) == ERFBCType::ext_dir) {
101  dest_arr(i,j,k) = (yvel_bc_ptr) ? yvel_bc_ptr[k] : l_bc_extdir_vals_d[0][3];
102  } else if (bc_ptr[0].hi(0) == ERFBCType::ext_dir_upwind && xvel_arr(dom_hi.x+1,Clamp(j,xvel_lo.y,xvel_hi.y),Clamp(k,xvel_lo.z,xvel_hi.z)) <= zero) {
103  dest_arr(i,j,k) = (yvel_bc_ptr) ? yvel_bc_ptr[k] : l_bc_extdir_vals_d[0][3];
104  } else if (bc_ptr[0].hi(0) == ERFBCType::foextrap ||
105  bc_ptr[0].hi(0) == ERFBCType::ext_dir_upwind) { // outflow part of an inflow_outflow face
106  dest_arr(i,j,k) = dest_arr(dom_hi.x,j,k);
107  } else if (bc_ptr[0].hi(0) == ERFBCType::open) {
108  dest_arr(i,j,k) = dest_arr(dom_hi.x,j,k);
109  } else if (bc_ptr[0].hi(0) == ERFBCType::reflect_even) {
110  dest_arr(i,j,k) = dest_arr(iflip,j,k);
111  } else if (bc_ptr[0].hi(0) == ERFBCType::reflect_odd) {
112  dest_arr(i,j,k) = -dest_arr(iflip,j,k);
113  } else if (bc_ptr[0].hi(0) == ERFBCType::hoextrap) {
114  Real delta_i = (i - dom_hi.x);
115  dest_arr(i,j,k) = (one + delta_i)*dest_arr(dom_hi.x,j,k) - delta_i*dest_arr(dom_hi.x-1,j,k);
116  }
117  }
118  );
119  }
120 
121  if (!is_periodic_in_y)
122  {
123  // Populate ghost cells on lo-y and hi-y domain boundaries
124  Real* yvel_bc_ptr = m_v_bc_data;
125  Box bx_ylo(bx); bx_ylo.setBig (1,dom_lo.y-1);
126  Box bx_yhi(bx); bx_yhi.setSmall(1,dom_hi.y+2);
127  Box bx_ylo_face(bx); bx_ylo_face.setSmall(1,dom_lo.y ); bx_ylo_face.setBig(1,dom_lo.y );
128  Box bx_yhi_face(bx); bx_yhi_face.setSmall(1,dom_hi.y+1); bx_yhi_face.setBig(1,dom_hi.y+1);
129  ParallelFor(bx_ylo, bx_ylo_face,
130  [=] AMREX_GPU_DEVICE (int i, int j, int k)
131  {
132  int jflip = 2*dom_lo.y - j;
133  if (bc_ptr[0].lo(1) == ERFBCType::ext_dir) {
134  dest_arr(i,j,k) = (yvel_bc_ptr) ? yvel_bc_ptr[k] : l_bc_extdir_vals_d[0][1];
135  } else if (bc_ptr[0].lo(1) == ERFBCType::ext_dir_upwind && yvel_arr(Clamp(i,yvel_lo.x,yvel_hi.x),dom_lo.y,Clamp(k,yvel_lo.z,yvel_hi.z)) >= zero) {
136  dest_arr(i,j,k) = (yvel_bc_ptr) ? yvel_bc_ptr[k] : l_bc_extdir_vals_d[0][1];
137  } else if (bc_ptr[0].lo(1) == ERFBCType::foextrap ||
138  bc_ptr[0].lo(1) == ERFBCType::ext_dir_upwind) { // outflow part of an inflow_outflow face
139  dest_arr(i,j,k) = dest_arr(i,dom_lo.y,k);
140  } else if (bc_ptr[0].lo(1) == ERFBCType::open) {
141  dest_arr(i,j,k) = dest_arr(i,dom_lo.y,k);
142  } else if (bc_ptr[0].lo(1) == ERFBCType::reflect_even) {
143  dest_arr(i,j,k) = dest_arr(i,jflip,k);
144  } else if (bc_ptr[0].lo(1) == ERFBCType::reflect_odd) {
145  dest_arr(i,j,k) = -dest_arr(i,jflip,k);
146  } else if (bc_ptr[0].lo(1) == ERFBCType::neumann_int) {
147  dest_arr(i,j,k) = (Real(4.0)*dest_arr(i,dom_lo.y+1,k) - dest_arr(i,dom_lo.y+2,k))/three;
148  } else if (bc_ptr[0].lo(1) == ERFBCType::hoextrap) {
149  Real delta_j = (dom_lo.y - j);
150  dest_arr(i,j,k) = (one + delta_j)*dest_arr(i,dom_lo.y,k) - delta_j*dest_arr(i,dom_lo.y+1,k);
151  }
152  },
153  // We only set the values on the domain faces themselves if EXT_DIR or neumann_int
154  [=] AMREX_GPU_DEVICE (int i, int j, int k)
155  {
156  if (bc_ptr[0].lo(1) == ERFBCType::ext_dir) {
157  dest_arr(i,j,k) = (yvel_bc_ptr) ? yvel_bc_ptr[k] : l_bc_extdir_vals_d[0][1];
158  } else if (bc_ptr[0].lo(1) == ERFBCType::ext_dir_upwind && yvel_arr(Clamp(i,yvel_lo.x,yvel_hi.x),dom_lo.y,Clamp(k,yvel_lo.z,yvel_hi.z)) >= zero) {
159  dest_arr(i,j,k) = (yvel_bc_ptr) ? yvel_bc_ptr[k] : l_bc_extdir_vals_d[0][1];
160  } else if (bc_ptr[0].lo(1) == ERFBCType::neumann_int) {
161  dest_arr(i,j,k) = (Real(4.0)*dest_arr(i,dom_lo.y+1,k) - dest_arr(i,dom_lo.y+2,k))/three;
162  }
163  }
164  );
165  ParallelFor(bx_yhi, bx_yhi_face,
166  [=] AMREX_GPU_DEVICE (int i, int j, int k)
167  {
168  int jflip = 2*(dom_hi.y + 1) - j;
169  if (bc_ptr[0].hi(1) == ERFBCType::ext_dir) {
170  dest_arr(i,j,k) = (yvel_bc_ptr) ? yvel_bc_ptr[k] : l_bc_extdir_vals_d[0][4];
171  } else if (bc_ptr[0].hi(1) == ERFBCType::ext_dir_upwind && yvel_arr(Clamp(i,yvel_lo.x,yvel_hi.x),dom_hi.y+1,Clamp(k,yvel_lo.z,yvel_hi.z)) <= zero) {
172  dest_arr(i,j,k) = (yvel_bc_ptr) ? yvel_bc_ptr[k] : l_bc_extdir_vals_d[0][4];
173  } else if (bc_ptr[0].hi(1) == ERFBCType::foextrap ||
174  bc_ptr[0].hi(1) == ERFBCType::ext_dir_upwind) { // outflow part of an inflow_outflow face
175  dest_arr(i,j,k) = dest_arr(i,dom_hi.y+1,k);
176  } else if (bc_ptr[0].hi(1) == ERFBCType::open) {
177  dest_arr(i,j,k) = dest_arr(i,dom_hi.y+1,k);
178  } else if (bc_ptr[0].hi(1) == ERFBCType::reflect_even) {
179  dest_arr(i,j,k) = dest_arr(i,jflip,k);
180  } else if (bc_ptr[0].hi(1) == ERFBCType::reflect_odd) {
181  dest_arr(i,j,k) = -dest_arr(i,jflip,k);
182  } else if (bc_ptr[0].hi(1) == ERFBCType::neumann_int) {
183  dest_arr(i,j,k) = (Real(4.0)*dest_arr(i,dom_hi.y,k) - dest_arr(i,dom_hi.y-1,k))/three;
184  } else if (bc_ptr[0].hi(1) == ERFBCType::hoextrap) {
185  Real delta_j = (j - dom_hi.y - 1);
186  dest_arr(i,j,k) = (one + delta_j)*dest_arr(i,dom_hi.y+1,k) - delta_j*dest_arr(i,dom_hi.y,k);
187  }
188  },
189  // We only set the values on the domain faces themselves if EXT_DIR or neumann_int
190  [=] AMREX_GPU_DEVICE (int i, int j, int k)
191  {
192  if (bc_ptr[0].hi(1) == ERFBCType::ext_dir) {
193  dest_arr(i,j,k) = (yvel_bc_ptr) ? yvel_bc_ptr[k] : l_bc_extdir_vals_d[0][4];
194  } else if (bc_ptr[0].hi(1) == ERFBCType::ext_dir_upwind && yvel_arr(Clamp(i,yvel_lo.x,yvel_hi.x),dom_hi.y+1,Clamp(k,yvel_lo.z,yvel_hi.z)) <= zero) {
195  dest_arr(i,j,k) = (yvel_bc_ptr) ? yvel_bc_ptr[k] : l_bc_extdir_vals_d[0][4];
196  } else if (bc_ptr[0].hi(1) == ERFBCType::neumann_int) {
197  dest_arr(i,j,k) = (Real(4.0)*dest_arr(i,dom_hi.y,k) - dest_arr(i,dom_hi.y-1,k))/three;
198  }
199  }
200  );
201  }
202  Gpu::streamSynchronize();
203 }
constexpr amrex::Real three
Definition: ERF_NumericalConstants.H:39
constexpr amrex::Real one
Definition: ERF_NumericalConstants.H:37
constexpr amrex::Real zero
Definition: ERF_NumericalConstants.H:36
void impose_lateral_yvel_bcs(const amrex::Array4< amrex::Real > &dest_arr, const amrex::Array4< amrex::Real const > &xvel_arr, const amrex::Array4< amrex::Real const > &yvel_arr, const amrex::Box &bx, const amrex::Box &domain, int bccomp, const double time)
Definition: ERF_BoundaryConditionsYvel.cpp:17
@ open
Definition: ERF_IndexDefines.H:324
@ reflect_odd
Definition: ERF_IndexDefines.H:313
@ hoextrap
Definition: ERF_IndexDefines.H:318
@ foextrap
Definition: ERF_IndexDefines.H:316
@ ext_dir
Definition: ERF_IndexDefines.H:317
@ neumann_int
Definition: ERF_IndexDefines.H:323
@ reflect_even
Definition: ERF_IndexDefines.H:315
Here is the call graph for this function:

◆ impose_vertical_yvel_bcs()

void ERFPhysBCFunct_v::impose_vertical_yvel_bcs ( const amrex::Array4< amrex::Real > &  dest_arr,
const amrex::Box &  bx,
const amrex::Box &  domain,
const amrex::Array4< amrex::Real const > &  z_nd,
const amrex::Array4< amrex::Real const > &  mf_x,
const amrex::Array4< amrex::Real const > &  mf_y,
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM >  dxInv,
int  bccomp,
const double  time 
)

Impose vertical boundary conditions on y velocity.

Parameters
[in,out]dest_arry-velocity data to be filled
[in]bxbox holding data to be filled
[in]domainsimulation domain
[in]z_ndnodal physical height
[in]mf_xmap factor m_x at the y faces
[in]mf_ymap factor m_y at the y faces
[in]dxInvinverse cell size
[in]bccompboundary-condition component
[in]timetime at which data should be filled

Impose vertical boundary conditions on y-component of velocity

Parameters
[in,out]dest_arrthe Array4 of the quantity to be filled
[in]bxthe box associated with this data
[in]domainthe computational domain
[in]z_phys_ndheight coordinate at nodes
[in]mf_xmap factor m_x at the y faces
[in]mf_ymap factor m_y at the y faces
[in]dxInvinverse cell size array
[in]bccompindex into m_domain_bcs_type
[in]timetime at which the data should be filled
226 {
227  BL_PROFILE_VAR("impose_vertical_yvel_bcs()",impose_vertical_yvel_bcs);
228  const auto& dom_lo = lbound(domain);
229  const auto& dom_hi = ubound(domain);
230 
231  Box per_grown_domain(domain);
232  int growx = (m_geom.isPeriodic(0)) ? 1 : 0;
233  int growy = (m_geom.isPeriodic(1)) ? 1 : 0;
234  per_grown_domain.grow(IntVect(growx,growy,0));
235  const auto& perdom_lo = lbound(per_grown_domain);
236  const auto& perdom_hi = ubound(per_grown_domain);
237 
238  // Based on BCRec for the domain, we need to make BCRec for this Box
239  // bccomp is used as starting index for m_domain_bcs_type
240  // 0 is used as starting index for bcrs
241  Vector<BCRec> bcrs(1);
242  setBC(enclosedCells(bx), domain, bccomp, 0, 1, m_domain_bcs_type, bcrs);
243 
244  // xlo: ori = 0
245  // ylo: ori = 1
246  // zlo: ori = 2
247  // xhi: ori = 3
248  // yhi: ori = 4
249  // zhi: ori = 5
250 
251  Gpu::DeviceVector<BCRec> bcrs_d(1);
252  Gpu::copyAsync(Gpu::hostToDevice, bcrs.begin(), bcrs.end(), bcrs_d.begin());
253  const BCRec* bc_ptr = bcrs_d.data();
254 
255  GpuArray<GpuArray<Real, AMREX_SPACEDIM*2>, 1> l_bc_extdir_vals_d;
256 
257  for (int ori = 0; ori < 2*AMREX_SPACEDIM; ori++) {
258  l_bc_extdir_vals_d[0][ori] = m_bc_extdir_vals[bccomp][ori];
259  }
260 
261  GeometryData const& geomdata = m_geom.data();
262 
263  {
264  // Populate ghost cells on lo-z and hi-z domain boundaries
265  Box bx_zlo(bx); bx_zlo.setBig (2,dom_lo.z-1);
266  Box bx_zhi(bx); bx_zhi.setSmall(2,dom_hi.z+1);
267  ParallelFor(bx_zlo, bx_zhi,
268  [=] AMREX_GPU_DEVICE (int i, int j, int k) {
269  int kflip = 2*dom_lo.z - 1 - k;
270  if (bc_ptr[0].lo(2) == ERFBCType::ext_dir) {
271  dest_arr(i,j,k) = l_bc_extdir_vals_d[0][2];
272  } else if (bc_ptr[0].lo(2) == ERFBCType::foextrap) {
273  dest_arr(i,j,k) = dest_arr(i,j,dom_lo.z);
274  } else if (bc_ptr[0].lo(2) == ERFBCType::open) {
275  dest_arr(i,j,k) = dest_arr(i,j,dom_lo.z);
276  } else if (bc_ptr[0].lo(2) == ERFBCType::reflect_even) {
277  dest_arr(i,j,k) = dest_arr(i,j,kflip);
278  } else if (bc_ptr[0].lo(2) == ERFBCType::reflect_odd) {
279  dest_arr(i,j,k) = -dest_arr(i,j,kflip);
280  } else if (bc_ptr[0].lo(2) == ERFBCType::hoextrap) {
281  Real delta_k = (dom_lo.z - k);
282  dest_arr(i,j,k) = (one + delta_k)*dest_arr(i,j,dom_lo.z) - delta_k*dest_arr(i,j,dom_lo.z+1);
283  }
284  },
285  [=] AMREX_GPU_DEVICE (int i, int j, int k) {
286  int kflip = 2*dom_hi.z + 1 - k;
287  if (bc_ptr[0].hi(2) == ERFBCType::ext_dir) {
288  dest_arr(i,j,k) = l_bc_extdir_vals_d[0][5];
289  } else if (bc_ptr[0].hi(2) == ERFBCType::foextrap) {
290  dest_arr(i,j,k) = dest_arr(i,j,dom_hi.z);
291  } else if (bc_ptr[0].hi(2) == ERFBCType::open) {
292  dest_arr(i,j,k) = dest_arr(i,j,dom_hi.z);
293  } else if (bc_ptr[0].hi(2) == ERFBCType::reflect_even) {
294  dest_arr(i,j,k) = dest_arr(i,j,kflip);
295  } else if (bc_ptr[0].hi(2) == ERFBCType::reflect_odd) {
296  dest_arr(i,j,k) = -dest_arr(i,j,kflip);
297  } else if (bc_ptr[0].hi(2) == ERFBCType::hoextrap){
298  Real delta_k = (k - dom_hi.z);
299  dest_arr(i,j,k) = (one + delta_k)*dest_arr(i,j,dom_hi.z) - delta_k*dest_arr(i,j,dom_hi.z-1);
300  }
301  }
302  );
303  }
304 
305  if (m_z_phys_nd) {
306 
307  const auto& bx_lo = lbound(bx);
308  const auto& bx_hi = ubound(bx);
309 
310  const auto& zphys_lo = lbound(Box(z_phys_nd));
311  const auto& zphys_hi = ubound(Box(z_phys_nd));
312 
313  const auto& mf_lo = lbound(Box(mf_x));
314  const auto& mf_hi = ubound(Box(mf_x));
315 
316  // Neumann conditions (d<var>/dn = 0) must be aware of the surface normal with terrain.
317  // An additional source term arises from d<var>/dx & d<var>/dy & met_h_xi/eta/zeta.
318  //=====================================================================================
319  // Only modify scalars, U, or V
320  // Loop over each component
321  // Hit for Neumann condition at kmin
322  if(bcrs[0].lo(2) == ERFBCType::foextrap) {
323  // Loop over ghost cells in bottom XY-plane (valid box)
324  Box xybx = bx;
325  xybx.setBig(2,-1);
326  xybx.setSmall(2,bx.smallEnd()[2]);
327  int k0 = 0;
328 
329  // Get the dz cell size
330  Real dz = geomdata.CellSize(2);
331 
332  // Fill all the Neumann srcs with terrain
333  ParallelFor(xybx, [=] AMREX_GPU_DEVICE (int i, int j, int k)
334  {
335  // Clip indices for ghost-cells
336  int ii = amrex::min(amrex::max(i,perdom_lo.x),perdom_hi.x);
337  ii = amrex::min(amrex::max(ii,zphys_lo.x),zphys_hi.x);
338  int jj = amrex::min(amrex::max(j,perdom_lo.y),perdom_hi.y);
339  jj = amrex::min(amrex::max(jj,zphys_lo.y),zphys_hi.y);
340 
341  // Get metrics
342  Real met_h_xi = Compute_h_xi_AtJface (ii, jj, k0, dxInv, z_phys_nd);
343  Real met_h_eta = Compute_h_eta_AtJface (ii, jj, k0, dxInv, z_phys_nd);
344  Real met_h_zeta = Compute_h_zeta_AtJface(ii, jj, k0, dxInv, z_phys_nd);
345 
346  // Map factors at the face, clamped to the (2D) map-factor box
347  int im = amrex::min(amrex::max(ii,mf_lo.x),mf_hi.x);
348  int jm = amrex::min(amrex::max(jj,mf_lo.y),mf_hi.y);
349  Real mfx = (mf_x) ? mf_x(im,jm,0) : one;
350  Real mfy = (mf_y) ? mf_y(im,jm,0) : one;
351  Real slope_x = mfx * met_h_xi;
352  Real slope_y = mfy * met_h_eta;
353 
354  // GradX at IJK location inside domain -- this relies on the assumption that we have
355  // used foextrap for cell-centered quantities outside the domain to define the gradient as zero
356  Real GradVarx, GradVary;
357  if ( i < dom_lo.x-1 || i > dom_hi.x+1 || (i+1 > bx_hi.x && i-1 < bx_lo.x) ) {
358  GradVarx = zero;
359  } else if (i+1 > bx_hi.x) {
360  GradVarx = dxInv[0] * (dest_arr(i ,j,k0) - dest_arr(i-1,j,k0));
361  } else if (i-1 < bx_lo.x) {
362  GradVarx = dxInv[0] * (dest_arr(i+1,j,k0) - dest_arr(i ,j,k0));
363  } else {
364  GradVarx = myhalf * dxInv[0] * (dest_arr(i+1,j,k0) - dest_arr(i-1,j,k0));
365  }
366 
367  // GradY at IJK location inside domain -- this relies on the assumption that we have
368  // used foextrap for cell-centered quantities outside the domain to define the gradient as zero
369  if ( j < dom_lo.y-1 || j > dom_hi.y+1 || (j+1 > bx_hi.y && j-1 < bx_lo.y) ) {
370  GradVary = zero;
371  } else if (j+1 > bx_hi.y) {
372  GradVary = dxInv[1] * (dest_arr(i,j ,k0) - dest_arr(i,j-1,k0));
373  } else if (j-1 < bx_lo.y) {
374  GradVary = dxInv[1] * (dest_arr(i,j+1,k0) - dest_arr(i,j ,k0));
375  } else {
376  GradVary = myhalf * dxInv[1] * (dest_arr(i,j+1,k0) - dest_arr(i,j-1,k0));
377  }
378 
379  // Prefactor, with the physical slopes m_x h_xi and m_y h_eta
380  Real met_fac = met_h_zeta / ( slope_x*slope_x + slope_y*slope_y + one );
381 
382  // Accumulate in bottom ghost cell (EXTRAP already populated)
383  dest_arr(i,j,k) -= dz * met_fac * ( mfx * slope_x * GradVarx + mfy * slope_y * GradVary );
384  });
385  } // foextrap
386  } //m_z_phys_nd
387  Gpu::streamSynchronize();
388 }
amrex::GpuArray< Real, AMREX_SPACEDIM > dxInv
Definition: ERF_InitCustomPertVels_ParticleTests.H:16
constexpr amrex::Real myhalf
Definition: ERF_NumericalConstants.H:41
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_eta_AtJface(const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd)
Definition: ERF_TerrainMetrics.H:397
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_xi_AtJface(const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd)
Definition: ERF_TerrainMetrics.H:374
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real Compute_h_zeta_AtJface(const int &i, const int &j, const int &k, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &cellSizeInv, const amrex::Array4< const amrex::Real > &z_nd)
Definition: ERF_TerrainMetrics.H:351
void impose_vertical_yvel_bcs(const amrex::Array4< amrex::Real > &dest_arr, const amrex::Box &bx, const amrex::Box &domain, const amrex::Array4< amrex::Real const > &z_nd, const amrex::Array4< amrex::Real const > &mf_x, const amrex::Array4< amrex::Real const > &mf_y, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > dxInv, int bccomp, const double time)
Definition: ERF_BoundaryConditionsYvel.cpp:219
Here is the call graph for this function:

◆ operator()()

void ERFPhysBCFunct_v::operator() ( amrex::MultiFab &  mf,
amrex::MultiFab &  xvel,
amrex::MultiFab &  yvel,
amrex::IntVect const &  nghost,
const double  time,
int  bccomp,
bool  do_fb 
)

Impose physical boundary conditions at domain boundaries

Parameters
[in,out]mfy-velocity MultiFab to be filled
[in]xvelx-velocity MultiFab used by upwind boundary conditions
[in]yvely-velocity MultiFab used by upwind boundary conditions
[in]nghostnumber of ghost cells to be filled for velocity components
[in]timetime at which the data should be filled
[in]bccompindex into m_domain_bcs_type
[in]do_fbwhether to fill periodic/interior ghost cells first

Impose physical boundary conditions on y velocity.

Parameters
[in,out]mfy-velocity MultiFab to be filled
[in]xvelx-velocity MultiFab used by upwind boundary conditions
[in]yvely-velocity MultiFab used by upwind boundary conditions
[in]nghostnumber of ghost cells to be filled
[in]timetime at which data should be filled
[in]bccompindex into m_domain_bcs_type
[in]do_fbwhether to fill periodic/interior ghost cells first
284 {
285  BL_PROFILE("ERFPhysBCFunct_v::()");
286 
287  //
288  // We fill all of the interior and periodic ghost cells first, so we can fill
289  // those directly inside the lateral and vertical calls.
290  // If triply periodic this is all we do
291  //
292  if (do_fb) {
293  mf.FillBoundary(m_geom.periodicity());
294  }
295 
296  if (m_geom.isAllPeriodic()) return;
297 
298  const auto& domain = m_geom.Domain();
299  const auto dxInv = m_geom.InvCellSizeArray();
300 
301  Box gdomainy = surroundingNodes(domain,1);
302  for (int i = 0; i < AMREX_SPACEDIM; ++i) {
303  if (m_geom.isPeriodic(i)) {
304  gdomainy.grow(i, nghost[i]);
305  }
306  }
307 
308 #ifdef AMREX_USE_OMP
309 #pragma omp parallel if (Gpu::notInLaunchRegion())
310 #endif
311  {
312  for (MFIter mfi(mf,false); mfi.isValid(); ++mfi)
313  {
314  //
315  // This is the box we pass to the different routines
316  // NOTE -- this is the full grid NOT the tile box
317  //
318  Box bx = mfi.validbox();
319 
320  //
321  // These are the boxes we use to test on relative to the domain
322  //
323  Box ybx1 = surroundingNodes(bx,1); ybx1.grow(nghost);
324  if (ybx1.smallEnd(2) < domain.smallEnd(2)) ybx1.setSmall(2,domain.smallEnd(2));
325  if (ybx1.bigEnd(2) > domain.bigEnd(2)) ybx1.setBig(2,domain.bigEnd(2));
326 
327  Box ybx2 = surroundingNodes(bx,1); ybx2.grow(nghost);
328 
329  Array4<const Real> z_nd_arr;
330  Array4<const Real> mf_x_arr;
331  Array4<const Real> mf_y_arr;
332  if (m_z_phys_nd) {
333  z_nd_arr = m_z_phys_nd->const_array(mfi);
334  }
335  if (m_mapfac_x) {
336  mf_x_arr = m_mapfac_x->const_array(mfi);
337  }
338  if (m_mapfac_y) {
339  mf_y_arr = m_mapfac_y->const_array(mfi);
340  }
341 
342  if (!gdomainy.contains(ybx2)) {
343  Array4< Real> const& dest_arr = mf.array(mfi);
344  Array4<const Real> const& velx_arr = xvel.const_array(mfi);
345  Array4<const Real> const& vely_arr = yvel.const_array(mfi);
346 
347  if (!m_use_real_bcs) {
348  impose_lateral_yvel_bcs(dest_arr,velx_arr,vely_arr,ybx1,domain,bccomp,time);
349  impose_inflow_profile_yvel(dest_arr,velx_arr,vely_arr,z_nd_arr,ybx1,domain,bccomp);
350  }
351 
352  impose_vertical_yvel_bcs(dest_arr,ybx2,domain,z_nd_arr,mf_x_arr,mf_y_arr,dxInv,bccomp,time);
353  }
354 
355  } // MFIter
356  } // OpenMP
357 
358  // The terrain correction below the ground is computed box by box; make the
359  // copies of each ghost cell agree. Only a terrain-fitted mesh has a
360  // non-zero correction -- z_phys_nd is allocated (and zeroed) for every
361  // terrain type, so testing it alone would pay for the sync on flat runs.
362  if (m_z_phys_nd && terrain_is_fitted(m_terrain_type)) {
363  m_below_ground_sync(mf, 0, 1, nghost, m_geom);
364  }
365 } // operator()
void impose_inflow_profile_yvel(const amrex::Array4< amrex::Real > &dest_arr, const amrex::Array4< amrex::Real const > &xvel_arr, const amrex::Array4< amrex::Real const > &yvel_arr, const amrex::Array4< amrex::Real const > &z_nd, const amrex::Box &bx, const amrex::Box &domain, int bccomp)
Definition: ERF_BoundaryConditionsInflowProfile.cpp:106
BelowGroundGhostSync m_below_ground_sync
Definition: ERF_PhysBCFunct.H:486
@ xvel
Definition: ERF_IndexDefines.H:232
@ yvel
Definition: ERF_IndexDefines.H:233

◆ set_inflow_profiles()

void ERFPhysBCFunct_v::set_inflow_profiles ( const amrex::Array< InflowProfile, 2 *AMREX_SPACEDIM > *  profiles)
inline

Terrain-following inflow profiles per face (xlo.inflow_profile), owned by ERF

408 { m_inflow_profiles = profiles; }

Member Data Documentation

◆ m_bc_extdir_vals

amrex::Array<amrex::Array<amrex::Real, AMREX_SPACEDIM*2>,AMREX_SPACEDIM+NBCVAR_max> ERFPhysBCFunct_v::m_bc_extdir_vals
private

◆ m_bc_neumann_vals

amrex::Array<amrex::Array<amrex::Real, AMREX_SPACEDIM*2>,AMREX_SPACEDIM+NBCVAR_max> ERFPhysBCFunct_v::m_bc_neumann_vals
private

◆ m_below_ground_sync

BelowGroundGhostSync ERFPhysBCFunct_v::m_below_ground_sync
private

◆ m_domain_bcs_type

amrex::Vector<amrex::BCRec> ERFPhysBCFunct_v::m_domain_bcs_type
private

◆ m_domain_bcs_type_d

amrex::Gpu::DeviceVector<amrex::BCRec> ERFPhysBCFunct_v::m_domain_bcs_type_d
private

◆ m_geom

amrex::Geometry ERFPhysBCFunct_v::m_geom
private

◆ m_inflow_profiles

const amrex::Array<InflowProfile,2*AMREX_SPACEDIM>* ERFPhysBCFunct_v::m_inflow_profiles = nullptr
private

Referenced by set_inflow_profiles().

◆ m_lev

int ERFPhysBCFunct_v::m_lev
private

◆ m_mapfac_x

amrex::MultiFab* ERFPhysBCFunct_v::m_mapfac_x
private

Referenced by ERFPhysBCFunct_v().

◆ m_mapfac_y

amrex::MultiFab* ERFPhysBCFunct_v::m_mapfac_y
private

Referenced by ERFPhysBCFunct_v().

◆ m_terrain_type

TerrainType ERFPhysBCFunct_v::m_terrain_type
private

◆ m_use_real_bcs

bool ERFPhysBCFunct_v::m_use_real_bcs
private

◆ m_v_bc_data

amrex::Real* ERFPhysBCFunct_v::m_v_bc_data
private

◆ m_z_phys_nd

amrex::MultiFab* ERFPhysBCFunct_v::m_z_phys_nd
private

The documentation for this class was generated from the following files: