|
MultisegmentWellEquations.hpp
Go to the documentation of this file.
43template<class Scalar, typename IndexTraits, int numWellEq, int numEq> class MultisegmentWellEquationAccess;
74 MultisegmentWellEquations(const MultisegmentWellGeneric<Scalar, IndexTraits>& well, const ParallelWellInfo<Scalar>& parallel_well_info);
Definition: MultisegmentWellEquations.hpp:43 Definition: MultisegmentWellEquations.hpp:53 Dune::FieldVector< Scalar, numWellEq > VectorBlockWellType Definition: MultisegmentWellEquations.hpp:60 void sumDistributed(Parallel::Communication comm) Sum with off-process contribution. 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, const ParallelWellInfo< Scalar > ¶llel_well_info) Setup sparsity pattern for the matrices. BVectorWell solve(const BVectorWell &rhs) const Apply inverted D matrix to rhs and return result. Dune::BCRSMatrix< DiagMatrixBlockWellType > DiagMatWell Definition: MultisegmentWellEquations.hpp:68 Dune::FieldMatrix< Scalar, numWellEq, numEq > OffDiagMatrixBlockWellType Definition: MultisegmentWellEquations.hpp:71 const BVectorWell & residual() const Returns a const reference to the residual. Definition: MultisegmentWellEquations.hpp:133 Dune::BCRSMatrix< OffDiagMatrixBlockWellType > OffDiagMatWell Definition: MultisegmentWellEquations.hpp:72 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:61 void extract(SparseMatrixAdapter &jacobian) const Add the matrices of this well to the sparse matrix adapter. MultisegmentWellEquations(const MultisegmentWellGeneric< Scalar, IndexTraits > &well, const ParallelWellInfo< Scalar > ¶llel_well_info) 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:67 Dune::FieldVector< Scalar, numEq > VectorBlockType Definition: MultisegmentWellEquations.hpp:63 Dune::BlockVector< VectorBlockType > BVector Definition: MultisegmentWellEquations.hpp:64 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:161 Dune::Communication< MPIComm > Communication Definition: ParallelCommunication.hpp:30 Definition: blackoilbioeffectsmodules.hh:43 |