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

added enum-class prefix to DOFVector

parent 2bcd1afe
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,7 @@ namespace AMDiS ...@@ -57,7 +57,7 @@ namespace AMDiS
public: public:
/// Constructor. Constructs new BaseVector. /// Constructor. Constructs new BaseVector.
DOFVectorBase(GlobalBasis const& basis, DataTransferOperation op = NO_OPERATION) DOFVectorBase(GlobalBasis const& basis, DataTransferOperation op = DataTransferOperation::NO_OPERATION)
: basis_(&basis) : basis_(&basis)
, dataTransfer_(DataTransferFactory::create(op, basis)) , dataTransfer_(DataTransferFactory::create(op, basis))
{ {
......
...@@ -91,7 +91,7 @@ namespace AMDiS ...@@ -91,7 +91,7 @@ namespace AMDiS
using Super = DOFVectorBase<BasisType, EigenVector<ValueType>>; using Super = DOFVectorBase<BasisType, EigenVector<ValueType>>;
public: public:
DOFVector(BasisType const& basis, DataTransferOperation op = NO_OPERATION) DOFVector(BasisType const& basis, DataTransferOperation op = DataTransferOperation::NO_OPERATION)
: Super(basis, op) : Super(basis, op)
{} {}
...@@ -102,7 +102,7 @@ namespace AMDiS ...@@ -102,7 +102,7 @@ namespace AMDiS
/// Constructor a dofvector from given basis and name /// Constructor a dofvector from given basis and name
template <class ValueType = double, class Basis> template <class ValueType = double, class Basis>
DOFVector<Basis, ValueType> DOFVector<Basis, ValueType>
makeDOFVector(Basis const& basis, DataTransferOperation op = NO_OPERATION) makeDOFVector(Basis const& basis, DataTransferOperation op = DataTransferOperation::NO_OPERATION)
{ {
return {basis, op}; return {basis, op};
} }
......
...@@ -100,7 +100,7 @@ namespace AMDiS ...@@ -100,7 +100,7 @@ namespace AMDiS
using Super = DOFVectorBase<BasisType, IstlVector<ValueType>>; using Super = DOFVectorBase<BasisType, IstlVector<ValueType>>;
public: public:
DOFVector(BasisType const& basis, DataTransferOperation op = NO_OPERATION) DOFVector(BasisType const& basis, DataTransferOperation op = DataTransferOperation::NO_OPERATION)
: Super(basis, op) : Super(basis, op)
{} {}
...@@ -111,7 +111,7 @@ namespace AMDiS ...@@ -111,7 +111,7 @@ namespace AMDiS
/// Constructor a dofvector from given basis and name /// Constructor a dofvector from given basis and name
template <class ValueType = double, class Basis> template <class ValueType = double, class Basis>
DOFVector<Basis, ValueType> DOFVector<Basis, ValueType>
makeDOFVector(Basis const& basis, DataTransferOperation op = NO_OPERATION) makeDOFVector(Basis const& basis, DataTransferOperation op = DataTransferOperation::NO_OPERATION)
{ {
return {basis, op}; return {basis, op};
} }
......
...@@ -91,7 +91,7 @@ namespace AMDiS ...@@ -91,7 +91,7 @@ namespace AMDiS
using Super = DOFVectorBase<BasisType, MtlVector<ValueType>>; using Super = DOFVectorBase<BasisType, MtlVector<ValueType>>;
public: public:
DOFVector(BasisType const& basis, DataTransferOperation op = NO_OPERATION) DOFVector(BasisType const& basis, DataTransferOperation op = DataTransferOperation::NO_OPERATION)
: Super(basis, op) : Super(basis, op)
{} {}
...@@ -102,7 +102,7 @@ namespace AMDiS ...@@ -102,7 +102,7 @@ namespace AMDiS
/// Constructor a dofvector from given basis and name /// Constructor a dofvector from given basis and name
template <class ValueType = double, class Basis> template <class ValueType = double, class Basis>
DOFVector<Basis, ValueType> DOFVector<Basis, ValueType>
makeDOFVector(Basis const& basis, DataTransferOperation op = NO_OPERATION) makeDOFVector(Basis const& basis, DataTransferOperation op = DataTransferOperation::NO_OPERATION)
{ {
return {basis, op}; return {basis, op};
} }
......
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