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