variable probability fix
This commit is contained in:
@ -868,6 +868,9 @@ void FixBondReact::post_integrate()
|
||||
ghostly_rxn_count[i] = 0;
|
||||
nlocalskips[i] = 0;
|
||||
nghostlyskips[i] = 0;
|
||||
// update reaction probability
|
||||
if (var_flag[PROB][i])
|
||||
fraction[i] = input->variable->compute_equal(var_id[PROB][i]);
|
||||
}
|
||||
|
||||
if (nevery_check) {
|
||||
@ -875,10 +878,6 @@ void FixBondReact::post_integrate()
|
||||
return;
|
||||
}
|
||||
|
||||
// update reaction probability
|
||||
if (var_flag[PROB][rxnID])
|
||||
fraction[rxnID] = input->variable->compute_equal(var_id[PROB][rxnID]);
|
||||
|
||||
// acquire updated ghost atom positions
|
||||
// necessary b/c are calling this after integrate, but before Verlet comm
|
||||
|
||||
|
||||
Reference in New Issue
Block a user