| 89 | } |
| 90 | |
| 91 | void ca_derlogden(const Box& bx, FArrayBox& derfab, int /*dcomp*/, int /*ncomp*/, |
| 92 | const FArrayBox& datfab, const Geometry& /*geom*/, |
| 93 | Real /*time*/, const int* /*bcrec*/, int /*level*/) |
| 94 | { |
| 95 | |
| 96 | auto const dat = datfab.array(); |
| 97 | auto const der = derfab.array(); |
| 98 | |
| 99 | amrex::ParallelFor(bx, |
| 100 | [=] AMREX_GPU_DEVICE (int i, int j, int k) noexcept |
| 101 | { |
| 102 | der(i,j,k,0) = std::log10(dat(i,j,k,0)); |
| 103 | }); |
| 104 | } |
| 105 | |
| 106 | void ca_deruplusc(const Box& bx, FArrayBox& derfab, int /*dcomp*/, int /*ncomp*/, |
| 107 | const FArrayBox& datfab, const Geometry& /*geom*/, |
nothing calls this directly
no outgoing calls
no test coverage detected