Skip to content
Snippets Groups Projects
Commit 580e3e91 authored by Nicolas Marsic's avatar Nicolas Marsic
Browse files

LineNodeBasis: bug fix

parent 6a2fa5f7
No related branches found
No related tags found
No related merge requests found
...@@ -36,13 +36,13 @@ LineNodeBasis::LineNodeBasis(int order){ ...@@ -36,13 +36,13 @@ LineNodeBasis::LineNodeBasis(int order){
// Vertex Based (Lagrange) // // Vertex Based (Lagrange) //
(*node)[0] = (*node)[0] =
new Polynomial(Polynomial(1, 0, 0, 0) - new Polynomial((Polynomial(1, 0, 0, 0) -
Polynomial(1, 1, 0, 0) * Polynomial(1, 1, 0, 0)) *
0.5); 0.5);
(*node)[1] = (*node)[1] =
new Polynomial(Polynomial(1, 0, 0, 0) + new Polynomial((Polynomial(1, 0, 0, 0) +
Polynomial(1, 1, 0, 0) * Polynomial(1, 1, 0, 0)) *
0.5); 0.5);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment