WellContributions.hpp
Go to the documentation of this file.
55 static std::unique_ptr<WellContributions> create(const std::string& accelerator_mode, bool useWellConn);
70 unsigned int dim_wells; // number of rows in blocks in B and C, equal to StandardWell::numStaticWellEq
73 unsigned int num_ms_wells = 0; // number of MultisegmentWells in this object, must equal multisegments.size()
76 std::vector<unsigned int> val_pointers; // val_pointers[wellID] == index of first block for this well in Ccols and Bcols
Definition: WellContributions.hpp:53 void addMatrix(MatrixType type, int *colIndices, Scalar *values, unsigned int val_size) void addMultisegmentWellContribution(unsigned int dim, unsigned int dim_wells, unsigned int Mb, std::vector< Scalar > &Bvalues, std::vector< unsigned int > &BcolIndices, std::vector< unsigned int > &BrowPointers, unsigned int DnumBlocks, Scalar *Dvalues, UMFPackIndex *DcolPointers, UMFPackIndex *DrowIndices, std::vector< Scalar > &Cvalues) void setBlockSize(unsigned int dim, unsigned int dim_wells) void addNumBlocks(unsigned int numBlocks) SuiteSparse_long UMFPackIndex Definition: WellContributions.hpp:57 unsigned int num_std_wells_so_far Definition: WellContributions.hpp:75 void setVectorSize(unsigned N) virtual void APIaddMatrix(MatrixType, int *, Scalar *, unsigned int) Api specific upload of matrix. Definition: WellContributions.hpp:140 MatrixType StandardWell has C, D and B matrices that need to be copied. Definition: WellContributions.hpp:59 std::vector< std::unique_ptr< MultisegmentWellContribution< Scalar > > > multisegments Definition: WellContributions.hpp:78 unsigned int num_blocks_so_far Definition: WellContributions.hpp:74 static std::unique_ptr< WellContributions > create(const std::string &accelerator_mode, bool useWellConn) virtual void APIalloc() API specific allocation. Definition: WellContributions.hpp:137 std::vector< unsigned int > val_pointers Definition: WellContributions.hpp:76 Definition: blackoilboundaryratevector.hh:37 |