Gromacs  2021.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
gmx::anonymous_namespace{mtop.cpp} Namespace Reference

Functions

void createBasicTop (gmx_mtop_t *mtop)
 Initializes a basic topology with 9 atoms with settle.
 
std::vector< gmx::Range< int > > createTwoResidueTopology (gmx_mtop_t *mtop)
 Creates dummy topology with two differently sized residues. More...
 

Function Documentation

std::vector<gmx::Range<int> > gmx::anonymous_namespace{mtop.cpp}::createTwoResidueTopology ( gmx_mtop_t *  mtop)

Creates dummy topology with two differently sized residues.

Residue begin and end are set to allow checking routines that make use of the boundaries.

Returns
The residue ranges.