Reference documentation for deal.II version Git f81eda9982 2020-03-28 21:30:57 -0400
\(\newcommand{\vcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\vcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Public Attributes | List of all members
CUDAWrappers::MatrixFree< dim, Number >::Data Struct Reference

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

Public Attributes

point_typeq_points
 
types::global_dof_indexlocal_to_global
 
Number * inv_jacobian
 
Number * JxW
 
unsigned int n_cells
 
unsigned int padding_length
 
unsigned int row_start
 
unsigned int * constraint_mask
 
bool use_coloring
 

Detailed Description

template<int dim, typename Number = double>
struct CUDAWrappers::MatrixFree< dim, Number >::Data

Structure which is passed to the kernel. It is used to pass all the necessary information from the CPU to the GPU.

Definition at line 149 of file cuda_matrix_free.h.

Member Data Documentation

◆ q_points

template<int dim, typename Number = double>
point_type* CUDAWrappers::MatrixFree< dim, Number >::Data::q_points

Pointer to the quadrature points.

Definition at line 154 of file cuda_matrix_free.h.

◆ local_to_global

template<int dim, typename Number = double>
types::global_dof_index* CUDAWrappers::MatrixFree< dim, Number >::Data::local_to_global

Map the position in the local vector to the position in the global vector.

Definition at line 160 of file cuda_matrix_free.h.

◆ inv_jacobian

template<int dim, typename Number = double>
Number* CUDAWrappers::MatrixFree< dim, Number >::Data::inv_jacobian

Pointer to the inverse Jacobian.

Definition at line 165 of file cuda_matrix_free.h.

◆ JxW

template<int dim, typename Number = double>
Number* CUDAWrappers::MatrixFree< dim, Number >::Data::JxW

Pointer to the Jacobian times the weights.

Definition at line 170 of file cuda_matrix_free.h.

◆ n_cells

template<int dim, typename Number = double>
unsigned int CUDAWrappers::MatrixFree< dim, Number >::Data::n_cells

Number of cells.

Definition at line 175 of file cuda_matrix_free.h.

◆ padding_length

template<int dim, typename Number = double>
unsigned int CUDAWrappers::MatrixFree< dim, Number >::Data::padding_length

Length of the padding.

Definition at line 180 of file cuda_matrix_free.h.

◆ row_start

template<int dim, typename Number = double>
unsigned int CUDAWrappers::MatrixFree< dim, Number >::Data::row_start

Row start (including padding).

Definition at line 185 of file cuda_matrix_free.h.

◆ constraint_mask

template<int dim, typename Number = double>
unsigned int* CUDAWrappers::MatrixFree< dim, Number >::Data::constraint_mask

Mask deciding where constraints are set on a given cell.

Definition at line 190 of file cuda_matrix_free.h.

◆ use_coloring

template<int dim, typename Number = double>
bool CUDAWrappers::MatrixFree< dim, Number >::Data::use_coloring

If true, use graph coloring has been used and we can simply add into the destingation vector. Otherwise, use atomic operations.

Definition at line 196 of file cuda_matrix_free.h.


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