Skip to content
Snippets Groups Projects
Commit f5df98b3 authored by Jö Fahlke's avatar Jö Fahlke
Browse files

Fix alpha_boundary documentation

parent 8fd52845
No related branches found
No related tags found
1 merge request!16Implement jacobian_apply_boundary() analytically
......@@ -102,11 +102,13 @@ namespace PPS {
for (auto i : Dune::range(lb.size()))
gradu.axpy(x[i],gradphi[i][0]);
// get unit outer normal vector and g
// get unit outer normal vector
auto n = isect.unitOuterNormal(ip.position());
// get dirichlet boundary condition value
auto g = this->param().g(isect, ip.position());
// integrate -(grad u)*n * phi_i + q(u)*phi_i
// integrate
// -(grad u)*n * phi_i - (u-g) * (grad phi_i)*n + stab*(u-g)*phi_i
auto factor = ip.weight()*
geo.integrationElement(ip.position());
for (auto i : Dune::range(lb.size()))
......
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