Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::multilevelindex Class Reference

#include <differentialforms.hh>

Public Member Functions

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

Protected Attributes

int N_
 Size of the multi-dimensional array.
 
int L_
 Size of the local dimension.
 
Array< intNsize_
 Array.
 

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: