MultisegmentWellEquations.hpp
Go to the documentation of this file.
42template<class Scalar, typename IndexTraits, int numWellEq, int numEq> class MultisegmentWellEquationAccess;
73 MultisegmentWellEquations(const MultisegmentWellGeneric<Scalar, IndexTraits>& well, const ParallelWellInfo<Scalar>& pw_info);
Definition: MultisegmentWellEquations.hpp:42 Definition: MultisegmentWellEquations.hpp:52 Dune::FieldVector< Scalar, numWellEq > VectorBlockWellType Definition: MultisegmentWellEquations.hpp:59 void sumDistributed(Parallel::Communication comm) Sum with off-process contribution. BVectorWell solve(const BVectorWell &rhs) const Apply inverted D matrix to rhs and return result. Dune::BCRSMatrix< DiagMatrixBlockWellType > DiagMatWell Definition: MultisegmentWellEquations.hpp:67 MultisegmentWellEquations(const MultisegmentWellGeneric< Scalar, IndexTraits > &well, const ParallelWellInfo< Scalar > &pw_info) Dune::FieldMatrix< Scalar, numWellEq, numEq > OffDiagMatrixBlockWellType Definition: MultisegmentWellEquations.hpp:70 const BVectorWell & residual() const Returns a const reference to the residual. Definition: MultisegmentWellEquations.hpp:130 Dune::BCRSMatrix< OffDiagMatrixBlockWellType > OffDiagMatWell Definition: MultisegmentWellEquations.hpp:71 void extractCPRPressureMatrix(PressureMatrix &jacobian, const BVector &weights, const int pressureVarIndex, const bool, const WellInterfaceGeneric< Scalar, IndexTraits > &well, const int seg_pressure_var_ind, const WellState< Scalar, IndexTraits > &well_state) const Extract CPR pressure matrix. BVectorWell solve() const Apply inverted D matrix to residual and return result. Dune::BlockVector< VectorBlockWellType > BVectorWell Definition: MultisegmentWellEquations.hpp:60 void extract(SparseMatrixAdapter &jacobian) const Add the matrices of this well to the sparse matrix adapter. void apply(const BVector &x, BVector &Ax) const Apply linear operator to vector. void createSolver() Compute the LU-decomposition of D matrix. Dune::FieldMatrix< Scalar, numWellEq, numWellEq > DiagMatrixBlockWellType Definition: MultisegmentWellEquations.hpp:66 Dune::FieldVector< Scalar, numEq > VectorBlockType Definition: MultisegmentWellEquations.hpp:62 void init(const int numPerfs, const std::vector< int > &cells, const std::vector< std::vector< int > > &segment_inlets, const std::vector< std::vector< int > > &segment_perforations) Setup sparsity pattern for the matrices. Dune::BlockVector< VectorBlockType > BVector Definition: MultisegmentWellEquations.hpp:63 void recoverSolutionWell(const BVector &x, BVectorWell &xw) const Recover well solution. Definition: MultisegmentWellGeneric.hpp:39 Class encapsulating some information about parallel wells. Definition: ParallelWellInfo.hpp:198 Definition: WellContributions.hpp:51 Definition: WellInterfaceGeneric.hpp:53 Definition: WellState.hpp:66 Definition: fvbaseprimaryvariables.hh:141 Dune::Communication< MPIComm > Communication Definition: ParallelCommunication.hpp:30 Definition: blackoilboundaryratevector.hh:39 |