Skip to content

Commit

Permalink
Merge branch 'release-2023' into release-2024
Browse files Browse the repository at this point in the history
  • Loading branch information
BerndDoser committed Mar 6, 2024
2 parents 7ca4b48 + d7fe214 commit 2e91aea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gromacs/ramd/ramd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ void RAMD::calculateForces(const ForceProviderInput& forceProviderInput,

if (step % params.eval_freq == 0)
{
if (MASTER(cr) and out)
if (MAIN(cr) and out)
{
fprintf(out, "\n");
fflush(out);
Expand All @@ -222,7 +222,7 @@ void RAMD::calculateForces(const ForceProviderInput& forceProviderInput,
// Exit if all ligand-receptor COM distances are larger than max_dist
if (std::accumulate(ligand_exited.begin(), ligand_exited.end(), 0) == params.ngroup)
{
if (MASTER(cr))
if (MAIN(cr))
{
fprintf(this->log, "==== RAMD ==== GROMACS will be stopped after %ld steps.\n", step);
}
Expand Down

0 comments on commit 2e91aea

Please sign in to comment.