Gromacs  2026.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions
gmx::test::anonymous_namespace{h5md_topologyutils.cpp} Namespace Reference

Typedefs

using H5mdTopologyUtilTest = H5mdTestBase
 

Functions

std::vector< std::string > readFixedStringDataset (hid_t baseContainer, const char *datasetName)
 
void createDisulfideBondTopology (gmx_mtop_t *topology, const ArrayRef< char * > &atomNames, const ArrayRef< const int > &resIndices, const BondPairs &disulfideBonds, const int numMols)
 
void createOneAtomPerResidueTopology (gmx_mtop_t *topology, const ArrayRef< const int > residueNumbers, const int numMols)
 Build a topology of numMols copies of a molecule with one atom per residue. More...
 

Function Documentation

void gmx::test::anonymous_namespace{h5md_topologyutils.cpp}::createOneAtomPerResidueTopology ( gmx_mtop_t *  topology,
const ArrayRef< const int >  residueNumbers,
const int  numMols 
)

Build a topology of numMols copies of a molecule with one atom per residue.

Parameters
[out]topologyTopology to fill.
[in]residueNumbersResidue number of each residue, as an input file would give it.
[in]numMolsNumber of copies of the molecule.