Gromacs  2025.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions
xvgio.cpp File Reference
#include "gmxpre.h"
#include <cstddef>
#include <algorithm>
#include <filesystem>
#include <numeric>
#include <optional>
#include <string>
#include <tuple>
#include <type_traits>
#include <vector>
#include <gtest/gtest.h>
#include "gromacs/fileio/xvgr.h"
#include "gromacs/math/multidimarray.h"
#include "gromacs/mdspan/extensions.h"
#include "gromacs/mdspan/layouts.h"
#include "gromacs/mdspan/mdspan.h"
#include "gromacs/utility/real.h"
#include "gromacs/utility/smalloc.h"
#include "gromacs/utility/textwriter.h"
#include "testutils/refdata.h"
#include "testutils/testasserts.h"
#include "testutils/testfilemanager.h"
#include "testutils/testoptions.h"
+ Include dependency graph for xvgio.cpp:

Description

Implements tests for xvg file operations.

Author
Joe Jordan ejjor.nosp@m.dan@.nosp@m.kth.s.nosp@m.e

Typedefs

using gmx::test::XvgrTimeReadingParams = std::tuple< bool, bool >
 Convienience type for testing read_xvg_time. More...
 

Functions

void gmx::test::anonymous_namespace{xvgio.cpp}::compareValues (basic_mdspan< const double, dynamicExtents2D > ref, basic_mdspan< const double, dynamicExtents2D > test)
 
void gmx::test::anonymous_namespace{xvgio.cpp}::checkMatrix (TestReferenceChecker *checker, basic_mdspan< const double, dynamicExtents2D > input)
 Helper for checking file contents against reference file.