File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -800,8 +800,8 @@ def reversible_scaling(self, iteration=1):
800
800
lmp .command ("variable fscale equal v_flambda-1.0" )
801
801
lmp .command ("variable bscale equal v_blambda-1.0" )
802
802
lmp .command ("variable one equal 1.0" )
803
- lmp .command (f"variable ftemp equal v_flambda *{ self .calc ._temperature_stop } " )
804
- lmp .command (f"variable btemp equal v_blambda *{ self .calc ._temperature } " )
803
+ lmp .command (f"variable ftemp equal v_blambda *{ self .calc ._temperature_stop } " )
804
+ lmp .command (f"variable btemp equal v_flambda *{ self .calc ._temperature_stop } " )
805
805
806
806
#set up potential
807
807
pc = self .calc .pair_coeff [0 ]
@@ -865,6 +865,8 @@ def reversible_scaling(self, iteration=1):
865
865
lmp .command ("variable fscale equal v_flambda-1.0" )
866
866
lmp .command ("variable bscale equal v_blambda-1.0" )
867
867
lmp .command ("variable one equal 1.0" )
868
+ lmp .command (f"variable ftemp equal v_blambda*{ self .calc ._temperature_stop } " )
869
+ lmp .command (f"variable btemp equal v_flambda*{ self .calc ._temperature_stop } " )
868
870
869
871
lmp .command ("pair_style hybrid/scaled v_one %s v_bscale %s" % (self .calc ._pair_style_with_options [0 ], self .calc ._pair_style_with_options [0 ]))
870
872
lmp .command ("pair_coeff %s" % pcnew1 )
You can’t perform that action at this time.
0 commit comments