HILA
|
information about all nodes More...
#include <lattice.h>
Public Member Functions | |
void | create_remap () |
node_info | nodeinfo (int i) const |
int | remap (int 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.
node_info lattice_struct::allnodes::nodeinfo | ( | int | nodeid | ) | const |
Define nodeinfo(nodeid) Gives the coordinate range managed by the node number nodeid
Definition at line 310 of file lattice.cpp.