hybsys_global.h
Go to the documentation of this file.
1 /*
2  Copyright 2010 SINTEF ICT, Applied Mathematics.
3 
4  This file is part of the Open Porous Media project (OPM).
5 
6  OPM is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (at your option) any later version.
10 
11  OPM is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with OPM. If not, see <http://www.gnu.org/licenses/>.
18 */
19 
20 #ifndef OPM_HYBSYS_GLOBAL_HEADER_INCLUDED
21 #define OPM_HYBSYS_GLOBAL_HEADER_INCLUDED
22 
91 #ifdef __cplusplus
92 extern "C" {
93 #endif
94 
95 #include <opm/core/grid.h>
98 
99 
123 struct CSRMatrix *
125 
126 
150 void
151 hybsys_global_assemble_cell(int nconn, int *l2g,
152  const double *S,
153  const double *r,
154  struct CSRMatrix *A,
155  double *b);
156 
157 
196 void
197 hybsys_global_assemble_well_sym(int ngconn_tot,
198  int ngconn, const int *gconn,
199  int nwconn, const int *wconn,
200  const double *r2w,
201  const double *w2w,
202  const double *r,
203  struct CSRMatrix *A,
204  double *b);
205 
206 
207 
208 #ifdef __cplusplus
209 }
210 #endif
211 
212 #endif /* OPM_HYBSYS_GLOBAL_HEADER_INCLUDED */
Definition: sparse_sys.h:38
Definition: grid.h:98
void hybsys_global_assemble_cell(int nconn, int *l2g, const double *S, const double *r, struct CSRMatrix *A, double *b)
struct CSRMatrix * hybsys_define_globconn(struct UnstructuredGrid *G, well_t *W)
Definition: legacy_well.h:52
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)