ug4
block_gauss_seidel.h File Reference

Go to the source code of this file.

Classes

class  ug::BlockGaussSeidel< TAlgebra, backward, forward >
 
class  ug::BlockGaussSeidelIterative< TAlgebra, backward, forward >
 
class  ug::IBlockJacobiPreconditioner< TAlgebra >
 
class  ug::SparseBlockGaussSeidel< TAlgebra, backward, forward >
 
class  ug::SparseBlockGaussSeidel2< TAlgebra, backward, forward >
 
class  ug::StrongNegativeConnectionsByBlockNorm
 Adds 'strong negative connections' to graph. More...
 

Namespaces

 ug
 the ug namespace
 

Functions

template<typename TMatrixType , typename TRowType >
void ug::CopyOffDiagEntries (const TMatrixType &A, size_t i, TRowType &row, bool enforceNew=false)
 
template<typename matrix_type >
void ug::CreateStrongConnectionGraphForSystems (const matrix_type &A, cgraph &graph, double theta)
 
template<typename TSparseMatrixType , typename TVectorType >
void ug::GetBlockGSCorrection (const TSparseMatrixType &A, TVectorType &x, TVectorType &b, DenseMatrix< VariableArray2< double > > &AlocInv, std::vector< size_t > &indices)
 
template<typename TSparseMatrixType , typename TVectorType >
void ug::GetBlockGSCorrection (const TSparseMatrixType &A, TVectorType &x, TVectorType &b, DenseMatrix< VariableArray2< double > > &AlocInv, std::vector< size_t > &indices, DenseVector< VariableArray1< double > > &tmp, DenseVector< VariableArray1< double > > &tmp2)
 
template<typename TSparseMatrixType , typename TVectorType >
void ug::GetBlockGSCorrectionILUT (const TSparseMatrixType &A, TVectorType &x, TVectorType &b, SmartPtr< ILUTPreconditioner< CPUAlgebra > > &ilut, std::vector< size_t > &indices, CPUAlgebra::vector_type &tmp, CPUAlgebra::vector_type &tmp2)
 
template<typename TSparseMatrixType >
void ug::GetSliceDenseInverse (const TSparseMatrixType &A, const std::vector< size_t > &indices, DenseMatrix< VariableArray2< double > > &AlocInv)
 
template<typename TSparseMatrixType >
void ug::GetSliceDenseInverse (const TSparseMatrixType &A, const std::vector< size_t > &indices, DenseMatrix< VariableArray2< double > > &AlocInv, DenseMatrix< VariableArray2< typename TSparseMatrixType::value_type > > &tmp)
 
template<typename TSparseMatrixType >
void ug::GetSliceSparse (const TSparseMatrixType &A, const std::vector< size_t > &indices, CPUAlgebra::matrix_type &R)