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
9b7cc263
Commit
9b7cc263
authored
Mar 13, 2019
by
Praetorius, Simon
Browse files
added enum-class prefix to DOFVector
parent
2bcd1afe
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/amdis/linearalgebra/DOFVectorBase.hpp
View file @
9b7cc263
...
...
@@ -57,7 +57,7 @@ namespace AMDiS
public:
/// Constructor. Constructs new BaseVector.
DOFVectorBase
(
GlobalBasis
const
&
basis
,
DataTransferOperation
op
=
NO_OPERATION
)
DOFVectorBase
(
GlobalBasis
const
&
basis
,
DataTransferOperation
op
=
DataTransferOperation
::
NO_OPERATION
)
:
basis_
(
&
basis
)
,
dataTransfer_
(
DataTransferFactory
::
create
(
op
,
basis
))
{
...
...
src/amdis/linearalgebra/eigen/DOFVector.hpp
View file @
9b7cc263
...
...
@@ -91,7 +91,7 @@ namespace AMDiS
using
Super
=
DOFVectorBase
<
BasisType
,
EigenVector
<
ValueType
>>
;
public:
DOFVector
(
BasisType
const
&
basis
,
DataTransferOperation
op
=
NO_OPERATION
)
DOFVector
(
BasisType
const
&
basis
,
DataTransferOperation
op
=
DataTransferOperation
::
NO_OPERATION
)
:
Super
(
basis
,
op
)
{}
...
...
@@ -102,7 +102,7 @@ namespace AMDiS
/// Constructor a dofvector from given basis and name
template
<
class
ValueType
=
double
,
class
Basis
>
DOFVector
<
Basis
,
ValueType
>
makeDOFVector
(
Basis
const
&
basis
,
DataTransferOperation
op
=
NO_OPERATION
)
makeDOFVector
(
Basis
const
&
basis
,
DataTransferOperation
op
=
DataTransferOperation
::
NO_OPERATION
)
{
return
{
basis
,
op
};
}
...
...
src/amdis/linearalgebra/istl/DOFVector.hpp
View file @
9b7cc263
...
...
@@ -100,7 +100,7 @@ namespace AMDiS
using
Super
=
DOFVectorBase
<
BasisType
,
IstlVector
<
ValueType
>>
;
public:
DOFVector
(
BasisType
const
&
basis
,
DataTransferOperation
op
=
NO_OPERATION
)
DOFVector
(
BasisType
const
&
basis
,
DataTransferOperation
op
=
DataTransferOperation
::
NO_OPERATION
)
:
Super
(
basis
,
op
)
{}
...
...
@@ -111,7 +111,7 @@ namespace AMDiS
/// Constructor a dofvector from given basis and name
template
<
class
ValueType
=
double
,
class
Basis
>
DOFVector
<
Basis
,
ValueType
>
makeDOFVector
(
Basis
const
&
basis
,
DataTransferOperation
op
=
NO_OPERATION
)
makeDOFVector
(
Basis
const
&
basis
,
DataTransferOperation
op
=
DataTransferOperation
::
NO_OPERATION
)
{
return
{
basis
,
op
};
}
...
...
src/amdis/linearalgebra/mtl/DOFVector.hpp
View file @
9b7cc263
...
...
@@ -91,7 +91,7 @@ namespace AMDiS
using
Super
=
DOFVectorBase
<
BasisType
,
MtlVector
<
ValueType
>>
;
public:
DOFVector
(
BasisType
const
&
basis
,
DataTransferOperation
op
=
NO_OPERATION
)
DOFVector
(
BasisType
const
&
basis
,
DataTransferOperation
op
=
DataTransferOperation
::
NO_OPERATION
)
:
Super
(
basis
,
op
)
{}
...
...
@@ -102,7 +102,7 @@ namespace AMDiS
/// Constructor a dofvector from given basis and name
template
<
class
ValueType
=
double
,
class
Basis
>
DOFVector
<
Basis
,
ValueType
>
makeDOFVector
(
Basis
const
&
basis
,
DataTransferOperation
op
=
NO_OPERATION
)
makeDOFVector
(
Basis
const
&
basis
,
DataTransferOperation
op
=
DataTransferOperation
::
NO_OPERATION
)
{
return
{
basis
,
op
};
}
...
...
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