git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4066 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -448,7 +448,7 @@ void Velocity::ramp(int narg, char **arg)
|
||||
} else if (v_dim == 1) {
|
||||
v_lo = yscale*atof(arg[1]);
|
||||
v_hi = yscale*atof(arg[2]);
|
||||
} else if (v_dim == 0) {
|
||||
} else if (v_dim == 2) {
|
||||
v_lo = zscale*atof(arg[1]);
|
||||
v_hi = zscale*atof(arg[2]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user