MAINT: DumpNetCDF and DumpNetCDFMPIIO need access to thermo output.

This commit is contained in:
Lars Pastewka
2017-06-08 23:18:54 +02:00
parent bd83c7c7f9
commit 10d2e7c380
2 changed files with 15 additions and 0 deletions

View File

@ -402,6 +402,15 @@ void Thermo::compute(int flag)
firststep = 1;
}
/* ----------------------------------------------------------------------
call function to compute property
------------------------------------------------------------------------- */
void Thermo::call_vfunc(int ifield)
{
(this->*vfunc[ifield])();
}
/* ----------------------------------------------------------------------
check for lost atoms, return current number of atoms
------------------------------------------------------------------------- */