Skip to content
Snippets Groups Projects
Commit c44cd2d7 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

repair the vertex geometry specialization

parent c635cda5
Branches
No related tags found
No related merge requests found
Pipeline #4867 passed
......@@ -171,12 +171,12 @@ protected:
public:
template <class... Args>
VertexGeometry (const ReferenceElement& refElement, const LocalFunction& lf, Args&&... args)
VertexGeometry (const ReferenceElement& refElement, int, const LocalFunction& lf, Args&&... args)
: VertexGeometry(Construct{}, refElement, lf, LocalGeometry(std::forward<Args>(args)...))
{}
template <class... Args>
VertexGeometry (Dune::GeometryType gt, const LocalFunction& lf, Args&&... args)
VertexGeometry (Dune::GeometryType gt, int, const LocalFunction& lf, Args&&... args)
: VertexGeometry(Construct{}, ReferenceElements::general(gt), lf,
LocalGeometry(std::forward<Args>(args)...))
{}
......@@ -203,8 +203,17 @@ private:
// Specialization for vertex geometries
template <class ct, int cdim, class LF, class LG, bool useInterpolation>
class Geometry<ct,0,cdim,LF,LG, useInterpolation>
template <class ct, int cdim, class LF, class LG>
class Geometry<ct,0,cdim,LF,LG,true>
: public VertexGeometry<ct,cdim,LF,LG>
{
using Super = VertexGeometry<ct,cdim,LF,LG>;
public:
using Super::Super;
};
template <class ct, int cdim, class LF, class LG>
class Geometry<ct,0,cdim,LF,LG,false>
: public VertexGeometry<ct,cdim,LF,LG>
{
using Super = VertexGeometry<ct,cdim,LF,LG>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment