Gromacs  2026.0-dev-20241113-4b16639
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Enumerations | Functions
locality.h File Reference
#include "gromacs/utility/enumerationhelpers.h"
#include "gromacs/utility/exceptions.h"
+ Include dependency graph for locality.h:
+ This graph shows which files directly or indirectly include this file:

Description

Defines atom and atom interaction locality enums.

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

Enumerations

enum  gmx::AtomLocality : int { gmx::AtomLocality::Local = 0, gmx::AtomLocality::NonLocal = 1, gmx::AtomLocality::All = 2, gmx::AtomLocality::Count = 3 }
 Atom locality indicator: local, non-local, all. More...
 
enum  gmx::InteractionLocality : int { gmx::InteractionLocality::Local = 0, gmx::InteractionLocality::NonLocal = 1, gmx::InteractionLocality::Count = 2 }
 Interaction locality indicator: local, non-local, all. More...
 

Functions

static const char * gmx::enumValueToString (AtomLocality enumValue)
 Get the human-friendly name for atom localities. More...
 
static const char * gmx::enumValueToString (InteractionLocality enumValue)
 Get the human-friendly name for interaction localities. More...
 
static InteractionLocality gmx::atomToInteractionLocality (const AtomLocality atomLocality)
 Convert atom locality to interaction locality. More...