16 #ifndef dealii_matrix_tools_h
17 #define dealii_matrix_tools_h
31 #ifdef DEAL_II_WITH_PETSC
32 # include <petscsys.h>
44 template <
typename number>
46 template <
typename number>
48 template <
typename number>
51 template <
typename number>
53 template <
typename Number>
56 template <
int dim,
int spacedim>
58 template <
int dim,
int spacedim>
66 class MappingCollection;
70 # ifdef DEAL_II_WITH_PETSC
83 # ifdef DEAL_II_WITH_TRILINOS
319 template <
typename number>
322 const std::map<types::global_dof_index, number> &boundary_values,
326 const bool eliminate_columns =
true);
333 template <
typename number>
336 const std::map<types::global_dof_index, number> &boundary_values,
340 const bool eliminate_columns =
true);
342 #ifdef DEAL_II_WITH_PETSC
380 const std::map<types::global_dof_index, PetscScalar> &boundary_values,
384 const bool eliminate_columns =
true);
391 const std::map<types::global_dof_index, PetscScalar> &boundary_values,
395 const bool eliminate_columns =
true);
399 #ifdef DEAL_II_WITH_TRILINOS
435 const std::map<types::global_dof_index, TrilinosScalar> &boundary_values,
439 const bool eliminate_columns =
true);
447 const std::map<types::global_dof_index, TrilinosScalar> &boundary_values,
451 const bool eliminate_columns =
true);
472 template <
typename number>
475 const std::map<types::global_dof_index, number> &boundary_values,
476 const std::vector<types::global_dof_index> & local_dof_indices,
479 const bool eliminate_columns);
485 "You are providing a matrix whose subdivision into "
486 "blocks in either row or column direction does not use "
487 "the same blocks sizes as the solution vector or "
488 "right hand side vectors, respectively.");
Abstract base class for mapping classes.
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcBlocksDontMatch()
#define DeclExceptionMsg(Exception, defaulttext)
@ matrix
Contents is actually a matrix.