X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fewald%2Ftests%2Fpmetestcommon.h;h=1dc2db66b49b1add82b799b8fb29c63ef1e5c237;hb=32c8fcc1dcd614881c5ccb141cad7f21b660c347;hp=6b1e6d136c492872fdb7dfb4a56a09c78f454620;hpb=9cf1bd23abe8ac9a4e2638845d34ae1b1ccf19b7;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/ewald/tests/pmetestcommon.h b/src/gromacs/ewald/tests/pmetestcommon.h index 6b1e6d136c..1dc2db66b4 100644 --- a/src/gromacs/ewald/tests/pmetestcommon.h +++ b/src/gromacs/ewald/tests/pmetestcommon.h @@ -1,7 +1,7 @@ /* * This file is part of the GROMACS molecular simulation package. * - * Copyright (c) 2016,2017,2018,2019,2020, by the GROMACS development team, led by + * Copyright (c) 2016,2017,2018,2019,2020,2021, by the GROMACS development team, led by * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl, * and including many others, as listed in the AUTHORS file in the * top-level source directory and at http://www.gromacs.org. @@ -74,20 +74,17 @@ enum class CodePath : int Count }; -//! Return a string useful for human-readable messages describing a \c codePath. -const char* codePathToString(CodePath codePath); - // Convenience typedefs //! A safe pointer type for PME. typedef gmx::unique_cptr PmeSafePointer; //! Charges -typedef ArrayRef ChargesVector; +typedef std::vector ChargesVector; //! Coordinates typedef std::vector CoordinatesVector; //! Forces typedef ArrayRef ForcesVector; //! Gridline indices -typedef ArrayRef GridLineIndicesVector; +typedef std::vector GridLineIndicesVector; /*! \brief Spline parameters (theta or dtheta). * A reference to a single dimension's spline data; this means (atomCount * pmeOrder) values or derivatives. */ @@ -246,6 +243,12 @@ struct PmeTestHardwareContext std::vector> createPmeTestHardwareContextList(); +//! A couple of valid inputs for boxes. +extern const std::map c_inputBoxes; + +//! Valid PME orders for testing +extern std::vector c_inputPmeOrders; + } // namespace test } // namespace gmx