-
- Downloads
Easier setup of AMG in sequential mode, e. g.:
Dune::MatrixAdapter<BCRSMat,Vector,Vector> fop(mat); typedef Dune::Amg::MatrixHierarchy<BCRSMat,ParallelIndexSet> MHierarchy; typedef Dune::Amg::CoarsenCriterion<Dune::Amg::SymmetricCriterion<BCRSMat,Dune::Amg::FirstDiagonal> > Criterion; typedef Dune::SeqSSOR<BCRSMat,Vector,Vector> Smoother; typedef Dune::Amg::SmootherTraits<Smoother>::Arguments SmootherArgs; SmootherArgs smootherArgs; smootherArgs.iterations = 2; Criterion criterion(15,coarsenTarget); criterion.setMaxDistance(2); Dune::SeqScalarProduct<Vector> sp; typedef Dune::Amg::AMG<MHierarchy,Vector,Smoother> AMG; AMG amg(fop.getmat(), criterion, smootherArgs, 1, 1); [[Imported from SVN: r410]]
Showing
- istl/paamg/aggregates.hh 2 additions, 2 deletionsistl/paamg/aggregates.hh
- istl/paamg/amg.hh 96 additions, 3 deletionsistl/paamg/amg.hh
- istl/paamg/galerkin.hh 192 additions, 31 deletionsistl/paamg/galerkin.hh
- istl/paamg/hierarchy.hh 85 additions, 76 deletionsistl/paamg/hierarchy.hh
- istl/paamg/indicescoarsener.hh 19 additions, 27 deletionsistl/paamg/indicescoarsener.hh
- istl/paamg/pmatrix.hh 21 additions, 15 deletionsistl/paamg/pmatrix.hh
- istl/paamg/test/amgtest.cc 21 additions, 37 deletionsistl/paamg/test/amgtest.cc
- istl/paamg/test/hierarchytest.cc 2 additions, 2 deletionsistl/paamg/test/hierarchytest.cc
Loading
Please register or sign in to comment