LandauKokkosCreateMatMaps#

Build the Kokkos device-side P4estVertexMaps used by the DMPLEX Landau collision operator from its host-side reduced quadrature-point map

Synopsis#

#include "petscdmplex.h"   
PetscErrorCode LandauKokkosCreateMatMaps(P4estVertexMaps maps[], pointInterpolationP4est (*pointMaps)[LANDAU_MAX_Q_FACE], PetscInt Nf[], PetscInt grid)

Not Collective; No Fortran Support

Input Parameters#

  • maps - array of vertex-map structs, one per grid, whose device-side representation is to be created

  • pointMaps - host-side reduced quadrature-point maps, indexed by element and face quadrature point

  • Nf - number of fields (species) per grid

  • grid - index of the grid for which to build the device-side map

Note#

This is called by DMPlexLandauCreateVelocitySpace() when the Kokkos backend is selected; it is not intended to be called directly by user code.

See Also#

LandauKokkosDestroyMatMaps(), LandauCtx, LandauDeviceType, LandauStaticData, pointInterpolationP4est

Level#

developer

Location#

src/ts/utils/dmplexlandau/kokkos/landau.kokkos.cxx


Index of all LANDAU routines
Table of Contents for all manual pages
Index of all manual pages