Commit b55a411d authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

replacing deprecated functions

parent db334439
......@@ -444,7 +444,7 @@ void DGEllipticAssemble::SetExactSolution(Vector &u) const {
for (int j = 0; j < elem.NodalPoints(); ++j)
u(r, j) = problem->Solution(elem.NodalPoint(j));
}
Accumulate(u);
u.Accumulate();
}
void DGEllipticAssemble::SetFlux(const Vector &u, Vector &flux) {
......
......@@ -18,7 +18,7 @@ void HybridEllipticAssemble::Initialize(Vector &u) const {
}
}
}
DirichletConsistent(u);
u.DirichletConsistent();
}
double HybridEllipticAssemble::Energy(const Vector &u) const {
......
......@@ -21,7 +21,7 @@ void LagrangeEllipticAssemble::Initialize(Vector &u) const {
}
}
}
DirichletConsistent(u);
u.DirichletConsistent();
}
double LagrangeEllipticAssemble::Energy(const Vector &u) const {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment