deal.II version GIT relicensing-2169-gec1b43f35b 2024-11-22 07:10:00+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 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 >:
Inheritance graph
[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 42 of file constraint_info.h.

Constructor & Destructor Documentation

◆ ConstraintValues()

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

Definition at line 208 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 218 of file constraint_info.h.

◆ memory_consumption()

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

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

Definition at line 965 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 66 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 67 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 69 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 73 of file constraint_info.h.


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