parallelbasebackend.hh
Go to the documentation of this file.
128 using ParallelPreconditioner = Opm::Linear::OverlappingPreconditioner<SequentialPreconditioner, Overlap>;
129 using ParallelScalarProduct = Opm::Linear::OverlappingScalarProduct<OverlappingVector, Overlap>;
332 return std::make_shared<ParallelPreconditioner>(precWrapper_.get(), overlappingMatrix_->overlap());
A simple class which makes sure that a cleanup function is called once the object is destroyed. Definition: genericguard.hh:43 A sparse matrix interface backend for BCRSMatrix from dune-istl. Definition: istlsparsematrixadapter.hh:43 An overlap aware block-compressed row storage (BCRS) matrix. Definition: overlappingbcrsmatrix.hh:54 An overlap aware block vector. Definition: overlappingblockvector.hh:50 An overlap aware linear operator usable by ISTL. Definition: overlappingoperator.hh:42 An overlap aware preconditioner for any ISTL linear solver. Definition: overlappingpreconditioner.hh:48 An overlap aware ISTL scalar product. Definition: overlappingscalarproduct.hh:42 Provides the common code which is required by most linear solvers. Definition: parallelbasebackend.hh:109 void getResidual(Vector &b) const Retrieve the synchronized internal residual vector. Definition: parallelbasebackend.hh:229 GetPropType< TypeTag, Properties::OverlappingVector > OverlappingVector Definition: parallelbasebackend.hh:122 int gridSequenceNumber_ Definition: parallelbasebackend.hh:378 size_t iterations() const Return number of iterations used during last solve. Definition: parallelbasebackend.hh:289 ParallelBaseBackend(const Simulator &simulator) Definition: parallelbasebackend.hh:137 const Implementation & asImp_() const Definition: parallelbasebackend.hh:296 GetPropType< TypeTag, Properties::Scalar > Scalar Definition: parallelbasebackend.hh:114 PreconditionerWrapper precWrapper_ Definition: parallelbasebackend.hh:385 GetPropType< TypeTag, Properties::Simulator > Simulator Definition: parallelbasebackend.hh:113 GetPropType< TypeTag, Properties::GlobalEqVector > Vector Definition: parallelbasebackend.hh:117 OverlappingVector * overlappingx_ Definition: parallelbasebackend.hh:383 typename PreconditionerWrapper::SequentialPreconditioner SequentialPreconditioner Definition: parallelbasebackend.hh:126 void writeOverlapToVTK_() Definition: parallelbasebackend.hh:340 std::shared_ptr< ParallelPreconditioner > preparePreconditioner_() Definition: parallelbasebackend.hh:311 GetPropType< TypeTag, Properties::SparseMatrixAdapter > SparseMatrixAdapter Definition: parallelbasebackend.hh:116 void eraseMatrix() Causes the solve() method to discared the structure of the linear system of equations the next time i... Definition: parallelbasebackend.hh:173 void setResidual(const Vector &b) Assign values to the internal data structure for the residual vector. Definition: parallelbasebackend.hh:217 Implementation & asImp_() Definition: parallelbasebackend.hh:293 void prepare(const SparseMatrixAdapter &M, const Vector &) Set up the internal data structures required for the linear solver. Definition: parallelbasebackend.hh:182 void setMatrix(const SparseMatrixAdapter &M) Sets the values of the residual's Jacobian matrix. Definition: parallelbasebackend.hh:241 void cleanupPreconditioner_() Definition: parallelbasebackend.hh:335 GetPropType< TypeTag, Properties::LinearSolverScalar > LinearSolverScalar Definition: parallelbasebackend.hh:115 GetPropType< TypeTag, Properties::LinearSolverBackend > Implementation Definition: parallelbasebackend.hh:111 static void registerParameters() Register all run-time parameters for the linear solver. Definition: parallelbasebackend.hh:153 GetPropType< TypeTag, Properties::PreconditionerWrapper > PreconditionerWrapper Definition: parallelbasebackend.hh:125 size_t lastIterations_ Definition: parallelbasebackend.hh:379 OverlappingVector * overlappingb_ Definition: parallelbasebackend.hh:382 OverlappingMatrix * overlappingMatrix_ Definition: parallelbasebackend.hh:381 bool solve(Vector &x) Actually solve the linear system of equations. Definition: parallelbasebackend.hh:252 GetPropType< TypeTag, Properties::GridView > GridView Definition: parallelbasebackend.hh:119 ~ParallelBaseBackend() Definition: parallelbasebackend.hh:147 GetPropType< TypeTag, Properties::Overlap > Overlap Definition: parallelbasebackend.hh:121 GetPropType< TypeTag, Properties::BorderListCreator > BorderListCreator Definition: parallelbasebackend.hh:118 GetPropType< TypeTag, Properties::OverlappingMatrix > OverlappingMatrix Definition: parallelbasebackend.hh:123 const Simulator & simulator_ Definition: parallelbasebackend.hh:377 Definition: istlpreconditionerwrappers.hh:153 Definition: matrixblock.hh:227 Provides wrapper classes for the (non-AMG) preconditioners provided by dune-istl. Declares the parameters for the black oil model. Declares the properties required by the black oil model. Definition: blackoilmodel.hh:72 Definition: blackoilboundaryratevector.hh:37 GenericGuard< Callback > make_guard(Callback &callback) Definition: genericguard.hh:88 typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(.... Definition: propertysystem.hh:235 This file provides the infrastructure to retrieve run-time parameters. The Opm property system, traits with inheritance. GetPropType< TypeTag, Properties::Scalar > type Definition: parallelbasebackend.hh:395 The floating point type used internally by the linear solver. Definition: linalgproperties.hh:46 typename GetPropType< TypeTag, Properties::OverlappingMatrix >::Overlap type Definition: parallelbasebackend.hh:412 Definition: linalgproperties.hh:60 GetPropType< TypeTag, Properties::OverlappingVector > OverlappingVector Definition: parallelbasebackend.hh:436 GetPropType< TypeTag, Properties::OverlappingMatrix > OverlappingMatrix Definition: parallelbasebackend.hh:435 Definition: linalgproperties.hh:63 Definition: linalgproperties.hh:66 GetPropType< TypeTag, Properties::Overlap > Overlap Definition: parallelbasebackend.hh:428 GetPropType< TypeTag, Properties::OverlappingVector > OverlappingVector Definition: parallelbasebackend.hh:427 Definition: linalgproperties.hh:69 GetPropType< TypeTag, Properties::LinearSolverScalar > LinearSolverScalar Definition: parallelbasebackend.hh:418 Dune::FieldVector< LinearSolverScalar, numEq > VectorBlock Definition: parallelbasebackend.hh:419 GetPropType< TypeTag, Properties::Overlap > Overlap Definition: parallelbasebackend.hh:420 Definition: linalgproperties.hh:72 the preconditioner used by the linear solver Definition: linalgproperties.hh:42 typename Opm::Linear::IstlSparseMatrixAdapter< Block > type Definition: parallelbasebackend.hh:73 The class that allows to manipulate sparse matrices. Definition: linalgproperties.hh:50 Definition: parallelbasebackend.hh:59 |