CoMD
A Mini-app for Co-Design of Classical Molecular Dynamics.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
LinkCellSt Struct Reference

Link cell data. More...

#include <linkCells.h>

Data Fields

int gridSize [3]
 number of boxes in each dimension on processor More...
 
int nLocalBoxes
 total number of local boxes on processor More...
 
int nHaloBoxes
 total number of remote halo/ghost boxes on processor More...
 
int nTotalBoxes
 
     total number of boxes on processor

nLocalBoxes + nHaloBoxes More...

 
real3 localMin
 minimum local bounds on processor More...
 
real3 localMax
 maximum local bounds on processor More...
 
real3 boxSize
 size of box in each dimension More...
 
real3 invBoxSize
 inverse size of box in each dimension More...
 
int * nAtoms
 total number of atoms in each box More...
 

Detailed Description

Link cell data.

For convenience, we keep a copy of the localMin and localMax coordinates that are also found in the DomainsSt.

Definition at line 17 of file linkCells.h.

Field Documentation

real3 LinkCellSt::boxSize

size of box in each dimension

Definition at line 26 of file linkCells.h.

int LinkCellSt::gridSize[3]

number of boxes in each dimension on processor

Definition at line 19 of file linkCells.h.

real3 LinkCellSt::invBoxSize

inverse size of box in each dimension

Definition at line 27 of file linkCells.h.

real3 LinkCellSt::localMax

maximum local bounds on processor

Definition at line 25 of file linkCells.h.

real3 LinkCellSt::localMin

minimum local bounds on processor

Definition at line 24 of file linkCells.h.

int* LinkCellSt::nAtoms

total number of atoms in each box

Definition at line 29 of file linkCells.h.

int LinkCellSt::nHaloBoxes

total number of remote halo/ghost boxes on processor

Definition at line 21 of file linkCells.h.

int LinkCellSt::nLocalBoxes

total number of local boxes on processor

Definition at line 20 of file linkCells.h.

int LinkCellSt::nTotalBoxes

     total number of boxes on processor

nLocalBoxes + nHaloBoxes

Definition at line 22 of file linkCells.h.


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