diff --git a/src/amdis/linearalgebra/DOFVectorBase.hpp b/src/amdis/linearalgebra/DOFVectorBase.hpp index c62fa8f58eef783fef7a7201e4c87c781ef0a482..91e1c57dd0191329fc1b84f2629124293987484d 100644 --- a/src/amdis/linearalgebra/DOFVectorBase.hpp +++ b/src/amdis/linearalgebra/DOFVectorBase.hpp @@ -57,7 +57,7 @@ namespace AMDiS public: /// Constructor. Constructs new BaseVector. - DOFVectorBase(GlobalBasis const& basis, DataTransferOperation op = DataTransferOperation::NO_OPERATION) + DOFVectorBase(GlobalBasis const& basis, DataTransferOperation op = DataTransferOperation::INTERPOLATE) : basis_(&basis) , dataTransfer_(DataTransferFactory::create(op, basis)) { diff --git a/src/amdis/linearalgebra/eigen/DOFVector.hpp b/src/amdis/linearalgebra/eigen/DOFVector.hpp index 38aa5e2c6559eab00f8c86614a85fef591610a14..a2f71979522400d047d9172b810e3f1c75aa16fa 100644 --- a/src/amdis/linearalgebra/eigen/DOFVector.hpp +++ b/src/amdis/linearalgebra/eigen/DOFVector.hpp @@ -91,7 +91,7 @@ namespace AMDiS using Super = DOFVectorBase<BasisType, EigenVector<ValueType>>; public: - DOFVector(BasisType const& basis, DataTransferOperation op = DataTransferOperation::NO_OPERATION) + DOFVector(BasisType const& basis, DataTransferOperation op = DataTransferOperation::INTERPOLATE) : 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 = DataTransferOperation::NO_OPERATION) + makeDOFVector(Basis const& basis, DataTransferOperation op = DataTransferOperation::INTERPOLATE) { return {basis, op}; } diff --git a/src/amdis/linearalgebra/istl/DOFVector.hpp b/src/amdis/linearalgebra/istl/DOFVector.hpp index 5f22c37fc86825ce4d6b3d0c85d2502d23d60061..5d54f7edc15ba75280cf9c9c6672cef652b23e86 100644 --- a/src/amdis/linearalgebra/istl/DOFVector.hpp +++ b/src/amdis/linearalgebra/istl/DOFVector.hpp @@ -100,7 +100,7 @@ namespace AMDiS using Super = DOFVectorBase<BasisType, IstlVector<ValueType>>; public: - DOFVector(BasisType const& basis, DataTransferOperation op = DataTransferOperation::NO_OPERATION) + DOFVector(BasisType const& basis, DataTransferOperation op = DataTransferOperation::INTERPOLATE) : 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 = DataTransferOperation::NO_OPERATION) + makeDOFVector(Basis const& basis, DataTransferOperation op = DataTransferOperation::INTERPOLATE) { return {basis, op}; } diff --git a/src/amdis/linearalgebra/mtl/DOFVector.hpp b/src/amdis/linearalgebra/mtl/DOFVector.hpp index b3da13b4007578731ac2d7dfc09ea99605c23483..35be3d71ec1d816fa5d35835ece04831036b0f25 100644 --- a/src/amdis/linearalgebra/mtl/DOFVector.hpp +++ b/src/amdis/linearalgebra/mtl/DOFVector.hpp @@ -91,7 +91,7 @@ namespace AMDiS using Super = DOFVectorBase<BasisType, MtlVector<ValueType>>; public: - DOFVector(BasisType const& basis, DataTransferOperation op = DataTransferOperation::NO_OPERATION) + DOFVector(BasisType const& basis, DataTransferOperation op = DataTransferOperation::INTERPOLATE) : 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 = DataTransferOperation::NO_OPERATION) + makeDOFVector(Basis const& basis, DataTransferOperation op = DataTransferOperation::INTERPOLATE) { return {basis, op}; }