Skip to content
Snippets Groups Projects
Commit cc98e6e3 authored by Porrmann, Maik's avatar Porrmann, Maik
Browse files

bugfix dirichlet for Hermite<1>, namespaces interpolation

parent 6badfc0e
No related branches found
No related tags found
No related merge requests found
......@@ -440,7 +440,7 @@ namespace Dune
template <class B, class C, class F, class BV>
void interpolate(const B &basis, C &&coeff, const F &f, const BV &bitVector)
{
interpolate(basis, coeff, f, bitVector, HierarchicNodeToRangeMap());
c1elements::interpolate(basis, coeff, f, bitVector, HierarchicNodeToRangeMap());
}
/**
......@@ -460,7 +460,8 @@ namespace Dune
template <class B, class C, class F>
void interpolate(const B &basis, C &&coeff, const F &f)
{
interpolate(basis, coeff, f, Imp::AllTrueBitSetVector(), HierarchicNodeToRangeMap());
c1elements::interpolate(basis, coeff, f, Imp::AllTrueBitSetVector(),
HierarchicNodeToRangeMap());
}
} // namespace c1elements
} // namespace Functions
......
......@@ -95,6 +95,8 @@ namespace Dune
*/
bool isDirichlet(std::size_t vertex, std::size_t direction) const
{
if (dim == 1)
return false;
return setTangential_[vertex][dim + direction];
}
......
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