20 #ifndef __LIST_COMP_HPP_
21 #define __LIST_COMP_HPP_
23 #include "headcpp.hpp"
Class for storing a list of tensorial components.
int get_ncomp() const
Returns the number of components.
Array< int > ** pcomp
Array of pointers on each componenent.
int valence
Number of indices for each component.
List_comp(int nc, int val)
Standard constructor.
int ncomp
Number of stored components.
Array< int > ** get_pcomp() const
Returns a pointer of the liste.
Array< int > * set(int i)
Read/write of one particular component.
Array< int > * operator()(int i) const
Read/write of one particular component.