Added functionality to throw error when time step changes and PLUMED is being used
This commit is contained in:
@ -446,6 +446,11 @@ void FixPlumed::min_post_force(int vflag)
|
||||
post_force(vflag);
|
||||
}
|
||||
|
||||
void FixPlumed::reset_dt()
|
||||
{
|
||||
error->all(FLERR,"cannot reset_dt within a fix plumed action");
|
||||
}
|
||||
|
||||
double FixPlumed::compute_scalar()
|
||||
{
|
||||
return bias;
|
||||
|
||||
@ -41,6 +41,7 @@ class FixPlumed : public Fix {
|
||||
void post_force_respa(int, int, int);
|
||||
void min_post_force(int);
|
||||
double compute_scalar();
|
||||
void reset_dt();
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user