Reference documentation for deal.II version 9.5.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
Public Member Functions | Public Attributes | List of all members
internal::MatrixFreeFunctions::ConstraintValues< Number > Struct Template Reference

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

Inheritance diagram for internal::MatrixFreeFunctions::ConstraintValues< Number >:
[legend]

Public Member Functions

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

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, FloatingPointComparator< 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 43 of file constraint_info.h.

Constructor & Destructor Documentation

◆ ConstraintValues()

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

Definition at line 187 of file constraint_info.h.

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.

Definition at line 197 of file constraint_info.h.

◆ memory_consumption()

template<typename Number >
std::size_t internal::MatrixFreeFunctions::ConstraintValues< Number >::memory_consumption
inline

Return the memory consumption of the allocated memory in this class.

Definition at line 770 of file constraint_info.h.

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 67 of file constraint_info.h.

◆ constraint_indices

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

Definition at line 68 of file constraint_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 70 of file constraint_info.h.

◆ constraints

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

Definition at line 74 of file constraint_info.h.


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