Public Member Functions | |
| StochBlockJacobiSolver (const LinearSolver< double > &diagonalSolver, const SpectralBasis &pcBasis, double convTol, int maxIters, int verbosity) | |
| void | solve (const Array< LinearOperator< double > > &KBlock, const Array< int > &hasNonzeroMatrixBlock, const Array< Vector< double > > &fBlock, Array< Vector< double > > &xBlock) const |
| void | solve (const Array< LinearOperator< double > > &KBlock, const Array< Vector< double > > &fBlock, Array< Vector< double > > &xBlock) const |
Private Attributes | |
| LinearSolver< double > | diagonalSolver_ |
| SpectralBasis | pcBasis_ |
| double | convTol_ |
| int | maxIters_ |
| int | verbosity_ |
Definition at line 57 of file SundanceStochBlockJacobiSolver.hpp.
| Sundance::StochBlockJacobiSolver::StochBlockJacobiSolver | ( | const LinearSolver< double > & | diagonalSolver, |
| const SpectralBasis & | pcBasis, | ||
| double | convTol, | ||
| int | maxIters, | ||
| int | verbosity | ||
| ) | [inline] |
Definition at line 61 of file SundanceStochBlockJacobiSolver.hpp.
| void Sundance::StochBlockJacobiSolver::solve | ( | const Array< LinearOperator< double > > & | KBlock, |
| const Array< int > & | hasNonzeroMatrixBlock, | ||
| const Array< Vector< double > > & | fBlock, | ||
| Array< Vector< double > > & | xBlock | ||
| ) | const |
Definition at line 73 of file SundanceStochBlockJacobiSolver.cpp.
References convTol_, Playa::Vector< Scalar >::copy(), diagonalSolver_, maxIters_, Playa::norm2(), pcBasis_, Playa::Out::root(), Playa::LinearSolver< Scalar >::solve(), verbosity_, and Playa::Vector< Scalar >::zero().
Referenced by solve().
| void Sundance::StochBlockJacobiSolver::solve | ( | const Array< LinearOperator< double > > & | KBlock, |
| const Array< Vector< double > > & | fBlock, | ||
| Array< Vector< double > > & | xBlock | ||
| ) | const |
Definition at line 61 of file SundanceStochBlockJacobiSolver.cpp.
References solve().
double Sundance::StochBlockJacobiSolver::convTol_ [private] |
Definition at line 88 of file SundanceStochBlockJacobiSolver.hpp.
Referenced by solve().
LinearSolver<double> Sundance::StochBlockJacobiSolver::diagonalSolver_ [private] |
Definition at line 86 of file SundanceStochBlockJacobiSolver.hpp.
Referenced by solve().
int Sundance::StochBlockJacobiSolver::maxIters_ [private] |
Definition at line 89 of file SundanceStochBlockJacobiSolver.hpp.
Referenced by solve().
SpectralBasis Sundance::StochBlockJacobiSolver::pcBasis_ [private] |
Definition at line 87 of file SundanceStochBlockJacobiSolver.hpp.
Referenced by solve().
int Sundance::StochBlockJacobiSolver::verbosity_ [private] |
Definition at line 90 of file SundanceStochBlockJacobiSolver.hpp.
Referenced by solve().