Gromacs  2025.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions | Variables
convparm.cpp File Reference
#include "gmxpre.h"
#include "gromacs/gmxpreprocess/convparm.h"
#include <cmath>
#include <array>
#include <numeric>
#include <vector>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "gromacs/gmxpreprocess/grompp_impl.h"
#include "gromacs/mdtypes/md_enums.h"
#include "gromacs/topology/ifunc.h"
#include "gromacs/topology/mtop_util.h"
#include "gromacs/topology/topology.h"
#include "gromacs/utility/stringutil.h"
#include "testutils/naming.h"
+ Include dependency graph for convparm.cpp:

Description

Tests for convparm.cpp.

Author
Mark Abraham mark..nosp@m.j.ab.nosp@m.raham.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Typedefs

using gmx::test::anonymous_namespace{convparm.cpp}::ConvertInteractionsTest = ::testing::TestWithParam< std::tuple< int >>
 Define a test fixture class taking an integer paramter for ftype.
 

Functions

std::vector< int > gmx::test::anonymous_namespace{convparm.cpp}::iotaVector (const std::size_t size)
 Fill a vector with size size with integer values increasing from 0.
 
std::array< real, MAXFORCEPARAMgmx::test::anonymous_namespace{convparm.cpp}::iotaParams (const std::size_t size)
 Fill a vector with iota-style dummy interaction parameter values identical for state A and B. More...
 
std::string gmx::test::anonymous_namespace{convparm.cpp}::ftypeToName (const int ftype)
 

Variables

const NameOfTestFromTuple
< std::tuple< int > > 
gmx::test::anonymous_namespace{convparm.cpp}::sc_testNamer { std::make_tuple(ftypeToName) }