deleted extra distval

This commit is contained in:
James E McClure
2018-06-15 15:23:15 -04:00
parent d5af118f0f
commit 3398b90285

View File

@@ -287,10 +287,6 @@ void ScaLBL_ColorModel::AssignSolidPotential(){
double vec_y = double(jj-2); double vec_y = double(jj-2);
double vec_z = double(kk-2); double vec_z = double(kk-2);
vec_x /= sqrt(vec_x*vec_x+vec_y*vec_y+vec_z*vec_z);
vec_y /= sqrt(vec_x*vec_x+vec_y*vec_y+vec_z*vec_z);
vec_z /= sqrt(vec_x*vec_x+vec_y*vec_y+vec_z*vec_z);
double ALPHA=PhaseLabel[nn]; double ALPHA=PhaseLabel[nn];
double GAMMA=-2.f; double GAMMA=-2.f;
if (distval > 2.f) ALPHA=0.f; // symmetric cutoff distance if (distval > 2.f) ALPHA=0.f; // symmetric cutoff distance