Simplified filling of WellContributions object. Added comments

This commit is contained in:
T.D. (Tongdong) Qiu
2020-03-19 11:08:11 +01:00
parent fdcf46792a
commit 8223cd1db8
5 changed files with 123 additions and 99 deletions

View File

@@ -2789,11 +2789,9 @@ namespace Opm
template<typename TypeTag>
void
StandardWell<TypeTag>::
getWellSizes(unsigned int& _nnzs, unsigned int& _numEq, unsigned int& _numWellEq) const
getNumBlocks(unsigned int& numBlocks) const
{
_nnzs = duneB_.nonzeroes();
_numEq = numEq;
_numWellEq = numStaticWellEq;
numBlocks = duneB_.nonzeroes();
}
#endif