for (int d = 0; d < awhBiasParams.ndim; d++)
{
const AwhDimParams& awhDimParams = awhBiasParams.dimParams[d];
- if (awhDimParams.eCoordProvider == eawhcoordproviderPULL)
+ if (awhDimParams.eCoordProvider == AwhCoordinateProviderType::Pull)
{
return true;
}
for (int d = 0; d < awhBiasParams.ndim; d++)
{
const AwhDimParams& awhDimParams = awhBiasParams.dimParams[d];
- if (awhDimParams.eCoordProvider != eawhcoordproviderPULL
- && awhDimParams.eCoordProvider != eawhcoordproviderFREE_ENERGY_LAMBDA)
+ if (awhDimParams.eCoordProvider != AwhCoordinateProviderType::Pull
+ && awhDimParams.eCoordProvider != AwhCoordinateProviderType::FreeEnergyLambda)
{
GMX_THROW(
InvalidInputError("Currently only the pull code and lambda are supported "
"as coordinate providers"));
}
- if (awhDimParams.eCoordProvider == eawhcoordproviderPULL)
+ if (awhDimParams.eCoordProvider == AwhCoordinateProviderType::Pull)
{
const t_pull_coord& pullCoord = inputRecord.pull->coord[awhDimParams.coordIndex];
if (pullCoord.eGeom == PullGroupGeometry::DirectionPBC)
for (int d = 0; d < biasParams.ndim; d++)
{
- if (biasParams.dimParams[d].eCoordProvider == eawhcoordproviderPULL)
+ if (biasParams.dimParams[d].eCoordProvider == AwhCoordinateProviderType::Pull)
{
register_external_pull_potential(
pull_work, biasParams.dimParams[d].coordIndex, Awh::externalPotentialString());