Go to the source code of this file.
|
| ParmParse | pp_prob ("prob") |
| |
| pp_prob | query ("advection_moisture_rate", advection_moisture_rate) |
| |
| pp_prob | query ("source_cutoff", source_cutoff) |
| |
| | for (MFIter mfi(*qsrc, TilingIfNotGPU());mfi.isValid();++mfi) |
| |
◆ for()
| for |
( |
MFIter mfi(*, |
TilingIfNotGPU | ) |
|
16 const auto &box = mfi.tilebox();
17 const Array4<Real>& qsrc_arr = qsrc->array(mfi);
18 if (box.length(0) != 1)
21 ParallelFor(box, [=] AMREX_GPU_DEVICE(
int i,
int j,
int k) noexcept
27 const auto c = 1700.0*1700.0;
28 const auto r = std::sqrt((x-
xc)*(x-
xc) + (y-
yc)*(y-
yc));
29 const auto rsqr = r*r;
34 ParallelFor(box, [=] AMREX_GPU_DEVICE(
int i,
int j,
int k) {
35 qsrc_arr(i, j, k) = 0.0;
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);})
auto prob_lo
Definition: ERF_UpdateRhoQtSources_SDMCongestus3DCold.H:6
Real yc
Definition: ERF_UpdateRhoQtSources_SDMCongestus3DCold.H:12
Real advection_moisture_rate
Definition: ERF_UpdateRhoQtSources_SDMCongestus3DCold.H:3
Real xc
Definition: ERF_UpdateRhoQtSources_SDMCongestus3DCold.H:11
Real source_cutoff
Definition: ERF_UpdateRhoQtSources_SDMCongestus3DCold.H:4
auto dx
Definition: ERF_UpdateRhoQtSources_SDMCongestus3DCold.H:8
◆ pp_prob()
| ParmParse pp_prob |
( |
"prob" |
| ) |
|
◆ query() [1/2]
◆ query() [2/2]
◆ advection_moisture_rate
| Real advection_moisture_rate = 1.0e-8 |
◆ dx
| auto dx = geom.CellSizeArray() |
◆ prob_hi
| auto prob_hi = geom.ProbHiArray() |
◆ prob_lo
| auto prob_lo = geom.ProbLoArray() |
◆ source_cutoff
| Real source_cutoff = 500.0 |
◆ xc
◆ yc