Gromacs  2026.0-dev-20250207-8469bad
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions | Variables
gmx::test::anonymous_namespace{convparm.cpp} Namespace Reference

Typedefs

using ConvertInteractionsTest = ::testing::TestWithParam< std::tuple< int >>
 Define a test fixture class taking an integer paramter for ftype.
 

Functions

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

Variables

const NameOfTestFromTuple
< std::tuple< int > > 
sc_testNamer { std::make_tuple(ftypeToName) }
 

Function Documentation

std::array<real, MAXFORCEPARAM> gmx::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.

Any unused array entries are filled with NaN (on platforms where this is supported).