resolved conflict
This commit is contained in:
@ -77,10 +77,11 @@ void GranSubModRollingSDS::calculate_forces()
|
||||
|
||||
Frcrit = mu * gm->normal_model->get_fncrit();
|
||||
|
||||
hist_temp[0] = gm->history[rhist0];
|
||||
hist_temp[1] = gm->history[rhist1];
|
||||
hist_temp[2] = gm->history[rhist2];
|
||||
|
||||
if (gm->history_update) {
|
||||
hist_temp[0] = gm->history[rhist0];
|
||||
hist_temp[1] = gm->history[rhist1];
|
||||
hist_temp[2] = gm->history[rhist2];
|
||||
rolldotn = dot3(hist_temp, gm->nxuse);
|
||||
|
||||
frameupdate = (fabs(rolldotn) * k) > (EPSILON * Frcrit);
|
||||
|
||||
Reference in New Issue
Block a user