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