|
| StandardWellEquations (const ParallelWellInfo ¶llel_well_info) |
|
void | init (const int num_cells, const int numWellEq, const int numPerfs, const std::vector< int > &cells) |
| Setup sparsity pattern for the matrices. More...
|
|
void | clear () |
| Set all coefficients to 0.
|
|
void | apply (const BVector &x, BVector &Ax) const |
| Apply linear operator to vector.
|
|
void | apply (BVector &r) const |
| Apply linear operator to vector.
|
|
void | solve (BVectorWell &dx_well) const |
| Apply inverted D matrix to residual and store in vector.
|
|
void | invert () |
| Invert D matrix.
|
|
void | recoverSolutionWell (const BVector &x, BVectorWell &xw) const |
| Recover well solution. More...
|
|
void | extract (const int numStaticWellEq, WellContributions &wellContribs) const |
| Add the matrices of this well to the WellContributions object.
|
|
template<class SparseMatrixAdapter > |
void | extract (SparseMatrixAdapter &jacobian) const |
| Add the matrices of this well to the sparse matrix adapter.
|
|
template<class PressureMatrix > |
void | extractCPRPressureMatrix (PressureMatrix &jacobian, const BVector &weights, const int pressureVarIndex, const bool use_well_weights, const WellInterfaceGeneric &well, const int bhp_var_index, const WellState &well_state) const |
| Extract CPR pressure matrix.
|
|
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.
|
|
const BVectorWell & | residual () const |
| Returns a const reference to the residual.
|
|