HILA
Loading...
Searching...
No Matches
lattice_struct::allnodes Struct Reference

information about all nodes More...

#include <lattice.h>

Collaboration diagram for lattice_struct::allnodes:

Public Member Functions

void create_remap ()
 
unsigned remap (unsigned i) const
 And the call interface for remapping.
 

Detailed Description

information about all nodes

Definition at line 114 of file lattice.h.

Member Function Documentation

◆ create_remap()

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.


The documentation for this struct was generated from the following files: