version 3.9.0
Loading...
Searching...
No Matches
symmetrize_constraints.hh File Reference

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

#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.
 
template<class... MBlock, class Vector >
void Dumux::symmetrizeConstraints (Dune::MultiTypeBlockMatrix< MBlock... > &A, Vector &b, const Vector &constrainedRows)
 Symmetrize the constrained system Ax=b.