Reference documentation for deal.II version Git ee8a81293c 2020-10-19 10:17:29 -0400
\(\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\}}\)
Public Member Functions | Public Attributes | List of all members
internal::MatrixFreeFunctions::ConstraintValues< Number > Struct Template Reference

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

Public Member Functions

 ConstraintValues ()
 
template<typename number2 >
unsigned short insert_entries (const std::vector< std::pair< types::global_dof_index, number2 >> &entries)
 

Public Attributes

std::vector< std::pair< types::global_dof_index, double > > constraint_entries
 
std::vector< types::global_dof_indexconstraint_indices
 
std::pair< std::vector< Number >, types::global_dof_indexnext_constraint
 
std::map< std::vector< Number >, types::global_dof_index, FPArrayComparator< Number > > constraints
 

Detailed Description

template<typename Number>
struct internal::MatrixFreeFunctions::ConstraintValues< Number >

A struct that takes entries describing a constraint and puts them into a sorted list where duplicates are filtered out

Definition at line 52 of file dof_info.h.

Constructor & Destructor Documentation

◆ ConstraintValues()

template<typename Number>
internal::MatrixFreeFunctions::ConstraintValues< Number >::ConstraintValues ( )

Member Function Documentation

◆ insert_entries()

template<typename Number>
template<typename number2 >
unsigned short internal::MatrixFreeFunctions::ConstraintValues< Number >::insert_entries ( const std::vector< std::pair< types::global_dof_index, number2 >> &  entries)

This function inserts some constrained entries to the collection of all values. It stores the (reordered) numbering of the dofs (according to the ordering that matches with the function) in new_indices, and returns the storage position the double array for access later on.

Member Data Documentation

◆ constraint_entries

template<typename Number>
std::vector<std::pair<types::global_dof_index, double> > internal::MatrixFreeFunctions::ConstraintValues< Number >::constraint_entries

Definition at line 70 of file dof_info.h.

◆ constraint_indices

template<typename Number>
std::vector<types::global_dof_index> internal::MatrixFreeFunctions::ConstraintValues< Number >::constraint_indices

Definition at line 71 of file dof_info.h.

◆ next_constraint

template<typename Number>
std::pair<std::vector<Number>, types::global_dof_index> internal::MatrixFreeFunctions::ConstraintValues< Number >::next_constraint

Definition at line 73 of file dof_info.h.

◆ constraints

template<typename Number>
std::map<std::vector<Number>, types::global_dof_index, FPArrayComparator<Number> > internal::MatrixFreeFunctions::ConstraintValues< Number >::constraints

Definition at line 77 of file dof_info.h.


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