This commit is contained in:
dino.celebic 2026-01-25 13:14:37 +01:00
commit decfe1d710
3 changed files with 278 additions and 275 deletions

View file

@ -967,15 +967,15 @@ void CalcElem_MasseSpecific(int const ial[3], double const xc[], double const c,
//x32 = xc[i2 + 0] - xc[i3 + 0], y32 = xc[i2 + 1] - xc[i3 + 1];
const double jac = fabs(x21 * y13 - x13 * y21);
ske[0][0] += c * jac / 12.0;
ske[0][1] += c * jac / 24.0;
ske[0][2] += c * jac / 24.0;
ske[1][0] += c * jac / 24.0;
ske[1][1] += c * jac / 12.0;
ske[1][2] += c * jac / 24.0;
ske[2][0] += c * jac / 24.0;
ske[2][1] += c * jac / 24.0;
ske[2][2] += c * jac / 12.0;
ske[0][0] = c * jac / 12.0;
ske[0][1] = c * jac / 24.0;
ske[0][2] = c * jac / 24.0;
ske[1][0] = c * jac / 24.0;
ske[1][1] = c * jac / 12.0;
ske[1][2] = c * jac / 24.0;
ske[2][0] = c * jac / 24.0;
ske[2][1] = c * jac / 24.0;
ske[2][2] = c * jac / 12.0;
return;
}