Skip to content
Snippets Groups Projects
Commit 577f7e61 authored by Laura Stengel's avatar Laura Stengel
Browse files

fixed pressure bnd in jacobi

parent 2315d794
No related branches found
No related tags found
1 merge request!242Resolve "Compute mechanics benchmark (Land)"
Pipeline #126098 failed
......@@ -283,7 +283,7 @@ void LagrangeElasticity::Jacobi(const cell &c, const Vector &U, Matrix &A) const
for (int j = 0; j < FE.NodalPoints(); ++j) {
for (int l = 0; l < c.dim(); ++l) {
auto u_jl = FE.VectorValue(q, j, l);
auto F_jl = E.VectorGradient(q, j, l);
auto F_jl = FE.VectorGradient(q, j, l);
A_c(i, j, k, l) -= w * (localPressure) * (Cross(F, F_jl) * N) * u_ik;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment