20#ifndef CALOIDENTIFIER_TILENEIGHBOUR_H
21#define CALOIDENTIFIER_TILENEIGHBOUR_H
85 int fill_phi_vec (std::set<std::pair<IdentifierHash,int> > & ids,
86 unsigned int hash_max,
unsigned int max_phi, MsgStream & log);
91 std::string & cell,
const Tile_Base_ID* tileID, MsgStream & log,
94 static void print_list (std::vector<IdentifierHash> & nb_list,
96 MsgStream & log,
const char *
pref,
const char * suff);
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
This is a "hash" representation of an Identifier.
int initialize_next_eta(unsigned int ind, const std::vector< short int > &all_cells)
std::vector< short int > m_phid_index
std::vector< std::vector< short int > > m_next_samp_wide
std::vector< std::vector< short int > > m_prev_samp
std::vector< short int > m_cell_index
static void get_name(Identifier &id, std::string §ion, int &module, std::string &cell, const Tile_Base_ID *tileID, MsgStream &log, const char *end)
int next_samp_wide(const IdentifierHash &id, std::vector< IdentifierHash > &neighbourList) const
int next_eta(const IdentifierHash &id, std::vector< IdentifierHash > &neighbourList) const
int prev_phi(const IdentifierHash &id, std::vector< IdentifierHash > &neighbourList) const
int fill_phi_vec(std::set< std::pair< IdentifierHash, int > > &ids, unsigned int hash_max, unsigned int max_phi, MsgStream &log)
static void print_list(std::vector< IdentifierHash > &nb_list, const Tile_Base_ID *tileID, const IdContext *context, MsgStream &log, const char *pref, const char *suff)
virtual ~TileNeighbour(void)
int prev_samp(const IdentifierHash &id, std::vector< IdentifierHash > &neighbourList) const
std::vector< std::vector< short int > > m_prev_samp_wide
std::vector< std::vector< short int > > m_next_samp
int next_samp(const IdentifierHash &id, std::vector< IdentifierHash > &neighbourList) const
int initialize_prev_eta(unsigned int ind, const std::vector< short int > &all_cells)
int initialize_next_samp(unsigned int ind, const std::vector< short int > &all_cells)
int prev_eta(const IdentifierHash &id, std::vector< IdentifierHash > &neighbourList) const
int next_phi(const IdentifierHash &id, std::vector< IdentifierHash > &neighbourList) const
int initialize_next_samp_wide(unsigned int ind, const std::vector< short int > &all_cells)
static void get_id(std::string &strName, Identifier &id, const Tile_Base_ID *tileID)
int prev_samp_wide(const IdentifierHash &id, std::vector< IdentifierHash > &neighbourList) const
std::vector< IdentifierHash > m_hashid_vec
int initialize_prev_samp_wide(unsigned int ind, const std::vector< short int > &all_cells)
int initialize_prev_samp(unsigned int ind, const std::vector< short int > &all_cells)
std::vector< std::vector< short int > > m_next_eta
std::vector< std::vector< short int > > m_prev_eta
This class factors out code common between TileID and Tile_SuperCell_ID.