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 ()
 
node_info nodeinfo (int i) const
 
int remap (int i) const
 And the call interface for remapping.
 

Detailed Description

information about all nodes

Definition at line 118 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.

◆ nodeinfo()

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.


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