Skip to content
Snippets Groups Projects
Commit c562befc authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Changing default matrix type to SlicedEllpack.

parent dc7ac57c
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ class HeatEquationProblem : public PDEProblem< Mesh,
typedef Functions::MeshFunction< Mesh > MeshFunctionType;
typedef SharedPointer< MeshFunctionType, DeviceType > MeshFunctionPointer;
typedef PDEProblem< Mesh, RealType, DeviceType, IndexType > BaseType;
typedef Matrices::CSR< RealType, DeviceType, IndexType > MatrixType;
typedef Matrices::SlicedEllpack< RealType, DeviceType, IndexType > MatrixType;
typedef SharedPointer< DifferentialOperator > DifferentialOperatorPointer;
typedef SharedPointer< BoundaryCondition > BoundaryConditionPointer;
typedef SharedPointer< RightHandSide, DeviceType > RightHandSidePointer;
......
......@@ -12,7 +12,7 @@
#include <TNL/Problems/Problem.h>
#include <TNL/SharedPointer.h>
#include <TNL/Matrices/CSR.h>
#include <TNL/Matrices/SlicedEllpack.h>
namespace TNL {
namespace Problems {
......@@ -34,7 +34,7 @@ class PDEProblem : public Problem< Real, Device, Index >
typedef SharedPointer< MeshType, DeviceType > MeshPointer;
typedef Containers::Vector< RealType, DeviceType, IndexType> DofVectorType;
typedef SharedPointer< DofVectorType, DeviceType > DofVectorPointer;
typedef Matrices::CSR< RealType, DeviceType, IndexType > MatrixType;
typedef Matrices::SlicedEllpack< RealType, DeviceType, IndexType > MatrixType;
typedef Containers::Vector< RealType, DeviceType, IndexType > MeshDependentDataType;
typedef SharedPointer< MeshDependentDataType, DeviceType > MeshDependentDataPointer;
......
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