Opm::MultisegmentWellContribution< Scalar > Class Template Reference
Detailed Descriptiontemplate<class Scalar> class Opm::MultisegmentWellContribution< Scalar > This class serves to duplicate the functionality of the MultisegmentWell A MultisegmentWell uses C, D and B and performs y -= (C^T * (D^-1 * (B*x))) B and C are matrices, with M rows and N columns, where N is the size of the matrix. They contain blocks of MultisegmentWell::numEq by MultisegmentWell::numWellEq. D is a MxM matrix, the square blocks have size MultisegmentWell::numWellEq. B*x and D*B*x are a vector with M*numWellEq doubles C*D*B*x is a vector with N*numEq doubles. Member Typedef Documentation◆ UMFPackIndex
template<class Scalar >
Constructor & Destructor Documentation◆ MultisegmentWellContribution()
template<class Scalar >
Create a new MultisegmentWellContribution Matrices C and B are passed in Blocked CSR, matrix D in CSC The variables representing C, B and D will go out of scope when MultisegmentWell::addWellContribution() ends
◆ ~MultisegmentWellContribution()
template<class Scalar >
Destroy a MultisegmentWellContribution, and free memory. Member Function Documentation◆ apply()
template<class Scalar >
Apply the MultisegmentWellContribution on CPU performs y -= (C^T * (D^-1 * (B*x))) for MultisegmentWell
The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||