BdaBridge.hpp
Go to the documentation of this file.
44 std::shared_ptr<Accelerator::BlockedMatrix<Scalar>> matrix; // 'stores' matrix, actually points to h_rows, h_cols and the received BridgeMatrix for the nonzeroes
45 std::shared_ptr<Accelerator::BlockedMatrix<Scalar>> jacMatrix; // 'stores' preconditioner matrix, actually points to h_rows, h_cols and the received BridgeMatrix for the nonzeroes
48 std::vector<typename BridgeMatrix::size_type> diagIndices; // contains offsets of the diagonal blocks wrt start of the row, used for replaceZeroDiagonal()
BdaBridge acts as interface between opm-simulators with the BdaSolvers. Definition: BdaBridge.hpp:37 void get_result(BridgeVector &x) BdaBridge(std::string accelerator_mode, int linear_solver_verbosity, int maxit, Scalar tolerance, unsigned int platformID, unsigned int deviceID, bool opencl_ilu_parallel, std::string linsolver) void solve_system(BridgeMatrix *bridgeMat, BridgeMatrix *jacMat, int numJacobiBlocks, BridgeVector &b, WellContributions< Scalar > &wellContribs, InverseOperatorResult &result) std::string getAccleratorName() Return the selected accelerator mode, this is input via the command-line. Definition: BdaBridge.hpp:112 void initWellContributions(WellContributions< Scalar > &wellContribs, unsigned N) static void copySparsityPatternFromISTL(const BridgeMatrix &mat, std::vector< int > &h_rows, std::vector< int > &h_cols) Definition: WellContributions.hpp:53 Definition: blackoilboundaryratevector.hh:37 Dune::InverseOperatorResult InverseOperatorResult Definition: BdaBridge.hpp:32 |