output ninserted for fixes: deposit+pour

This commit is contained in:
Jacob Gissinger
2023-10-28 13:22:10 -04:00
parent ed6c603488
commit c5463e13f1
4 changed files with 19 additions and 1 deletions

View File

@ -51,6 +51,7 @@ FixDeposit::FixDeposit(LAMMPS *lmp, int narg, char **arg) :
{
if (narg < 7) error->all(FLERR,"Illegal fix deposit command");
scalar_flag = 1;
restart_global = 1;
time_depend = 1;
@ -816,6 +817,11 @@ void FixDeposit::options(int narg, char **arg)
}
}
double FixDeposit::compute_scalar()
{
return ninserted;
}
/* ----------------------------------------------------------------------
pack entire state of Fix into one write
------------------------------------------------------------------------- */