Reference documentation for deal.II version 9.6.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
internal::PrecomputedEvaluationDataView Struct Reference

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

Public Member Functions

unsigned int get_shift (const unsigned int index) const
 
unsigned int get_shift (const unsigned int cell_index, const unsigned int face_number) const
 
unsigned int size () const
 

Public Attributes

unsigned int start = 0
 
std::vector< unsigned intptrs_ptrs
 
std::vector< unsigned intptrs
 

Detailed Description

A class that stores a CRS like structure to access PrecomputedEvaluationData. In most cases a one-level CRS structure is enough. In this case ptrs has to be constructed and the shift can be obtained with get_shift(index). The field ptrs_ptrs stays empty. It is only filled if a two level structure is needed. In this case get_shift(cell_index, face_number) return the correct shift.

Definition at line 70 of file fe_remote_evaluation.h.

Member Function Documentation

◆ get_shift() [1/2]

unsigned int internal::PrecomputedEvaluationDataView::get_shift ( const unsigned int index) const

Get a pointer to data at index.

Definition at line 640 of file fe_remote_evaluation.h.

◆ get_shift() [2/2]

unsigned int internal::PrecomputedEvaluationDataView::get_shift ( const unsigned int cell_index,
const unsigned int face_number ) const

Get a pointer to data at (cell_index, face_number).

Definition at line 653 of file fe_remote_evaluation.h.

◆ size()

unsigned int internal::PrecomputedEvaluationDataView::size ( ) const

Get the number of stored values.

Definition at line 672 of file fe_remote_evaluation.h.

Member Data Documentation

◆ start

unsigned int internal::PrecomputedEvaluationDataView::start = 0

This parameter can be used if indices do not start with 0.

Definition at line 94 of file fe_remote_evaluation.h.

◆ ptrs_ptrs

std::vector<unsigned int> internal::PrecomputedEvaluationDataView::ptrs_ptrs

Pointers to ptrs.

Definition at line 99 of file fe_remote_evaluation.h.

◆ ptrs

std::vector<unsigned int> internal::PrecomputedEvaluationDataView::ptrs

Pointers to data.

Definition at line 104 of file fe_remote_evaluation.h.


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