CprCreation.hpp
Go to the documentation of this file.
52 std::vector<Matrix<Scalar>> Amatrices, Rmatrices; // scalar matrices that represent the AMG hierarchy
53 std::vector<std::vector<int> > PcolIndices; // prolongation does not need a full matrix, only store colIndices
63 std::unique_ptr<DuneMat> dune_coarse; // extracted pressure matrix, finest level in AMG hierarchy
68 Dune::UMFPack<DuneMat>, int> umfpack; // dune/istl/umfpack object used to solve the coarsest level of AMG
Definition: MSWellHelpers.hpp:29 Definition: BlockedMatrix.hpp:29 This class implements a Constrained Pressure Residual (CPR) preconditioner. Definition: CprCreation.hpp:39 bool always_recalculate_aggregates Definition: CprCreation.hpp:69 std::shared_ptr< MatrixOperator > dune_op Definition: CprCreation.hpp:64 std::vector< Matrix< Scalar > > Rmatrices Definition: CprCreation.hpp:52 std::unique_ptr< DuneAmg > dune_amg Definition: CprCreation.hpp:62 Dune::Amg::MatrixHierarchy< MatrixOperator, Dune::Amg::SequentialInformation > DuneAmg Definition: CprCreation.hpp:61 void analyzeHierarchy() std::vector< std::vector< int > > diagIndices Definition: CprCreation.hpp:66 Dune::BCRSMatrix< Dune::FieldMatrix< Scalar, 1, 1 > > DuneMat Definition: CprCreation.hpp:58 std::vector< std::vector< Scalar > > invDiags Definition: CprCreation.hpp:54 std::conditional_t< std::is_same_v< Scalar, double >, Dune::UMFPack< DuneMat >, int > umfpack Definition: CprCreation.hpp:68 std::vector< Scalar > coarse_vals Definition: CprCreation.hpp:51 std::vector< int > level_sizes Definition: CprCreation.hpp:65 unsigned num_pre_smooth_steps Definition: CprCreation.hpp:72 CprCreation() std::vector< Matrix< Scalar > > Amatrices Definition: CprCreation.hpp:52 void analyzeAggregateMaps() Dune::BlockVector< Dune::FieldVector< Scalar, 1 > > DuneVec Definition: CprCreation.hpp:59 std::vector< std::vector< int > > PcolIndices Definition: CprCreation.hpp:53 unsigned num_post_smooth_steps Definition: CprCreation.hpp:73 std::unique_ptr< DuneMat > dune_coarse Definition: CprCreation.hpp:63 bool recalculate_aggregates Definition: CprCreation.hpp:70 Dune::MatrixAdapter< DuneMat, DuneVec, DuneVec > MatrixOperator Definition: CprCreation.hpp:60 void create_preconditioner_amg(BlockedMatrix< Scalar > *mat) Definition: amgclSolverBackend.hpp:44 |