Skip to content
Snippets Groups Projects
Commit dbc8b31e authored by Oliver Sander's avatar Oliver Sander
Browse files

bugfix in integrationOuterNormal()

[[Imported from SVN: r1793]]
parent 7ac77d66
Branches
Tags
No related merge requests found
......@@ -261,7 +261,9 @@ namespace Dune
//! the normal is scaled with the integration element
FieldVector<ct, dimworld> integrationOuterNormal (const FieldVector<ct, dim-1>& local) const
{
return unitOuterNormal(local) * asImp().intersectionGlobal().integrationElement(local);
FieldVector<ct, dimworld> n = unitOuterNormal(local);
n *= asImp().intersectionGlobal().integrationElement(local);
return n;
}
//! return unit outer normal
FieldVector<ct, dimworld> unitOuterNormal (const FieldVector<ct, dim-1>& local) const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment