Gromacs  2019-beta2
 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.
 
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.
 
std::vector
< BSplineModuliInputParameters >
const 
invalidInputs
 Hand-picked invalid input for the exception tests. More...
 
std::vector< IVec > const sampleGridSizes
 A couple of valid inputs for grid sizes. It is good to test both even and odd dimensions. More...
 

Variable Documentation

std::vector<BSplineModuliInputParameters> const gmx::test::anonymous_namespace{pmebsplinetest.cpp}::invalidInputs
Initial value:
{
IVec {
-1, 10, 10
}, sanePmeOrder, ModuliType::P3M
},
IVec {
40, 0, 20
}, sanePmeOrder, ModuliType::P3M
},
IVec {
64, 2, 64
}, sanePmeOrder, ModuliType::PME
},
saneGridSize, 8 + 1, ModuliType::P3M
},
saneGridSize, 12 + 1, ModuliType::PME
},
}
std::tuple< IVec, int, ModuliType > BSplineModuliInputParameters
Convenience typedef of input parameters - grid dimensions, PME interpolation order, moduli type.
Definition: pmebsplinetest.cpp:73
const IVec saneGridSize
Sane grid size.
Definition: pmebsplinetest.cpp:142
BasicVector< int > IVec
Shorthand for C++ ivec-equivalent type.
Definition: vectypes.h:318
const int sanePmeOrder
Sane interpolation order.
Definition: pmebsplinetest.cpp:140

Hand-picked invalid input for the exception tests.

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

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