Skip to content
Snippets Groups Projects
Commit de51fb4d authored by Jakub Klinkovský's avatar Jakub Klinkovský Committed by Tomáš Oberhuber
Browse files

Switched MatrixType in PDEProblem to segments-based matrix

parent d5423bf7
No related branches found
No related tags found
1 merge request!58To/matrices
......@@ -13,7 +13,8 @@
#include <TNL/Problems/Problem.h>
#include <TNL/Problems/CommonData.h>
#include <TNL/Pointers/SharedPointer.h>
#include <TNL/Matrices/Legacy/SlicedEllpack.h>
#include <TNL/Matrices/SparseMatrix.h>
#include <TNL/Containers/Segments/SlicedEllpack.h>
#include <TNL/Solvers/PDE/TimeDependentPDESolver.h>
namespace TNL {
......@@ -39,7 +40,14 @@ class PDEProblem : public Problem< Real, Device, Index >
using SubdomainOverlapsType = typename DistributedMeshType::SubdomainOverlapsType;
using DofVectorType = Containers::Vector< RealType, DeviceType, IndexType>;
using DofVectorPointer = Pointers::SharedPointer< DofVectorType, DeviceType >;
using MatrixType = Matrices::Legacy::SlicedEllpack< RealType, DeviceType, IndexType >;
template< typename _Device, typename _Index, typename _IndexAlocator >
using SegmentsType = Containers::Segments::SlicedEllpack< _Device, _Index, _IndexAlocator >;
using MatrixType = TNL::Matrices::SparseMatrix< Real,
Device,
Index,
TNL::Matrices::GeneralMatrix,
SegmentsType
>;
using CommunicatorType = Communicator;
using CommonDataType = CommonData;
using CommonDataPointer = Pointers::SharedPointer< CommonDataType, DeviceType >;
......
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