Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Public Attributes
concepts::IndexRange Struct Reference

Class for a range of global indices. More...

#include <space.hh>

List of all members.

Public Member Functions

uint dim () const
 Number of indices.
 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< uint > operator() ()
 Returns a set of the indices.
bool operator< (const IndexRange &i) const
 Comparison of beginning indices.
IndexRangeoperator= (IndexRange &i)
IndexRangeoperator= (uint i)
 Assigment operator.
IndexRangeoperator= (const IndexRange &i)
 Assigment operator.
bool operator== (const IndexRange &i) const
 Comparison.
bool operator== (uint i) const
 Comparison with beginning index.

Public Attributes

uint idx_ [2]
 Begin and end of a unique range of indices of element.

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 171 of file space.hh.


Constructor & Destructor Documentation

concepts::IndexRange::IndexRange ( ) [inline]

Default constructor.

Definition at line 180 of file space.hh.

concepts::IndexRange::IndexRange ( uint  idx)

Constructor, where is only on index assigned.

concepts::IndexRange::IndexRange ( uint  idxBegin,
uint  idxEnd 
)

Constructor for several successive indices.


Member Function Documentation

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

Number of indices.

Definition at line 199 of file space.hh.

std::set<uint> concepts::IndexRange::operator() ( )

Returns a set of the indices.

bool concepts::IndexRange::operator< ( const IndexRange i) const

Comparison of beginning indices.

IndexRange& concepts::IndexRange::operator= ( IndexRange i)
IndexRange& concepts::IndexRange::operator= ( uint  i)

Assigment operator.

IndexRange& concepts::IndexRange::operator= ( const IndexRange i)

Assigment operator.

bool concepts::IndexRange::operator== ( const IndexRange i) const

Comparison.

bool concepts::IndexRange::operator== ( uint  i) const

Comparison with beginning index.


Member Data Documentation

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 177 of file space.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)