Lines Matching refs:solver
214 void call_solver(Solver &solver, const int solver_id, const typename Solver::MatrixType& A, const M… in call_solver() argument
225 solver.compute(A); in call_solver()
226 if (solver.info() != Success) in call_solver()
239 x = solver.solve(b); in call_solver()
240 if (solver.info() == NumericalIssue) in call_solver()
279 void call_directsolver(Solver& solver, const int solver_id, const typename Solver::MatrixType& A, c… in call_directsolver() argument
283 call_solver(solver, solver_id, A, b, refX,statbuf); in call_directsolver()
289 void call_itersolver(Solver &solver, const int solver_id, const typename Solver::MatrixType& A, con… in call_itersolver() argument
291 solver.setTolerance(RelErr); in call_itersolver()
292 solver.setMaxIterations(MaximumIters); in call_itersolver()
296 call_solver(solver, solver_id, A, b, refX,statbuf); in call_itersolver()
297 statbuf << " <ITER> "<< solver.iterations() << "</ITER>\n"; in call_itersolver()
299 std::cout << "ITERATIONS : " << solver.iterations() <<"\n\n\n"; in call_itersolver()
315 UmfPackLU<SpMat> solver; in SelectSolvers() local
316 call_directsolver(solver, EIGEN_UMFPACK, A, b, refX,statFile); in SelectSolvers()
323 SuperLU<SpMat> solver; in SelectSolvers() local
324 call_directsolver(solver, EIGEN_SUPERLU, A, b, refX,statFile); in SelectSolvers()
332 PastixLU<SpMat> solver; in SelectSolvers() local
333 call_directsolver(solver, EIGEN_PASTIX, A, b, refX,statFile) ; in SelectSolvers()
341 PardisoLU<SpMat> solver; in SelectSolvers() local
342 call_directsolver(solver, EIGEN_PARDISO, A, b, refX,statFile); in SelectSolvers()
348 SparseLU<SpMat, COLAMDOrdering<int> > solver; in SelectSolvers() local
349 call_directsolver(solver, EIGEN_SPARSELU_COLAMD, A, b, refX, statFile); in SelectSolvers()
354 SparseLU<SpMat, MetisOrdering<int> > solver; in SelectSolvers() local
355 call_directsolver(solver, EIGEN_SPARSELU_METIS, A, b, refX, statFile); in SelectSolvers()
362 BiCGSTAB<SpMat> solver; in SelectSolvers() local
363 call_itersolver(solver, EIGEN_BICGSTAB, A, b, refX,statFile); in SelectSolvers()
368 BiCGSTAB<SpMat, IncompleteLUT<Scalar> > solver; in SelectSolvers() local
369 call_itersolver(solver, EIGEN_BICGSTAB_ILUT, A, b, refX,statFile); in SelectSolvers()
382 GMRES<SpMat, IncompleteLUT<Scalar> > solver; in SelectSolvers() local
383 call_itersolver(solver, EIGEN_GMRES_ILUT, A, b, refX,statFile); in SelectSolvers()
392 SimplicialLDLT<SpMat, Lower> solver; in SelectSolvers() local
393 call_directsolver(solver, EIGEN_SIMPLICIAL_LDLT, A, b, refX,statFile); in SelectSolvers()
400 CholmodDecomposition<SpMat, Lower> solver; in SelectSolvers() local
401 solver.setMode(CholmodLDLt); in SelectSolvers()
402 call_directsolver(solver,EIGEN_CHOLMOD_LDLT, A, b, refX,statFile); in SelectSolvers()
410 PastixLDLT<SpMat, Lower> solver; in SelectSolvers() local
411 call_directsolver(solver,EIGEN_PASTIX_LDLT, A, b, refX,statFile); in SelectSolvers()
419 PardisoLDLT<SpMat, Lower> solver; in SelectSolvers() local
420 call_directsolver(solver,EIGEN_PARDISO_LDLT, A, b, refX,statFile); in SelectSolvers()
432 SimplicialLLT<SpMat, Lower> solver; in SelectSolvers() local
433 call_directsolver(solver,EIGEN_SIMPLICIAL_LLT, A, b, refX,statFile); in SelectSolvers()
441 CholmodDecomposition<SpMat, Lower> solver; in SelectSolvers() local
442 solver.setMode(CholmodSupernodalLLt); in SelectSolvers()
443 call_directsolver(solver,EIGEN_CHOLMOD_SUPERNODAL_LLT, A, b, refX,statFile); in SelectSolvers()
446 solver.setMode(CholmodSimplicialLLt); in SelectSolvers()
447 call_directsolver(solver,EIGEN_CHOLMOD_SIMPLICIAL_LLT, A, b, refX,statFile); in SelectSolvers()
455 PastixLLT<SpMat, Lower> solver; in SelectSolvers() local
456 call_directsolver(solver,EIGEN_PASTIX_LLT, A, b, refX,statFile); in SelectSolvers()
464 PardisoLLT<SpMat, Lower> solver; in SelectSolvers() local
465 call_directsolver(solver,EIGEN_PARDISO_LLT, A, b, refX,statFile); in SelectSolvers()
472 ConjugateGradient<SpMat, Lower> solver; in SelectSolvers() local
473 call_itersolver(solver,EIGEN_CG, A, b, refX,statFile); in SelectSolvers()