Gromacs
2024.4
|
#include "gmxpre.h"
#include <algorithm>
#include <mutex>
#include <string>
#include <unordered_map>
#include <gtest/gtest.h>
#include "gromacs/hardware/hw_info.h"
#include "gromacs/utility/enumerationhelpers.h"
#include "gromacs/utility/message_string_collector.h"
#include "gromacs/utility/stringutil.h"
#include "testutils/cmdlinetest.h"
#include "testutils/mpitest.h"
#include "testutils/testasserts.h"
#include "testutils/testfilemanager.h"
#include "moduletest.h"
Tests special cases in domain decomposition.
Classes | |
class | anonymous_namespace{domain_decomposition.cpp}::DomDecSpecialCasesTest |
Test fixture for domain decomposition special cases. More... | |
Typedefs | |
using | anonymous_namespace{domain_decomposition.cpp}::NonbondedFlavor = OffloadFlavor |
using | anonymous_namespace{domain_decomposition.cpp}::UpdateFlavor = OffloadFlavor |
using | anonymous_namespace{domain_decomposition.cpp}::PmeFlavor = OffloadFlavor |
using | anonymous_namespace{domain_decomposition.cpp}::MdpFlavor = std::tuple< ElectrostaticsFlavor, CouplingFlavor > |
Tuple containing parameters for MDP/TPR file generation. | |
using | anonymous_namespace{domain_decomposition.cpp}::RuntimeFlavor = std::tuple< NonbondedFlavor, PmeFlavor, UpdateFlavor, SeparatePmeRankFlavor > |
Tuple containing parameters for mdrun command line. | |
using | anonymous_namespace{domain_decomposition.cpp}::DomDecSpecialCasesTestParameters = std::tuple< MdpFlavor, RuntimeFlavor > |
Parameters for parametrized test fixture. | |
Functions | |
const char * | anonymous_namespace{domain_decomposition.cpp}::enumValueToString (const ElectrostaticsFlavor enumValue) |
const char * | anonymous_namespace{domain_decomposition.cpp}::enumValueToString (const CouplingFlavor enumValue) |
const char * | anonymous_namespace{domain_decomposition.cpp}::enumValueToString (const OffloadFlavor enumValue) |
std::optional< std::string > | anonymous_namespace{domain_decomposition.cpp}::reasonsTestIsInvalid (MdpFlavor mdpFlavor, RuntimeFlavor runtimeFlavor, bool gmx_unused haveCompatibleDevices) |
Verify whether the test configuration is valid and worth running. | |
std::string | anonymous_namespace{domain_decomposition.cpp}::nameOfTest (const testing::TestParamInfo< DomDecSpecialCasesTestParameters > &info) |
Help GoogleTest name our tests. | |
std::string | anonymous_namespace{domain_decomposition.cpp}::buildMdpInputFileContent (MdpFlavor mdpFlavor) |
Generate the contents of the MDP file. | |
gmx::test::CommandLine | anonymous_namespace{domain_decomposition.cpp}::buildMdrunCommandLine (RuntimeFlavor runtimeFlavor) |
Generate the mdrun command line. | |