Reference documentation for deal.II version 8.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | Public Attributes | List of all members
internal::MatrixFreeFunctions::ConstraintValues< Number > Struct Template Reference

#include <dof_info.templates.h>

Public Member Functions

unsigned short insert_entries (const std::vector< std::pair< types::global_dof_index, double > > &entries)
 

Public Attributes

std::vector< std::pair
< types::global_dof_index,
double > > 
constraint_entries
 
std::vector
< types::global_dof_index
constraint_indices
 
std::pair< std::vector< Number >
, types::global_dof_index
next_constraint
 
std::map< std::vector< Number >
, types::global_dof_index,
FPArrayComparator< double > > 
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 38 of file helper_functions.h.

Member Function Documentation

template<typename Number >
unsigned short internal::MatrixFreeFunctions::ConstraintValues< Number >::insert_entries ( const std::vector< std::pair< types::global_dof_index, double > > &  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 77 of file dof_info.templates.h.


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