25 #ifndef MEDMAPINDICES_H 26 #define MEDMAPINDICES_H 38 std::map<int,int> indices;
39 typedef std::map<int,int>::const_iterator const_iterator;
40 typedef std::map<int,int>::iterator iterator;
43 void new_tag(
size_t i);
46 std::vector<int>
getMEDIndices(
const std::vector<int> &)
const;
50 void print(std::ostream &os)
const;
53 std::ostream &operator<<(std::ostream &,
const MEDMapIndices &);
std::vector< int > getMEDIndices(const std::vector< int > &) const
Returns the indexes that correspond to those being passed as parameter.
Definition: MEDMapIndices.cc:54
Map between the indexes in XC and in MEDMEM.
Definition: MEDMapIndices.h:36
int getMEDIndice(const size_t &i) const
Returns the index that corresponds to the argument.
Definition: MEDMapIndices.cc:38
void print(std::ostream &os) const
Prints indexes map.
Definition: MEDMapIndices.cc:64
================================================================================
Definition: ContinuaReprComponent.h:34
void clear(void)
Erases los indices.
Definition: MEDMapIndices.cc:28