Gromacs  2024.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
#include <array>
#include <limits>
#include <vector>
#include "gromacs/math/vectypes.h"
#include "gromacs/utility/arrayref.h"
+ Include dependency graph for atomdistribution.h:
+ This graph shows which files directly or indirectly include this file:

Description

Declares the AtomDistribution struct.

Author
Berk Hess hess@.nosp@m.kth..nosp@m.se

Classes

class  gmx::ArrayRef< typename >
 STL-like interface to a C array of T (or part of a std container of T). More...
 
struct  AtomDistribution
 Distribution of atom groups over the domain (only available on the main rank) More...
 
struct  AtomDistribution::DomainAtomGroups
 Collection of local group and atom counts for a domain. More...
 

Functions

void get_commbuffer_counts (AtomDistribution *ma, gmx::ArrayRef< const int > *counts, gmx::ArrayRef< const int > *displacements)
 Returns state scatter/gather buffer atom counts and displacements. More...
 

Function Documentation

void get_commbuffer_counts ( AtomDistribution ma,
gmx::ArrayRef< const int > *  counts,
gmx::ArrayRef< const int > *  displacements 
)

Returns state scatter/gather buffer atom counts and displacements.

NOTE: Should only be called with a pointer to a valid ma struct (only available on the main rank).