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

Method realarray

Src/Particle/AMReX_StructOfArrays.H:316–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314 }
315
316 [[nodiscard]] GpuArray<ParticleReal*, NReal> realarray ()
317 {
318 GpuArray<Real*, NReal> arr;
319 for (int i = 0; i < NReal; ++i)
320 {
321 arr[i] = m_rdata[i].dataPtr();
322 }
323 return arr;
324 }
325
326 [[nodiscard]] GpuArray<int*, NInt> intarray ()
327 {

Callers

nothing calls this directly

Calls 1

dataPtrMethod · 0.45

Tested by

no test coverage detected