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 MatrixBackend(size_type avg_nz_per_row_) : avg_nz_per_row(avg_nz_per_row_)
67 template<
typename Matrix,
typename GFSV,
typename GFSU>
68 using Pattern = PDELab::Eigen::MatrixPatternInserter<typename Matrix::Container>;
70 template<
typename VV,
typename VU,
typename E>
73 typedef PDELab::Eigen::MatrixContainer<typename VV::GridFunctionSpace,typename VU::GridFunctionSpace, E, _Options> type;
82 #elif defined HEADERCHECK 83 #warning Skipped header check due to missing Eigen. 85 #error You need Eigen to use the Eigen backend 88 #endif // DUNE_PDELAB_BACKEND_EIGEN_DESCRIPTORS_HH
For backward compatibility – Do not use this!
Definition: adaptivity.hh:28