HILA
|
information about all nodes More...
#include <lattice.h>
Public Member Functions | |
void | create_remap () |
unsigned | remap (unsigned i) const |
And the call interface for remapping. | |
void lattice_struct::allnodes::create_remap | ( | ) |
This routine uses internal MPI (or other) commands to remap the node numbers so that the communications should be optimised.
Implements two calls, int remap(int i) : given "computed" node index i, returns true mpi rank the input i is the logical node index, runs fastest to directions x,y,z,(t) must be compatible with node_rank layout!
int inverse_remap(int i) : inverse of above
Used especially in transformation coordinate -> node_rank, in lattice_struct::node_rank in
Definition at line 54 of file map_node_layout.cpp.