compr_source.h
Go to the documentation of this file.
1/*===========================================================================
2//
3// File: compr_source.h
4//
5// Created: 2011-10-19 19:14:30+0200
6//
7// Authors: Ingeborg S. Ligaarden <Ingeborg.Ligaarden@sintef.no>
8// Jostein R. Natvig <Jostein.R.Natvig@sintef.no>
9// Halvor M. Nilsen <HalvorMoll.Nilsen@sintef.no>
10// Atgeirr F. Rasmussen <atgeirr@sintef.no>
11// Bård Skaflestad <Bard.Skaflestad@sintef.no>
12//
13//==========================================================================*/
14
15
16/*
17 Copyright 2011 SINTEF ICT, Applied Mathematics.
18 Copyright 2011 Statoil ASA.
19
20 This file is part of the Open Porous Media Project (OPM).
21
22 OPM is free software: you can redistribute it and/or modify
23 it under the terms of the GNU General Public License as published by
24 the Free Software Foundation, either version 3 of the License, or
25 (at your option) any later version.
26
27 OPM is distributed in the hope that it will be useful,
28 but WITHOUT ANY WARRANTY; without even the implied warranty of
29 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 GNU General Public License for more details.
31
32 You should have received a copy of the GNU General Public License
33 along with OPM. If not, see <http://www.gnu.org/licenses/>.
34*/
35
36#ifndef OPM_COMPR_SOURCE_H_HEADER
37#define OPM_COMPR_SOURCE_H_HEADER
38
45#ifdef __cplusplus
46extern "C" {
47#endif
48
52struct compr_src {
56 int nsrc;
57
62 int cpty;
63
68
73 int *cell;
74
82 double *flux;
83
90 double *saturation;
91};
92
93#ifdef __cplusplus
94}
95#endif
96
97#endif /* OPM_COMPR_SOURCE_H_HEADER */
Definition: compr_source.h:52
int * cell
Definition: compr_source.h:73
double * flux
Definition: compr_source.h:82
double * saturation
Definition: compr_source.h:90
int nphases
Definition: compr_source.h:67
int nsrc
Definition: compr_source.h:56
int cpty
Definition: compr_source.h:62