Reference documentation for deal.II version GIT relicensing-399-g79d89019c5 2024-04-16 15:00:02+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
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 381 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 390 of file petsc_sparse_matrix.h.


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