Reference documentation for deal.II version GIT relicensing-822-gf1642d4ea5 2024-06-12 14:10:02+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
Portable::SharedData< dim, Number > Struct Template Reference

#include <deal.II/matrix_free/portable_matrix_free.h>

Inheritance diagram for Portable::SharedData< dim, Number >:
Inheritance graph
[legend]

Public Types

using TeamHandle = Kokkos::TeamPolicy< MemorySpace::Default::kokkos_space::execution_space >::member_type
 
using SharedView1D = Kokkos::View< Number *, MemorySpace::Default::kokkos_space::execution_space::scratch_memory_space, Kokkos::MemoryTraits< Kokkos::Unmanaged > >
 
using SharedView2D = Kokkos::View< Number *[dim], MemorySpace::Default::kokkos_space::execution_space::scratch_memory_space, Kokkos::MemoryTraits< Kokkos::Unmanaged > >
 

Public Member Functions

 SharedData (const TeamHandle &team_member, const SharedView1D &values, const SharedView2D &gradients)
 

Public Attributes

TeamHandle team_member
 
SharedView1D values
 
SharedView2D gradients
 

Detailed Description

template<int dim, typename Number>
struct Portable::SharedData< dim, Number >

Definition at line 633 of file portable_matrix_free.h.

Member Typedef Documentation

◆ TeamHandle

template<int dim, typename Number >
using Portable::SharedData< dim, Number >::TeamHandle = Kokkos::TeamPolicy< MemorySpace::Default::kokkos_space::execution_space>::member_type

Definition at line 635 of file portable_matrix_free.h.

◆ SharedView1D

template<int dim, typename Number >
using Portable::SharedData< dim, Number >::SharedView1D = Kokkos::View< Number *, MemorySpace::Default::kokkos_space::execution_space::scratch_memory_space, Kokkos::MemoryTraits<Kokkos::Unmanaged> >

Definition at line 638 of file portable_matrix_free.h.

◆ SharedView2D

template<int dim, typename Number >
using Portable::SharedData< dim, Number >::SharedView2D = Kokkos::View< Number *[dim], MemorySpace::Default::kokkos_space::execution_space::scratch_memory_space, Kokkos::MemoryTraits<Kokkos::Unmanaged> >

Definition at line 642 of file portable_matrix_free.h.

Constructor & Destructor Documentation

◆ SharedData()

template<int dim, typename Number >
Portable::SharedData< dim, Number >::SharedData ( const TeamHandle team_member,
const SharedView1D values,
const SharedView2D gradients 
)
inline

Definition at line 648 of file portable_matrix_free.h.

Member Data Documentation

◆ team_member

template<int dim, typename Number >
TeamHandle Portable::SharedData< dim, Number >::team_member

TeamPolicy handle.

Definition at line 659 of file portable_matrix_free.h.

◆ values

template<int dim, typename Number >
SharedView1D Portable::SharedData< dim, Number >::values

Memory for dof and quad values.

Definition at line 664 of file portable_matrix_free.h.

◆ gradients

template<int dim, typename Number >
SharedView2D Portable::SharedData< dim, Number >::gradients

Memory for computed gradients in reference coordinate system.

Definition at line 669 of file portable_matrix_free.h.


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