compr_quant_general.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_COMPR_QUANT_HEADER_INCLUDED
21 #define OPM_COMPR_QUANT_HEADER_INCLUDED
22 
23 #include <stddef.h>
24 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
46  int nphases;
47 
61  double *Ac;
62 
73  double *dAc;
74 
79  double *Af;
80 
85  double *phasemobf;
86 
91  double *voldiscr;
92 };
93 
94 
109 struct compr_quantities_gen *
110 compr_quantities_gen_allocate(size_t nc, size_t nf, int np);
111 
112 
128 void
130 
131 #ifdef __cplusplus
132 }
133 #endif
134 
135 #endif /* OPM_COMPR_QUANT_HEADER_INCLUDED */
double * Af
Definition: compr_quant_general.h:79
double * voldiscr
Definition: compr_quant_general.h:91
int nphases
Definition: compr_quant_general.h:46
double * phasemobf
Definition: compr_quant_general.h:85
double * Ac
Definition: compr_quant_general.h:61
Definition: compr_quant_general.h:40
double * dAc
Definition: compr_quant_general.h:73
struct compr_quantities_gen * compr_quantities_gen_allocate(size_t nc, size_t nf, int np)
void compr_quantities_gen_deallocate(struct compr_quantities_gen *cq)