version 3.10-dev
symmetrize_constraints.hh File Reference

Helper function to symmetrize row-constraints in constrained linear systems. More...

#include <iostream>
#include <dune/common/hybridutilities.hh>
#include <dune/common/fmatrix.hh>
#include <dune/istl/bcrsmatrix.hh>
#include <dune/istl/multitypeblockmatrix.hh>

Go to the source code of this file.

Namespaces

namespace  Dumux
 
namespace  Dumux::Detail
 Distance implementation details.
 

Functions

template<class K , int rows, int cols, class VectorRow , class VectorCol >
void Dumux::Detail::symmetrizeConstraintsImpl (Dune::FieldMatrix< K, rows, cols > &A, VectorRow &bRow, const VectorCol &bCol, const VectorCol &constrainedRows, bool isDiagonal)
 
template<class MBlock , class VectorRow , class VectorCol >
void Dumux::Detail::symmetrizeConstraintsImpl (Dune::BCRSMatrix< MBlock > &A, VectorRow &bRow, const VectorCol &bCol, const VectorCol &constrainedRows, bool isDiagonal)
 
template<class... MBlock, class VectorRow , class VectorCol >
void Dumux::Detail::symmetrizeConstraintsImpl (Dune::MultiTypeBlockMatrix< MBlock... > &A, VectorRow &bRow, const VectorCol &bCol, const VectorCol &constrainedRows, bool isDiagonal)
 
template<class MBlock , class Vector >
void Dumux::symmetrizeConstraints (Dune::BCRSMatrix< MBlock > &A, Vector &b, const Vector &constrainedRows)
 Symmetrize the constrained system Ax=b. More...
 
template<class... MBlock, class Vector >
void Dumux::symmetrizeConstraints (Dune::MultiTypeBlockMatrix< MBlock... > &A, Vector &b, const Vector &constrainedRows)
 Symmetrize the constrained system Ax=b. More...
 
Include dependency graph for symmetrize_constraints.hh: