mirror of https://github.com/lammps/lammps.git
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2818 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
f06cc9667e
commit
a12fe07b28
|
@ -508,7 +508,7 @@ void FixTTM::update_electron_temperatures()
|
|||
|
||||
// output nodal temperatures for current timestep
|
||||
|
||||
if (!(update->ntimestep % nfileevery) && (me == 0)) {
|
||||
if ((nfileevery) && !(update->ntimestep % nfileevery) && (me == 0)) {
|
||||
fprintf(fp,"%d ",update->ntimestep);
|
||||
for (int ixnode = 0; ixnode < nxnodes; ixnode++)
|
||||
for (int iynode = 0; iynode < nynodes; iynode++)
|
||||
|
|
Loading…
Reference in New Issue