18 #include "libmesh/libmesh_config.h" 20 #ifdef LIBMESH_HAVE_PETSC 23 #include "libmesh/petsc_matrix_shell_matrix.h" 48 const auto m = this->_dof_map->n_dofs();
49 const auto m_l = this->_dof_map->n_local_dofs();
The libMesh namespace provides an interface to certain functionality in the library.
void init_shell_mat(Obj &obj, const numeric_index_type m, const numeric_index_type n, const numeric_index_type m_l, const numeric_index_type n_l, const numeric_index_type blocksize_in)
Initialize a shell matrix object.
dof_id_type numeric_index_type
ParallelType
Defines an enum for parallel data structure types.
virtual void init(const numeric_index_type m, const numeric_index_type n, const numeric_index_type m_l, const numeric_index_type n_l, const numeric_index_type=30, const numeric_index_type=10, const numeric_index_type blocksize=1) override
Initialize SparseMatrix with the specified sizes.