faunus
Public Member Functions | Public Attributes | List of all members
Faunus::Change::GroupChange Struct Reference

Properties of changed groups. More...

#include <space.h>

Public Member Functions

bool operator< (const GroupChange &other) const
 Comparison operator based on group_index
 
void sort ()
 Sort group indices.
 

Public Attributes

index_type group_index
 Touched group index.
 
bool dNatomic = false
 The number of atomic molecules has changed.
 
bool dNswap = false
 The number of atoms has changed as a result of a swap move.
 
bool internal = false
 The internal energy or configuration has changed.
 
bool all
 All particles in the group have changed (leave relative_atom_indices empty) More...
 
std::vector< index_type > relative_atom_indices
 A subset of particles changed (sorted; empty if all=true)
 

Detailed Description

Properties of changed groups.

Member Data Documentation

◆ all

bool Faunus::Change::GroupChange::all
Initial value:
=
false

All particles in the group have changed (leave relative_atom_indices empty)


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