deal.II version 9.7.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\}}\)
Loading...
Searching...
No Matches
Portable Namespace Reference

Namespaces

namespace  internal

Classes

struct  DataHost
class  DeviceBlockVector
class  FEEvaluation
class  MatrixFree
struct  SharedData

Typedefs

template<typename Number>
using DeviceVector

Functions

template<int dim, typename Number>
DataHost< dim, Number > copy_mf_data_to_host (const typename::Portable::MatrixFree< dim, Number >::PrecomputedData &data, const UpdateFlags &update_flags)

Variables

constexpr unsigned int n_max_dof_handlers = 5

Detailed Description

Namespace for portable capabilities

Typedef Documentation

◆ DeviceVector

template<typename Number>
using Portable::DeviceVector
Initial value:
Kokkos::View<Number *, MemorySpace::Default::kokkos_space>

Type for source and destination vectors in device functions like MatrixFree::cell_loop().

This is a type alias to a Kokkos::View to a chunk of memory, typically pointing to the local elements in the LinearAlgebra::distributed::Vector.

Definition at line 86 of file portable_matrix_free.h.

Variable Documentation

◆ n_max_dof_handlers

unsigned int Portable::n_max_dof_handlers = 5
inlineconstexpr

Maximum number of DofHandler supported at the same time in Portable::MatrixFree computations. This limit also applies for the number of blocks in a BlockVector and the number of FEEvaluation objects that can be active in a single cell_loop().

Definition at line 76 of file portable_matrix_free.h.