Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::Level< dim > Struct Template Reference

#include <level.hh>

Public Member Functions

 Level (const Level< dim > &l)
 Constructor.
 
 Level (short l)
 Constructor.
 
 Level ()
 Default constructor.
 
void set (short l, uint i)
 set Level
 
Level< dim > & operator= (const Level< dim > &c)
 Assignement operator.
 
bool operator< (const Level< dim > &c) const
 
bool operator> (const Level< dim > &c) const
 
bool operator== (const Level< dim > &c) const
 
Level< dim > operator+ (const Level< dim > &c) const
 Addition operator.
 
Level< dim > operator- (const Level< dim > &c) const
 Subtraction operator.
 
void minimize (const Level< dim > &c)
 Componentwise minimization.
 
void maximize (const Level< dim > &c)
 Componentwise maximazation.
 

Public Attributes

short l_ [dim]
 Level.
 

Detailed Description

template<uint dim>
struct concepts::Level< dim >

Level information used for multidimensional hp FEM.

Parameters
dimDimension of the method using this level and the size of the array.
Author
Philipp Frauenfelder, 2002

Definition at line 22 of file level.hh.

Constructor & Destructor Documentation

◆ Level() [1/3]

template<uint dim>
concepts::Level< dim >::Level ( const Level< dim > &  l)
inline

Constructor.

Definition at line 27 of file level.hh.

◆ Level() [2/3]

template<uint dim>
concepts::Level< dim >::Level ( short  l)
inline

Constructor.

Definition at line 30 of file level.hh.

◆ Level() [3/3]

template<uint dim>
concepts::Level< dim >::Level ( )
inline

Default constructor.

Definition at line 32 of file level.hh.

Member Function Documentation

◆ operator<()

template<uint dim>
bool concepts::Level< dim >::operator< ( const Level< dim > &  c) const

Comparison operator <.

Returns
true if at least one component of l_ fulfils <

◆ operator==()

template<uint dim>
bool concepts::Level< dim >::operator== ( const Level< dim > &  c) const

Comparison operator ==.

Returns
true if all components of l_ are equal

◆ operator>()

template<uint dim>
bool concepts::Level< dim >::operator> ( const Level< dim > &  c) const

Comparison operator >.

Returns
true if at least one component of l_ fulfils >

Member Data Documentation

◆ l_

template<uint dim>
short concepts::Level< dim >::l_[dim]

Level.

Definition at line 24 of file level.hh.


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