20 #ifndef OPM_HYBSYS_GLOBAL_HEADER_INCLUDED 21 #define OPM_HYBSYS_GLOBAL_HEADER_INCLUDED 95 #include <opm/core/grid.h> 198 int ngconn,
const int *gconn,
199 int nwconn,
const int *wconn,
Basic compressed-sparse row (CSR) matrix data structure.
Definition: sparse_sys.h:38
struct CSRMatrix * hybsys_define_globconn(struct UnstructuredGrid *G, well_t *W)
Construct sparse matrix capable of managing a (reduced) hybrid system of simultaneous linear equation...
Definition: hybsys_global.c:273
void hybsys_global_assemble_well_sym(int ngconn_tot, int ngconn, const int *gconn, int nwconn, const int *wconn, const double *r2w, const double *w2w, const double *r, struct CSRMatrix *A, double *b)
Assemble local contributions from single cell's well connections (perforations) into global system of...
Definition: hybsys_global.c:374
void hybsys_global_assemble_cell(int nconn, int *l2g, const double *S, const double *r, struct CSRMatrix *A, double *b)
Assemble local contributions into global system of simultaneous linear equations. ...
Definition: hybsys_global.c:343
Data structure and operations to manage sparse matrices in CSR formats.
Deprecated (and obsolescent) well definition.
Basic representation of well topology.
Definition: legacy_well.h:52