Reference documentation for deal.II version 9.2.0
\(\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 591 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 597 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 607 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 614 of file cuda_matrix_free.h.


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