Reference documentation for deal.II version GIT relicensing-464-g14f7274e4d 2024-04-22 15:40:02+00:00
\(\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
Public Types | Public Member Functions | List of all members
ReadVector< Number > Class Template Referenceabstract

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

Inheritance diagram for ReadVector< Number >:
Inheritance graph
[legend]

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()

template<typename Number >
virtual size_type ReadVector< Number >::size ( ) const
pure virtual

◆ extract_subvector_to()

template<typename Number >
virtual void ReadVector< Number >::extract_subvector_to ( const ArrayView< const types::global_dof_index > &  indices,
ArrayView< Number > &  elements 
) const
pure virtual

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