ISTLSolverGpuBridge.hpp
Go to the documentation of this file.
122 constexpr static std::size_t pressureIndex = GetPropType<TypeTag, Properties::Indices>::pressureSwitchIdx;
160 OpmLog::warning("Cannot use AcceleratorMode feature with MPI, setting AcceleratorMode to 'none'.");
Definition: CollectDataOnIORank.hpp:49 Interface class adding the update() method to the preconditioner interface. Definition: PreconditionerWithUpdate.hpp:32 Dune::OwnerOverlapCopyCommunication< int, int > CommunicationType Definition: AbstractISTLSolver.hpp:48 GetPropType< TypeTag, Properties::SparseMatrixAdapter > SparseMatrixAdapter Definition: AbstractISTLSolver.hpp:53 GpuBridge acts as interface between opm-simulators with the GpuSolvers. Definition: GpuBridge.hpp:37 Definition: ISTLSolverGpuBridge.hpp:104 GetPropType< TypeTag, Properties::GlobalEqVector > Vector Definition: ISTLSolverGpuBridge.hpp:110 static constexpr std::size_t pressureIndex Definition: ISTLSolverGpuBridge.hpp:122 void setMatrix(const SparseMatrixAdapter &) Set the matrix for the solver. Definition: ISTLSolverGpuBridge.hpp:229 ISTLSolverGpuBridge(const Simulator &simulator, const FlowLinearSolverParameters ¶meters) Definition: ISTLSolverGpuBridge.hpp:137 ISTLSolverGpuBridge(const Simulator &simulator) Definition: ISTLSolverGpuBridge.hpp:145 bool solve(Vector &x) Solve the system of equations Ax = b. Definition: ISTLSolverGpuBridge.hpp:234 typename SparseMatrixAdapter::IstlMatrix Matrix Definition: ISTLSolverGpuBridge.hpp:114 void prepare(const Matrix &M, Vector &b) Prepare the solver with the given matrix and right-hand side vector. Definition: ISTLSolverGpuBridge.hpp:187 void setResidual(Vector &) Set the residual vector. Definition: ISTLSolverGpuBridge.hpp:219 std::unique_ptr< detail::GpuSolverInfo< Matrix, Vector > > gpuBridge_ Definition: ISTLSolverGpuBridge.hpp:278 void getResidual(Vector &b) const Get the residual vector. Definition: ISTLSolverGpuBridge.hpp:224 Definition: ISTLSolver.hpp:147 GetPropType< TypeTag, Properties::Scalar > Scalar Definition: ISTLSolver.hpp:150 std::vector< FlowLinearSolverParameters > parameters_ Definition: ISTLSolver.hpp:645 GetPropType< TypeTag, Properties::GridView > GridView Definition: ISTLSolver.hpp:149 Dune::InverseOperator< Vector, Vector > AbstractSolverType Definition: ISTLSolver.hpp:159 GetPropType< TypeTag, Properties::WellModel > WellModel Definition: ISTLSolver.hpp:154 void prepare(const SparseMatrixAdapter &M, Vector &b) override Prepare the solver with the given sparse matrix and right-hand side vector. Definition: ISTLSolver.hpp:359 bool checkConvergence(const Dune::InverseOperatorResult &result) const Definition: ISTLSolver.hpp:456 GetPropType< TypeTag, Properties::ThreadManager > ThreadManager Definition: ISTLSolver.hpp:157 GetPropType< TypeTag, Properties::ElementMapper > ElementMapper Definition: ISTLSolver.hpp:163 void initPrepare(const Matrix &M, Vector &b) Definition: ISTLSolver.hpp:331 std::vector< detail::FlexibleSolverInfo< Matrix, Vector, CommunicationType > > flexibleSolver_ Definition: ISTLSolver.hpp:637 Dune::AssembledLinearOperator< Matrix, Vector, Vector > AbstractOperatorType Definition: ISTLSolver.hpp:160 Dune::AssembledLinearOperator< Matrix, Vector, Vector > AssembledLinearOperatorType Definition: ISTLSolver.hpp:176 GetPropType< TypeTag, Properties::Simulator > Simulator Definition: ISTLSolver.hpp:155 GetPropType< TypeTag, Properties::Indices > Indices Definition: ISTLSolver.hpp:153 bool solve(Vector &x) override Solve the system of equations Ax = b. Definition: ISTLSolver.hpp:398 GetPropType< TypeTag, Properties::ElementContext > ElementContext Definition: ISTLSolver.hpp:158 Definition: WellContributions.hpp:51 Definition: WellOperators.hpp:70 void writeSystem(const SimulatorType &simulator, const MatrixType &matrix, const VectorType &rhs, const std::string &sysName, const Communicator *comm) Definition: WriteSystemMatrixHelper.hpp:196 Definition: blackoilboundaryratevector.hh:39 Dune::InverseOperatorResult InverseOperatorResult Definition: GpuBridge.hpp:32 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:233 This class carries all parameters for the NewtonIterationBlackoilInterleaved class. Definition: FlowLinearSolverParameters.hpp:95 Definition: ISTLSolverGpuBridge.hpp:43 std::function< void(WellContributions< Scalar > &)> WellContribFunc Definition: ISTLSolverGpuBridge.hpp:45 GpuSolverInfo(const std::string &accelerator_mode, const int linear_solver_verbosity, const int maxit, const Scalar tolerance, const int platformID, const int deviceID, const bool opencl_ilu_parallel, const std::string &linsolver) void prepare(const Grid &grid, const Dune::CartesianIndexMapper< Grid > &cartMapper, const std::vector< Well > &wellsForConn, const std::unordered_map< std::string, std::set< int > > &possibleFutureConnections, const std::vector< int > &cellPartition, const std::size_t nonzeroes, const bool useWellConn) ~GpuSolverInfo() int numJacobiBlocks_ Definition: ISTLSolverGpuBridge.hpp:78 typename Vector::field_type Scalar Definition: ISTLSolverGpuBridge.hpp:44 bool gpuActive() bool apply(Vector &rhs, const bool useWellConn, WellContribFunc getContribs, const int rank, Matrix &matrix, Vector &x, Dune::InverseOperatorResult &result) |