WarpX
Functions
SortingUtils.cpp File Reference
#include "SortingUtils.H"

Functions

void fillWithConsecutiveIntegers (amrex::Gpu::DeviceVector< int > &v)
 Fill the elements of the input vector with consecutive integer, starting from 0. More...
 

Function Documentation

◆ fillWithConsecutiveIntegers()

void fillWithConsecutiveIntegers ( amrex::Gpu::DeviceVector< int > &  v)

Fill the elements of the input vector with consecutive integer, starting from 0.

Parameters
[in,out]vVector of integers, to be filled by this routine