Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
dune-curvedgrid
Commits
c44cd2d7
Commit
c44cd2d7
authored
Sep 23, 2020
by
Praetorius, Simon
Browse files
repair the vertex geometry specialization
parent
c635cda5
Pipeline
#4867
passed with stage
in 9 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dune/curvedsurfacegrid/geometry.hh
View file @
c44cd2d7
...
...
@@ -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
>
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment