Skip to content
Snippets Groups Projects
Commit 31043f90 authored by Christian Engwer's avatar Christian Engwer
Browse files

fix and test for FS#284

[[Imported from SVN: r4929]]
parent a5171804
No related branches found
No related tags found
No related merge requests found
......@@ -929,15 +929,6 @@ namespace Dune {
return *this;
}
//===== Euclidean scalar product
//! scalar product
const K operator* (const FieldVector& y) const
{
return p*y.p;
}
//===== norms
//! one norm (sum over absolute values of entries)
......
......@@ -50,15 +50,23 @@ public:
a = v + a;
a = v - a;
a = v * a;
a = v / a;
v = v + a;
v = v - a;
v = v * a;
v = v / a;
a = a + v;
a = a - v;
a = a * v;
a = a / v;
v = a + v;
v = a - v;
v = a * v;
v = a / v;
}
};
......
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