LandauDeviceType#

Selects the backend used to evaluate the Landau collision-operator Jacobian and to hold its workspace data

Synopsis#

#include "petscdmplex.h"    
typedef enum {
  LANDAU_KOKKOS,
  LANDAU_CPU
} LandauDeviceType;

Values#

  • LANDAU_KOKKOS - run on the device with the Kokkos backend (requires PETSc configured --with-kokkos)

  • LANDAU_CPU - run on the host (default when Kokkos is not enabled)

See Also#

DMPlexLandauCreateVelocitySpace(), LandauCtx, LandauStaticData

Level#

intermediate

Location#

include/petsclandau.h


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