git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2990 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2009-07-03 21:53:44 +00:00
parent 3c7f2e4e97
commit 2c4b866f62
2 changed files with 8 additions and 7 deletions

View File

@ -142,10 +142,11 @@ run 8000
</PRE>
<PRE># -------------- Flux calculation in nve ---------------
</PRE>
<PRE>reset_timestep 0
compute flux all heat_flux
<PRE>reset_timestep 0
compute myPE all pe/atom pair
compute flux all heat_flux myPE
log flux.log
variable J equal c_flux<B>1</B>/vol
variable J equal c_flux[1]/vol
thermo_style custom step temp v_J
run 100000
</PRE>

View File

@ -139,10 +139,10 @@ run 8000 :pre
# -------------- Flux calculation in nve --------------- :pre
reset_timestep 0
compute flux all heat_flux
reset_timestep 0
compute myPE all pe/atom pair
compute flux all heat_flux myPE
log flux.log
variable J equal c_flux[1]/vol
variable J equal c_flux\[1\]/vol
thermo_style custom step temp v_J
run 100000 :pre