Distributions within solid phase (not physically meaningful) are re-initialized in the ComputeVelocityD3Q19 routine to a negative value

This commit is contained in:
James E McClure
2015-11-28 17:47:10 -05:00
parent 1b653312d9
commit 1a037752cc
2 changed files with 15 additions and 0 deletions

View File

@@ -385,6 +385,13 @@ extern "C" void ComputeVelocityD3Q19(char *ID, double *disteven, double *distodd
//........................................................................
}
else{
for(int q=0; q<9; q++){
f_even[q*N+n] = -1.0;
f_odd[q*N+n] = -1.0;
}
f_even[9*N+n] = -1.0;
}
}
}