Merge branch release-2021 into merge-2021-into-master
[alexxy/gromacs.git] / src / gromacs / applied_forces / awh / tests / bias_fep_lambda_state.cpp
index 5e1e01618514cc9a3ef8c1bca6c62506753c8690..5eb21950b7473f8d8a19efcd8c0f0e695a49f4bd 100644 (file)
@@ -87,10 +87,7 @@ public:
          *   eawhgrowth:
          *     eawhgrowthLINEAR:     final, normal update phase
          *     ewahgrowthEXP_LINEAR: intial phase, updated size is constant
-         *   eawhpotential (test both, but for the FEP lambda state dimension MC will in practice be used,
-         *                  except that eawhpotentialCONVOLVED also gives a potential output):
-         *     eawhpotentialUMBRELLA:  MC on lambda state
-         *     eawhpotentialCONVOLVED: MD on a convolved potential landscape (falling back to MC on lambda state)
+         *   eawhpotential (test only eawhpotentialUMBRELLA (MC) for FEP lambda dimensions)
          *   disableUpdateSkips (should not affect the results):
          *     BiasParams::DisableUpdateSkips::yes: update the point state for every sample
          *     BiasParams::DisableUpdateSkips::no:  update the point state at an interval > 1 sample
@@ -226,8 +223,7 @@ INSTANTIATE_TEST_CASE_P(WithParameters,
                         BiasFepLambdaStateTest,
                         ::testing::Combine(::testing::Values(AwhHistogramGrowthType::Linear,
                                                              AwhHistogramGrowthType::ExponentialLinear),
-                                           ::testing::Values(AwhPotentialType::Umbrella,
-                                                             AwhPotentialType::Convolved),
+                                           ::testing::Values(AwhPotentialType::Umbrella),
                                            ::testing::Values(BiasParams::DisableUpdateSkips::yes,
                                                              BiasParams::DisableUpdateSkips::no)));
 
@@ -244,7 +240,7 @@ TEST(BiasFepLambdaStateTest, DetectsCovering)
             awhDimParamSerialized(coordinateProvider, coordIndex, origin, end, period, diffusion);
     auto                    awhDimArrayRef = gmx::arrayRefFromArray(&awhDimBuffer, 1);
     const AwhTestParameters params(getAwhTestParameters(AwhHistogramGrowthType::ExponentialLinear,
-                                                        AwhPotentialType::Convolved,
+                                                        AwhPotentialType::Umbrella,
                                                         awhDimArrayRef,
                                                         false,
                                                         0.4,