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
ReadVector< Number > Class Template Referenceabstract

#include <deal.II/lac/read_vector.h>

Inheritance diagram for ReadVector< Number >:

Public Types

using size_type = types::global_dof_index
 

Public Member Functions

virtual size_type size () const =0
 
virtual void extract_subvector_to (const ArrayView< const types::global_dof_index > &indices, ArrayView< Number > &elements) const =0
 

Detailed Description

template<typename Number>
class ReadVector< Number >

Base class for providing read-only access to vector elements.

deal.II supports a large number of vector classes, including both its own serial and parallel vectors as well as vector classes from external libraries like PETSc and Trilinos. ReadVector is a common base class for all vector classes and defines a minimal interface for efficiently accessing vector elements.

Definition at line 40 of file read_vector.h.

Member Typedef Documentation

◆ size_type

template<typename Number >
using ReadVector< Number >::size_type = types::global_dof_index

Definition at line 43 of file read_vector.h.

Member Function Documentation

◆ size()

◆ extract_subvector_to()


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