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

Classes

class  PmeBSplineModuliTest
 Test fixture for testing PME B-spline moduli creation. More...
 

Typedefs

typedef std::tuple< IVec, int,
ModuliType
BSplineModuliInputParameters
 Convenience typedef of input parameters - grid dimensions, PME interpolation order, moduli type. More...
 
using PmeBSplineModuliFailureTest = PmeBSplineModuliTest
 Failure test alias.
 
using PmeBSplineModuliCorrectnessTest = PmeBSplineModuliTest
 Correctness test alias.
 

Enumerations

enum  ModuliType { PME, P3M }
 Moduli algorithm type.
 

Variables

const int sanePmeOrder = 4
 Sane interpolation order.
 
const IVec saneGridSize = {32, 25, 47}
 Sane grid size.
 
static std::vector< IVec > const sampleGridSizes
 A couple of valid inputs for grid sizes. It is good to test both even and odd dimensions. More...
 

Typedef Documentation

static std::vector< BSplineModuliInputParameters > const invalidInputs anonymous_namespace pmebsplinetest gmx::test::anonymous_namespace{pmebsplinetest.cpp}::gmx::test::cpp::BSplineModuliInputParameters
Initial value:
{
IVec {
-1, 10, 10
}, sanePmeOrder, ModuliType::P3M
}
BasicVector< int > IVec
Shorthand for C++ ivec-equivalent type.
Definition: vectypes.h:169
const int sanePmeOrder
Sane interpolation order.
Definition: pmebsplinetest.cpp:141

Convenience typedef of input parameters - grid dimensions, PME interpolation order, moduli type.

Hand-picked invalid input for the exception tests.

Variable Documentation

std::vector<IVec> const gmx::test::anonymous_namespace{pmebsplinetest.cpp}::sampleGridSizes
static
Initial value:
{
IVec {
64, 32, 64
},
IVec {
57, 84, 29
}
}
BasicVector< int > IVec
Shorthand for C++ ivec-equivalent type.
Definition: vectypes.h:169

A couple of valid inputs for grid sizes. It is good to test both even and odd dimensions.