MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / IntVectSplit_imp2

Function IntVectSplit_imp2

Src/Base/AMReX_IntVect.H:1213–1218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1211 template<int dim>
1212 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE constexpr
1213 void IntVectSplit_imp2 (IntVectND<dim>& dst, const int*& src) noexcept {
1214 for (int i=0; i<dim; ++i) {
1215 dst[i] = src[i];
1216 }
1217 src += dim;
1218 }
1219
1220 template<class T, std::size_t...Ns>
1221 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE constexpr

Callers 1

IntVectSplit_impFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected