Permalink
Browse files

Merge branch 'multigrid_fixes' into 'master'

fixes for multigrid with hcurlho fespace and number fespace for dofnrs

See merge request jschoeberl/ngsolve!275
  • Loading branch information...
JSchoeberl committed Dec 12, 2017
2 parents a63fd14 + 5522279 commit 1211e2b2140c16776a3b2177b31d1f72662f3d74
Showing with 6 additions and 3 deletions.
  1. +1 −0 comp/hcurlhofespace.cpp
  2. +5 −0 comp/numberfespace.cpp
  3. +0 −3 multigrid/smoother.cpp
@@ -947,6 +947,7 @@ namespace ngcomp
first_face_dof = 0;
}
SetNDof(ndof);
*testout << "Hcurlho edge dofs: " << first_edge_dof[0] << "-" << first_edge_dof[ned] << endl;
*testout << "Hcurlho face dofs: " << first_face_dof[0] << "-" << first_face_dof[nfa] << endl;
*testout << "Hcurlho inner dofs: " << first_inner_dof[0] << "-" << first_inner_dof[ne] << endl;
@@ -73,6 +73,11 @@ namespace ngcomp
is_atomic_dof = true;
}
virtual void Update(LocalHeap & lh) override
{
SetNDof(1);
}
virtual size_t GetNDof() const { return 1; }
virtual FiniteElement & GetFE (ElementId ei, Allocator & lh) const
@@ -786,9 +786,6 @@ namespace ngmg
if (direct)
{
// if(updateall)
// throw Exception("Update all doesn't work with direct inverse yet...");
cerr << "not sure about update all and direct inverse (Joachim->Christopher)" << endl;
if (biform.UsesEliminateInternal())
{
const FESpace & fes = *biform.GetFESpace();

0 comments on commit 1211e2b

Please sign in to comment.