|
|
| StandardWellEquations (const ParallelWellInfo< Scalar > ¶llel_well_info) |
| void | init (const int numWellEq, const int numPerfs, const std::vector< int > &cells) |
| | Setup sparsity pattern for the matrices.
|
|
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 | solve (const BVectorWell &rhs_well, BVectorWell &x_well) const |
| | Apply inverted D matrix to rhs and store in vector.
|
|
void | invert () |
| | Invert D matrix.
|
| void | recoverSolutionWell (const BVector &x, BVectorWell &xw) const |
| | Recover well solution.
|
|
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< Scalar, IndexTraits > &well, const int bhp_var_index, const WellState< Scalar, IndexTraits > &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.
|