AMDiS  2.10
The Adaptive Multi-Dimensional Simulation Toolbox
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. More...
 

Member Function Documentation

◆ periodicBC()

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: