concepts::Level< dim > Struct Template Reference

Level information used for multidimensional hp FEM. More...

#include <level.hh>

Public Member Functions

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

Public Attributes

short l_ [dim]
 Level. More...
 

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

◆ maximize()

template<uint dim>
void concepts::Level< dim >::maximize ( const Level< dim > &  c)

Componentwise maximazation.

◆ minimize()

template<uint dim>
void concepts::Level< dim >::minimize ( const Level< dim > &  c)

Componentwise minimization.

◆ operator+()

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

Addition operator.

◆ operator-()

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

Subtraction operator.

◆ 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>
Level<dim>& concepts::Level< dim >::operator= ( const Level< dim > &  c)

Assignement operator.

◆ 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 >

◆ set()

template<uint dim>
void concepts::Level< dim >::set ( short  l,
uint  i 
)

set Level

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:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich