Reference documentation for deal.II version Git 0fef43a830 2020-06-04 17:02:31 -0400
\(\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\}}\)
Public Member Functions | Public Attributes | List of all members
CUDAWrappers::SharedData< dim, Number > Struct Template Reference

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

Public Member Functions

 SharedData (Number *vd, Number *gq[dim])
 

Public Attributes

Number * values
 
Number * gradients [dim]
 

Detailed Description

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

Structure to pass the shared memory into a general user function.

Definition at line 606 of file cuda_matrix_free.h.

Constructor & Destructor Documentation

◆ SharedData()

template<int dim, typename Number>
CUDAWrappers::SharedData< dim, Number >::SharedData ( Number *  vd,
Number *  gq[dim] 
)
inline

Constructor.

Definition at line 612 of file cuda_matrix_free.h.

Member Data Documentation

◆ values

template<int dim, typename Number>
Number* CUDAWrappers::SharedData< dim, Number >::values

Shared memory for dof and quad values.

Definition at line 622 of file cuda_matrix_free.h.

◆ gradients

template<int dim, typename Number>
Number* CUDAWrappers::SharedData< dim, Number >::gradients[dim]

Shared memory for computed gradients in reference coordinate system. The gradient in each direction is saved in a struct-of-array format, i.e. first, all gradients in the x-direction come...

Definition at line 629 of file cuda_matrix_free.h.


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