StandardWellEquations.hpp
Go to the documentation of this file.
Class encapsulating some information about parallel wells. Definition: ParallelWellInfo.hpp:186 Definition: StandardWellEquations.hpp:38 Definition: StandardWellEquations.hpp:47 Dune::DynamicVector< Scalar > VectorBlockWellType Definition: StandardWellEquations.hpp:54 Dune::DynamicMatrix< Scalar > DiagMatrixBlockWellType Definition: StandardWellEquations.hpp:58 Dune::BCRSMatrix< OffDiagMatrixBlockWellType > OffDiagMatWell Definition: StandardWellEquations.hpp:63 const BVectorWell & residual() const Returns a const reference to the residual. Definition: StandardWellEquations.hpp:129 void extract(SparseMatrixAdapter &jacobian) const Add the matrices of this well to the sparse matrix adapter. void solve(const BVectorWell &rhs_well, BVectorWell &x_well) const Apply inverted D matrix to rhs and store in vector. StandardWellEquations(const ParallelWellInfo< Scalar > ¶llel_well_info) void extractCPRPressureMatrix(PressureMatrix &jacobian, const BVector &weights, const int pressureVarIndex, const bool use_well_weights, const WellInterfaceGeneric< Scalar > &well, const int bhp_var_index, const WellState< Scalar > &well_state) const Extract CPR pressure matrix. void apply(const BVector &x, BVector &Ax) const Apply linear operator to vector. Dune::BlockVector< VectorBlockWellType > BVectorWell Definition: StandardWellEquations.hpp:55 Dune::BCRSMatrix< DiagMatrixBlockWellType > DiagMatWell Definition: StandardWellEquations.hpp:59 void init(const int num_cells, const int numWellEq, const int numPerfs, const std::vector< int > &cells) Setup sparsity pattern for the matrices. unsigned int getNumBlocks() const Get the number of blocks of the C and B matrices. void sumDistributed(Parallel::Communication comm) Sum with off-process contribution. void solve(BVectorWell &dx_well) const Apply inverted D matrix to residual and store in vector. Dune::BlockVector< Dune::FieldVector< Scalar, numEq > > BVector Definition: StandardWellEquations.hpp:66 void recoverSolutionWell(const BVector &x, BVectorWell &xw) const Recover well solution. Dune::DynamicMatrix< Scalar > OffDiagMatrixBlockWellType Definition: StandardWellEquations.hpp:62 Definition: WellContributions.hpp:53 Definition: WellInterfaceGeneric.hpp:51 Definition: WellState.hpp:62 A wrapper around the B matrix for distributed wells. Definition: WellHelpers.hpp:51 Dune::Communication< MPIComm > Communication Definition: ParallelCommunication.hpp:30 Definition: blackoilboundaryratevector.hh:37 |