Explicitly set half_neigh to zero on stubbed versions
Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
parent
292138b270
commit
15d43dcce5
@ -49,6 +49,7 @@ void init(Parameter *param) {
|
|||||||
param->cutforce = 1000000.0;
|
param->cutforce = 1000000.0;
|
||||||
param->cutneigh = param->cutforce;
|
param->cutneigh = param->cutforce;
|
||||||
param->mass = 1.0;
|
param->mass = 1.0;
|
||||||
|
param->half_neigh = 0;
|
||||||
// Unused
|
// Unused
|
||||||
param->dt = 0.005;
|
param->dt = 0.005;
|
||||||
param->dtforce = 0.5 * param->dt;
|
param->dtforce = 0.5 * param->dt;
|
||||||
|
@ -48,6 +48,7 @@ void init(Parameter *param) {
|
|||||||
param->cutforce = 1000000.0;
|
param->cutforce = 1000000.0;
|
||||||
param->cutneigh = param->cutforce;
|
param->cutneigh = param->cutforce;
|
||||||
param->mass = 1.0;
|
param->mass = 1.0;
|
||||||
|
param->half_neigh = 0;
|
||||||
// Unused
|
// Unused
|
||||||
param->dt = 0.005;
|
param->dt = 0.005;
|
||||||
param->dtforce = 0.5 * param->dt;
|
param->dtforce = 0.5 * param->dt;
|
||||||
|
Loading…
Reference in New Issue
Block a user