Gromacs  2026.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions | Variables
h5md.cpp File Reference
#include "gmxpre.h"
#include "gromacs/fileio/h5md/h5md.h"
#include <optional>
#include <string>
#include <gtest/gtest.h>
#include "gromacs/fileio/confio.h"
#include "gromacs/fileio/h5md/h5md_attribute.h"
#include "gromacs/fileio/h5md/h5md_datasetbuilder.h"
#include "gromacs/fileio/h5md/h5md_fixeddataset.h"
#include "gromacs/fileio/h5md/h5md_framedatasetbuilder.h"
#include "gromacs/fileio/h5md/h5md_group.h"
#include "gromacs/fileio/h5md/h5md_guard.h"
#include "gromacs/fileio/h5md/tests/h5mdtestbase.h"
#include "gromacs/mdtypes/inputrec.h"
#include "gromacs/topology/mtop_util.h"
#include "gromacs/topology/topology.h"
#include "gromacs/trajectory/trajectoryframe.h"
#include "gromacs/utility/baseversion.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/stringutil.h"
#include "testutils/testasserts.h"
#include "testutils/testfilemanager.h"
#include "testutils/testmatchers.h"
#include "testutils/tprfilegenerator.h"
+ Include dependency graph for h5md.cpp:

Description

Tests for H5MD file I/O routines.

Author
Magnus Lundborg lundb.nosp@m.org..nosp@m.magnu.nosp@m.s@gm.nosp@m.ail.c.nosp@m.om
Yang Zhang yang..nosp@m.zhan.nosp@m.g@sci.nosp@m.life.nosp@m.lab.s.nosp@m.e

Typedefs

using gmx::test::anonymous_namespace{h5md.cpp}::H5mdIoTest = H5mdTestBase
 Test fixture which sets up an empty H5md file.
 
using gmx::test::anonymous_namespace{h5md.cpp}::H5mdSetupFromExistingFile = H5mdIoTest
 
using gmx::test::anonymous_namespace{h5md.cpp}::H5mdReadNextFrame = H5mdIoTest
 

Functions

ArrayRef< RVec > gmx::test::anonymous_namespace{h5md.cpp}::asRVecArray (rvec *values, int64_t numValues)
 Helper function to return an ArrayRef<RVec> from an input rvec pointer values.
 

Variables

constexpr matrix gmx::test::anonymous_namespace{h5md.cpp}::c_unusedBox = { { -1.0, -1.0, -1.0 }, { -1.0, -1.0, -1.0 }, { -1.0, -1.0, -1.0 } }
 Dummy simulation box, used in tests where this is not needed.