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

Method intarray

Src/Particle/AMReX_StructOfArrays.H:326–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324 }
325
326 [[nodiscard]] GpuArray<int*, NInt> intarray ()
327 {
328 GpuArray<int*, NInt> arr;
329 for (int i = 0; i < NInt; ++i)
330 {
331 arr[i] = m_idata[i].dataPtr();
332 }
333 return arr;
334 }
335
336 void collectVectors (Vector<IdCPU*>& idcpuv, Vector<RealVector*>& rv,
337 Vector<IntVector*>& iv)

Callers

nothing calls this directly

Calls 1

dataPtrMethod · 0.45

Tested by

no test coverage detected