Dune Core Modules (unstable)
localkey.hh
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
38 };
98 // We use an array to store the values in order to be able to use the array::operator< implementation
bool operator<(const LocalKey &other) const noexcept
Less-than operator so we can use this class as a key type in stl containers.
Definition: localkey.hh:83
constexpr void index(unsigned int i) noexcept
Set index component.
Definition: localkey.hh:76
constexpr unsigned int index() const noexcept
Return offset within subentity.
Definition: localkey.hh:70
constexpr LocalKey(unsigned int s, unsigned int c, unsigned int i) noexcept
Initialize all components.
Definition: localkey.hh:50
@ intersectionCodim
Codimension returned by LocalKey::codim() for degrees of freedom attached to an intersection.
Definition: localkey.hh:37
constexpr unsigned int codim() const noexcept
Return codim of associated entity.
Definition: localkey.hh:63
friend std::ostream & operator<<(std::ostream &s, const LocalKey &localKey)
Write LocalKey object to output stream.
Definition: localkey.hh:89
constexpr LocalKey() noexcept
Standard constructor for uninitialized local index.
Definition: localkey.hh:41
constexpr unsigned int subEntity() const noexcept
Return number of associated subentity.
Definition: localkey.hh:56
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 21, 23:30, 2024)