https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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.
 
void destroy ()
 Free data.
 

Public Attributes

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

Detailed Description

Data for direct assembly on device.

Definition at line 122 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 139 of file KokkosVector.h.

◆ count

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

Number of DOFs to send/receive for each process.

Definition at line 131 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 127 of file KokkosVector.h.

◆ offset

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

Starting offset of each process into the communication buffer.

Definition at line 135 of file KokkosVector.h.


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