Go to the source code of this file.
|
| ParmParse | pp_prob ("prob") |
| |
| pp_prob | query ("advection_heating_rate", advection_heating_rate) |
| |
| pp_prob | query ("source_cutoff", source_cutoff) |
| |
| | for (MFIter mfi(*src, TilingIfNotGPU());mfi.isValid();++mfi) |
| |
◆ for()
| for |
( |
MFIter mfi(*, |
TilingIfNotGPU | ) |
|
16 const auto &box = mfi.tilebox();
17 const Array4<Real>& src_arr = src->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 = 2890000.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) {
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_UpdateRhoThetaSources_SDMCongestus3DCold.H:6
Real yc
Definition: ERF_UpdateRhoThetaSources_SDMCongestus3DCold.H:12
Real advection_heating_rate
Definition: ERF_UpdateRhoThetaSources_SDMCongestus3DCold.H:3
Real xc
Definition: ERF_UpdateRhoThetaSources_SDMCongestus3DCold.H:11
Real source_cutoff
Definition: ERF_UpdateRhoThetaSources_SDMCongestus3DCold.H:4
auto dx
Definition: ERF_UpdateRhoThetaSources_SDMCongestus3DCold.H:8
◆ pp_prob()
| ParmParse pp_prob |
( |
"prob" |
| ) |
|
◆ query() [1/2]
◆ query() [2/2]
◆ advection_heating_rate
| Real advection_heating_rate = 5.4e-5 |
◆ 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