Gromacs  2024.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Classes | Public Member Functions | Friends
gmx::TopologyHolder Class Referencefinal

#include <gromacs/modularsimulator/topologyholder.h>

+ Inheritance diagram for gmx::TopologyHolder:
+ Collaboration diagram for gmx::TopologyHolder:


Object holding the topology.

Clients can register to get an updated local topology whenever there is a change (infrequent, only due to domdec currently).


class  Builder
 Builder for the topology holder. More...

Public Member Functions

 TopologyHolder (std::vector< ITopologyHolderClient * > clients, const gmx_mtop_t &globalTopology, gmx_localtop_t *localTopology, const t_commrec *cr, const t_inputrec *inputrec, t_forcerec *fr, MDAtoms *mdAtoms, Constraints *constr, VirtualSitesHandler *vsite)
const gmx_mtop_t & globalTopology () const
 Get global topology.
DomDecCallback registerDomDecCallback () override
 Callback on domain decomposition repartitioning.
- Public Member Functions inherited from gmx::IDomDecHelperClient
virtual ~IDomDecHelperClient ()=default
 Standard virtual destructor.


class DomDecHelper
 Allow domdec to access local topology directly.

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