Constraints< PetscMatrix< DofMap > > Struct Template Reference

Public Types

using Matrix = PetscMatrix< DofMap >
 
using VectorX = PetscVector< DofMap >
 
using VectorB = PetscVector< DofMap >
 

Static Public Member Functions

template<class BitVector , class Associations >
static void periodicBC (Matrix &mat, VectorX &x, VectorB &b, BitVector const &left, Associations const &left2right, bool setDiagonal=true)
 Periodic boundary conditions.
 

Member Function Documentation

◆ periodicBC()

template<class DofMap >
template<class BitVector , class Associations >
static void periodicBC ( Matrix &  mat,
VectorX &  x,
VectorB &  b,
BitVector const &  left,
Associations const &  left2right,
bool  setDiagonal = true 
)
inlinestatic

Periodic boundary conditions.

The periodic constraints are not implemented in a symmetric fashion

References PetscMatrix< DofMap >::matrix(), and PetscVector< DofMap >::vector().


The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/amdis/checkouts/latest/amdis/linearalgebra/petsc/Constraints.hpp