https://mooseframework.inl.gov
Public Member Functions | Public Attributes | List of all members
Moose::Kokkos::Vector::DeviceAssembly Struct Reference

Data for direct assembly on device. More...

Public Member Functions

void create (const Array< Array< libMesh::dof_id_type >> &list)
 Allocate data. More...
 
void destroy ()
 Free data. More...
 

Public Attributes

Array< Array< libMesh::dof_id_type > > list
 List of DOFs to send/receive for each process. More...
 
Array< intcount
 Number of DOFs to send/receive for each process. More...
 
Array< intoffset
 Starting offset of each process into the communication buffer. More...
 
Array< PetscScalar > buffer
 Communication buffer. More...
 

Detailed Description

Data for direct assembly on device.

Definition at line 124 of file KokkosVector.h.

Member Function Documentation

◆ create()

void Moose::Kokkos::Vector::DeviceAssembly::create ( const Array< Array< libMesh::dof_id_type >> &  list)

Allocate data.

◆ destroy()

void Moose::Kokkos::Vector::DeviceAssembly::destroy ( )

Free data.

Member Data Documentation

◆ buffer

Array<PetscScalar> Moose::Kokkos::Vector::DeviceAssembly::buffer

Communication buffer.

Definition at line 141 of file KokkosVector.h.

◆ count

Array<int> Moose::Kokkos::Vector::DeviceAssembly::count

Number of DOFs to send/receive for each process.

Definition at line 133 of file KokkosVector.h.

◆ list

Array<Array<libMesh::dof_id_type> > Moose::Kokkos::Vector::DeviceAssembly::list

List of DOFs to send/receive for each process.

Definition at line 129 of file KokkosVector.h.

◆ offset

Array<int> Moose::Kokkos::Vector::DeviceAssembly::offset

Starting offset of each process into the communication buffer.

Definition at line 137 of file KokkosVector.h.


The documentation for this struct was generated from the following file: