Gromacs  2025-dev-20240910-a7e2421
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
gmx::test::anonymous_namespace{exclusions.cpp} Namespace Reference

Functions

std::pair< std::unique_ptr
< nbnxn_atomdata_t >
, std::unique_ptr< PairlistSet > > 
diagonalPairlist (const NbnxmKernelType kernelType, const int numAtoms)
 Sets up and return atom data for numAtoms atoms and a numAtoms^2 pair list. More...
 

Variables

const auto testKernelTypes
 

Function Documentation

std::pair<std::unique_ptr<nbnxn_atomdata_t>, std::unique_ptr<PairlistSet> > gmx::test::anonymous_namespace{exclusions.cpp}::diagonalPairlist ( const NbnxmKernelType  kernelType,
const int  numAtoms 
)

Sets up and return atom data for numAtoms atoms and a numAtoms^2 pair list.

All atom coordinates are zero. All atom pairs are in the list.

Note that this function returns a unique pointer, because parts of PairlistSet currently can not be copied.

Variable Documentation

const auto gmx::test::anonymous_namespace{exclusions.cpp}::testKernelTypes
Initial value:
= ::testing::Values(NbnxmKernelType::Cpu4x4_PlainC
)