fix bugs
This commit is contained in:
parent
6a2db786c5
commit
decfe1d710
3 changed files with 278 additions and 275 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue