deal.II version GIT relicensing-1982-gbb401394a0 2024-10-13 08:40:01+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 SharedViewValues = Kokkos::View< Number **, MemorySpace::Default::kokkos_space::execution_space::scratch_memory_space, Kokkos::MemoryTraits< Kokkos::Unmanaged > >
 
using SharedViewGradients = Kokkos::View< Number ***, MemorySpace::Default::kokkos_space::execution_space::scratch_memory_space, Kokkos::MemoryTraits< Kokkos::Unmanaged > >
 

Public Member Functions

 SharedData (const TeamHandle &team_member, const SharedViewValues &values, const SharedViewGradients &gradients)
 

Public Attributes

TeamHandle team_member
 
SharedViewValues values
 
SharedViewGradients gradients
 

Detailed Description

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

Definition at line 619 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 621 of file portable_matrix_free.h.

◆ SharedViewValues

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

Definition at line 624 of file portable_matrix_free.h.

◆ SharedViewGradients

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

Definition at line 628 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 SharedViewValues values,
const SharedViewGradients gradients 
)
inline

Definition at line 634 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 645 of file portable_matrix_free.h.

◆ values

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

Memory for dof and quad values.

Definition at line 650 of file portable_matrix_free.h.

◆ gradients

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

Memory for computed gradients in reference coordinate system.

Definition at line 655 of file portable_matrix_free.h.


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