concepts::multilevelindex Class Reference

Class for the multilevel index. More...

#include <differentialforms.hh>

Public Member Functions

int getL ()
 Return the local dimension of the multi-level index. More...
 
int getN ()
 Return the total number of dimension. More...
 
Array< int > getNsize ()
 Return the array of local dimensions. More...
 
 multilevelindex ()
 Default constructor. More...
 
 multilevelindex (const Array< int > &Nsize)
 Constructor that takes an array into account. More...
 
Array< int > operator[] (const int n)
 Return the local l-uple $(k_1, k_2, \dots , k_l)$. More...
 
 ~multilevelindex ()
 Default destructor. More...
 

Protected Attributes

int L_
 Size of the local dimension. More...
 
int N_
 Size of the multi-dimensional array. More...
 
Array< int > Nsize_
 Array. More...
 

Detailed Description

Class for the multilevel index.

Author
Adrien Semin, 2015

Definition at line 20 of file differentialforms.hh.

Constructor & Destructor Documentation

◆ multilevelindex() [1/2]

concepts::multilevelindex::multilevelindex ( )
inline

Default constructor.

Definition at line 24 of file differentialforms.hh.

◆ ~multilevelindex()

concepts::multilevelindex::~multilevelindex ( )
inline

Default destructor.

Definition at line 26 of file differentialforms.hh.

◆ multilevelindex() [2/2]

concepts::multilevelindex::multilevelindex ( const Array< int > &  Nsize)
inline

Constructor that takes an array into account.

Definition at line 28 of file differentialforms.hh.

Member Function Documentation

◆ getL()

int concepts::multilevelindex::getL ( )
inline

Return the local dimension of the multi-level index.

Definition at line 34 of file differentialforms.hh.

◆ getN()

int concepts::multilevelindex::getN ( )
inline

Return the total number of dimension.

Definition at line 36 of file differentialforms.hh.

◆ getNsize()

Array<int> concepts::multilevelindex::getNsize ( )
inline

Return the array of local dimensions.

Definition at line 38 of file differentialforms.hh.

◆ operator[]()

Array<int> concepts::multilevelindex::operator[] ( const int  n)
inline

Return the local l-uple $(k_1, k_2, \dots , k_l)$.

Definition at line 40 of file differentialforms.hh.

Member Data Documentation

◆ L_

int concepts::multilevelindex::L_
protected

Size of the local dimension.

Definition at line 56 of file differentialforms.hh.

◆ N_

int concepts::multilevelindex::N_
protected

Size of the multi-dimensional array.

Definition at line 54 of file differentialforms.hh.

◆ Nsize_

Array<int> concepts::multilevelindex::Nsize_
protected

Array.

Definition at line 58 of file differentialforms.hh.


The documentation for this class 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