![]() |
deal.II version GIT relicensing-6809-ge913b9bb34 2026-09-25 17:20:01+00:00
|
#include <deal.II/lac/affine_constraints.h>
This class represents one constraint in an AffineConstraints object.
Definition at line 1883 of file affine_constraints.h.
Public Types | |
| using | Entries = std::vector< std::pair< size_type, number > > |
Public Member Functions | |
| ConstraintLine (const size_type &index=numbers::invalid_dof_index, const typename AffineConstraints< number >::ConstraintLine::Entries &entries={}, const number inhomogeneity=0.0) | |
| ConstraintLine (const ConstraintLine &other)=default | |
| ConstraintLine (ConstraintLine &&other) noexcept=default | |
| ConstraintLine & | operator= (const ConstraintLine &other)=default |
| ConstraintLine & | operator= (ConstraintLine &&other) noexcept=default |
| std::size_t | memory_consumption () const |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int) |
Public Attributes | |
| size_type | index |
| Entries | entries |
| number | inhomogeneity |
Friends | |
| void | swap (ConstraintLine &l1, ConstraintLine &l2) noexcept |
| using AffineConstraints< number >::ConstraintLine::Entries = std::vector<std::pair<size_type, number> > |
A data type in which we store the list of entries that make up the homogeneous part of a constraint.
Definition at line 1889 of file affine_constraints.h.
|
inline |
Default constructor.
Definition at line 3058 of file affine_constraints.h.
|
default |
Copy constructor.
|
defaultnoexcept |
Move constructor.
|
default |
Copy assignment.
|
defaultnoexcept |
Move assignment.
| std::size_t AffineConstraints< number >::ConstraintLine::memory_consumption | ( | ) | const |
Determine an estimate for the memory consumption (in bytes) of this object.
|
inline |
Write and read the data of this object from a stream for the purpose of serialization using the BOOST serialization library.
Definition at line 1956 of file affine_constraints.h.
|
friend |
Swap function.
Definition at line 1965 of file affine_constraints.h.
| size_type AffineConstraints< number >::ConstraintLine::index |
Global DoF index of this line. Since only very few lines are stored, we can not assume a specific order and have to store the index explicitly.
Definition at line 1896 of file affine_constraints.h.
| Entries AffineConstraints< number >::ConstraintLine::entries |
Row numbers and values of the entries in this line.
For the reason why we use a vector instead of a map and the consequences thereof, the same applies as what is said for AffineConstraints::lines.
Definition at line 1905 of file affine_constraints.h.
| number AffineConstraints< number >::ConstraintLine::inhomogeneity |
Value of the inhomogeneity.
Definition at line 1910 of file affine_constraints.h.