Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::IndexRange Struct Reference

#include <space.hh>

Public Member Functions

 IndexRange ()
 Default constructor.
 
 IndexRange (uint idx)
 Constructor, where is only on index assigned.
 
 IndexRange (uint idxBegin, uint idxEnd)
 Constructor for several successive indices.
 
std::set< uintoperator() ()
 Returns a set of the indices.
 
IndexRangeoperator= (uint i)
 Assigment operator.
 
IndexRangeoperator= (const IndexRange &i)
 Assigment operator.
 
IndexRangeoperator= (IndexRange &i)
 
IndexRangeoperator+= (uint i)
 Shift operator.
 
bool operator== (uint i) const
 Comparison with beginning index.
 
bool operator== (const IndexRange &i) const
 Comparison.
 
bool operator< (const IndexRange &i) const
 Comparison of beginning indices.
 
uint dim () const
 Number of indices.
 
bool exist (uint i) const
 Returns if an index is inside the index range.
 

Public Attributes

uint idx_ [2]
 

Detailed Description

Class for a range of global indices.

Basis functions assigned to an edge, face or cell get successive indices. The number of basis functions per entity differs from the particular elements, and wouldn't be ascertainable from assigned polynomial degree alone.

Author
Kersten Schmidt, 2005

Definition at line 226 of file space.hh.

Constructor & Destructor Documentation

◆ IndexRange()

concepts::IndexRange::IndexRange ( )
inline

Default constructor.

Definition at line 235 of file space.hh.

Member Function Documentation

◆ dim()

uint concepts::IndexRange::dim ( ) const
inline

Number of indices.

Definition at line 256 of file space.hh.

◆ exist()

bool concepts::IndexRange::exist ( uint  i) const
inline

Returns if an index is inside the index range.

Definition at line 258 of file space.hh.

Member Data Documentation

◆ idx_

uint concepts::IndexRange::idx_[2]

Begin and end of a unique range of indices of element. They are used when assembling different elements of a space and used to enforce continuity of global basis functions across element boundaries.

Definition at line 232 of file space.hh.


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