output ninserted for fixes: deposit+pour
This commit is contained in:
@ -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
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user