Reference documentation for deal.II version 9.3.3
|
#include <deal.II/matrix_free/cuda_matrix_free.h>
Public Attributes | |
std::vector< Point< dim, Number > > | q_points |
std::vector< types::global_dof_index > | local_to_global |
std::vector< Number > | inv_jacobian |
std::vector< Number > | JxW |
unsigned int | id |
unsigned int | n_cells |
unsigned int | padding_length |
unsigned int | row_start |
std::vector< unsigned int > | constraint_mask |
bool | use_coloring |
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 773 of file cuda_matrix_free.h.
std::vector<Point<dim, Number> > CUDAWrappers::DataHost< dim, Number >::q_points |
Vector of quadrature points.
Definition at line 778 of file cuda_matrix_free.h.
std::vector<types::global_dof_index> CUDAWrappers::DataHost< dim, Number >::local_to_global |
Map the position in the local vector to the position in the global vector.
Definition at line 784 of file cuda_matrix_free.h.
std::vector<Number> CUDAWrappers::DataHost< dim, Number >::inv_jacobian |
Vector of inverse Jacobians.
Definition at line 789 of file cuda_matrix_free.h.
std::vector<Number> CUDAWrappers::DataHost< dim, Number >::JxW |
Vector of Jacobian times the weights.
Definition at line 794 of file cuda_matrix_free.h.
unsigned int CUDAWrappers::DataHost< dim, Number >::id |
ID of the associated MatrixFree object.
Definition at line 799 of file cuda_matrix_free.h.
unsigned int CUDAWrappers::DataHost< dim, Number >::n_cells |
Number of cells.
Definition at line 804 of file cuda_matrix_free.h.
unsigned int CUDAWrappers::DataHost< dim, Number >::padding_length |
Length of the padding.
Definition at line 809 of file cuda_matrix_free.h.
unsigned int CUDAWrappers::DataHost< dim, Number >::row_start |
Row start (including padding).
Definition at line 814 of file cuda_matrix_free.h.
std::vector<unsigned int> CUDAWrappers::DataHost< dim, Number >::constraint_mask |
Mask deciding where constraints are set on a given cell.
Definition at line 819 of file cuda_matrix_free.h.
bool CUDAWrappers::DataHost< dim, Number >::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 825 of file cuda_matrix_free.h.