20 #ifndef LIBMESH_LASPACK_MATRIX_H 21 #define LIBMESH_LASPACK_MATRIX_H 25 #ifdef LIBMESH_HAVE_LASPACK 41 template <
typename T>
class DenseMatrix;
104 virtual void init ()
override;
106 virtual void clear ()
override;
108 virtual void zero ()
override;
110 virtual void close ()
override;
122 const T
value)
override;
126 const T
value)
override;
129 const std::vector<numeric_index_type> & rows,
130 const std::vector<numeric_index_type> & cols)
override;
133 const std::vector<numeric_index_type> & dof_indices)
override;
147 virtual Real l1_norm ()
const override { libmesh_not_implemented();
return 0.; }
176 std::vector<numeric_index_type>
_csr;
182 std::vector<std::vector<numeric_index_type>::const_iterator>
_row_start;
198 #endif // #ifdef LIBMESH_HAVE_LASPACK 199 #endif // #ifdef LIBMESH_LASPACK_MATRIX_H virtual void get_diagonal(NumericVector< T > &dest) const override
virtual Real l1_norm() const override
virtual void init() override
virtual Real linfty_norm() const override
std::vector< numeric_index_type > _csr
virtual bool need_full_sparsity_pattern() const override
Provides a uniform interface to vector storage schemes for different linear algebra libraries...
const Parallel::Communicator & comm() const
virtual void print_personal(std::ostream &os=libMesh::out) const override
virtual void add(const numeric_index_type i, const numeric_index_type j, const T value) override
numeric_index_type pos(const numeric_index_type i, const numeric_index_type j) const
virtual void get_transpose(SparseMatrix< T > &dest) const override
virtual void close() override
dof_id_type numeric_index_type
virtual T operator()(const numeric_index_type i, const numeric_index_type j) const override
virtual numeric_index_type row_start() const override
virtual void zero() override
virtual bool closed() const override
virtual void clear() override
std::vector< std::vector< numeric_index_type >::const_iterator > _row_start
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual numeric_index_type m() const override
virtual numeric_index_type n() const override
virtual void update_sparsity_pattern(const SparsityPattern::Graph &) override
virtual numeric_index_type row_stop() const override
A matrix object used for finite element assembly and numerics.
OStreamProxy out(std::cout)
LaspackMatrix & operator=(const LaspackMatrix &)=delete
void print(std::ostream &os=libMesh::out, const bool sparse=false) const
virtual void add_matrix(const DenseMatrix< T > &dm, const std::vector< numeric_index_type > &rows, const std::vector< numeric_index_type > &cols) override
LaspackMatrix(const Parallel::Communicator &comm)