3 #ifndef DUNE_PDELAB_BACKEND_EIGEN_DESCRIPTORS_HH 4 #define DUNE_PDELAB_BACKEND_EIGEN_DESCRIPTORS_HH 10 #include <Eigen/Dense> 11 #include <Eigen/Sparse> 20 template<
typename GFS,
typename E>
21 class VectorContainer;
23 template<
typename GFSV,
typename GFSU,
typename ET,
int _Options>
24 class MatrixContainer;
27 struct MatrixPatternInserter;
41 typedef std::size_t size_type;
45 static const size_type max_blocking_depth = 0;
48 template<
typename GFS>
49 bool blocked(
const GFS& gfs)
const 56 template<
int _Options = ::Eigen::RowMajor>
59 typedef std::size_t size_type;
61 size_type avg_nz_per_row;
63 DUNE_DEPRECATED_MSG(
"Please us the constructor taking the avg non-zeros")
64 MatrixBackend() : avg_nz_per_row(0)
67 MatrixBackend(size_type avg_nz_per_row_) : avg_nz_per_row(avg_nz_per_row_)
71 template<
typename Matrix,
typename GFSV,
typename GFSU>
72 using Pattern = PDELab::Eigen::MatrixPatternInserter<typename Matrix::Container>;
74 template<
typename VV,
typename VU,
typename E>
77 typedef PDELab::Eigen::MatrixContainer<typename VV::GridFunctionSpace,typename VU::GridFunctionSpace, E, _Options> type;
86 using EigenVectorBackend DUNE_DEPRECATED_MSG(
"Use Eigen::VectorBackend instead of EigenVectorBackend")
87 = Eigen::VectorBackend;
92 template<
int _Options = ::Eigen::RowMajor>
93 using EigenMatrixBackend DUNE_DEPRECATED_MSG(
"Use Eigen::MatrixBackend instead of EigenMatrixBackend")
94 = Eigen::MatrixBackend<_Options>;
99 #elif defined HEADERCHECK 100 #warning Skipped header check due to missing Eigen. 102 #error You need Eigen to use the Eigen backend 105 #endif // DUNE_PDELAB_BACKEND_EIGEN_DESCRIPTORS_HH For backward compatibility – Do not use this!
Definition: adaptivity.hh:27