Gromacs
2026.0-dev-20250116-fa3fd9d
|
#include <array>
#include <limits>
#include <vector>
#include "gromacs/math/vectypes.h"
#include "gromacs/utility/arrayref.h"
#include "gromacs/utility/real.h"
Declares the AtomDistribution struct.
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... | |
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).