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
352 const std::map<types::global_dof_index, PetscScalar> &boundary_values,
356 const bool eliminate_columns =
true);
363 const std::map<types::global_dof_index, PetscScalar> &boundary_values,
367 const bool eliminate_columns =
true);
371 #ifdef DEAL_II_WITH_TRILINOS
407 const std::map<types::global_dof_index, TrilinosScalar> &boundary_values,
411 const bool eliminate_columns =
true);
419 const std::map<types::global_dof_index, TrilinosScalar> &boundary_values,
423 const bool eliminate_columns =
true);
444 template <
typename number>
447 const std::map<types::global_dof_index, number> &boundary_values,
448 const std::vector<types::global_dof_index> & local_dof_indices,
451 const bool eliminate_columns);
457 "You are providing a matrix whose subdivision into "
458 "blocks in either row or column direction does not use "
459 "the same blocks sizes as the solution vector or "
460 "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.