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
amdis
amdis-core
Commits
c232f745
Commit
c232f745
authored
Oct 01, 2018
by
Praetorius, Simon
Browse files
replaces template-alias by derived class
parent
7b1e194c
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/amdis/linear_algebra/istl/DOFVector.hpp
View file @
c232f745
...
...
@@ -83,12 +83,14 @@ namespace AMDiS
};
template
<
class
BasisType
,
class
V
ector
Type
=
double
>
struct
DOFVector
:
public
DOFVectorBase
<
BasisType
,
IstlVector
<
V
ector
Type
>>
template
<
class
BasisType
,
class
V
alue
Type
=
double
>
struct
DOFVector
:
public
DOFVectorBase
<
BasisType
,
IstlVector
<
V
alue
Type
>>
{
using
Super
=
DOFVectorBase
<
BasisType
,
IstlVector
<
VectorType
>>
;
using
Super
::
DOFVectorBase
;
using
Super
=
DOFVectorBase
<
BasisType
,
IstlVector
<
ValueType
>>
;
using
Super
::
operator
=
;
DOFVector
(
BasisType
const
&
basis
)
:
Super
(
basis
)
{}
};
...
...
src/amdis/linear_algebra/mtl/DOFVector.hpp
View file @
c232f745
...
...
@@ -72,12 +72,14 @@ namespace AMDiS
};
template
<
class
BasisType
,
class
V
ector
Type
=
double
>
struct
DOFVector
:
public
DOFVectorBase
<
BasisType
,
MtlVector
<
V
ector
Type
>>
template
<
class
BasisType
,
class
V
alue
Type
=
double
>
struct
DOFVector
:
public
DOFVectorBase
<
BasisType
,
MtlVector
<
V
alue
Type
>>
{
using
Super
=
DOFVectorBase
<
BasisType
,
MtlVector
<
VectorType
>>
;
using
Super
::
DOFVectorBase
;
using
Super
=
DOFVectorBase
<
BasisType
,
MtlVector
<
ValueType
>>
;
using
Super
::
operator
=
;
DOFVector
(
BasisType
const
&
basis
)
:
Super
(
basis
)
{}
};
...
...
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