Reference documentation for deal.II version 9.1.1
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
Static Public Attributes | List of all members
PETScWrappers::MPI::SparseMatrix::Traits Struct Reference

#include <deal.II/lac/petsc_sparse_matrix.h>

Static Public Attributes

static const bool zero_addition_can_be_elided = false
 

Detailed Description

A structure that describes some of the traits of this class in terms of its run-time behavior. Some other classes (such as the block matrix classes) that take one or other of the matrix classes as its template parameters can tune their behavior based on the variables in this class.

Definition at line 383 of file petsc_sparse_matrix.h.

Member Data Documentation

◆ zero_addition_can_be_elided

const bool PETScWrappers::MPI::SparseMatrix::Traits::zero_addition_can_be_elided = false
static

It is not safe to elide additions of zeros to individual elements of this matrix. The reason is that additions to the matrix may trigger collective operations synchronizing buffers on multiple processes. If an addition is elided on one process, this may lead to other processes hanging in an infinite waiting loop.

Definition at line 392 of file petsc_sparse_matrix.h.


The documentation for this struct was generated from the following file: