My Project
Loading...
Searching...
No Matches
trans_tpfa.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_TRANS_TPFA_HEADER_INCLUDED
21#define OPM_TRANS_TPFA_HEADER_INCLUDED
22
29
30#ifdef __cplusplus
31extern "C" {
32#endif
33
52void
54 const double *perm ,
55 double *htrans);
56
75void
77 const double *htrans,
78 double *trans );
79
100void
102 const double *totmob,
103 const double *htrans,
104 double *trans );
105
106#ifdef __cplusplus
107}
108#endif
109
110#endif /* OPM_TRANS_TPFA_HEADER_INCLUDED */
Main OPM-Core grid data structure along with helper functions for construction, destruction and readi...
Data structure for an unstructured grid, unstructured meaning that any cell may have an arbitrary num...
Definition UnstructuredGrid.h:101
void tpfa_eff_trans_compute(struct UnstructuredGrid *G, const double *totmob, const double *htrans, double *trans)
Calculate effective two-point transmissibilities from one-sided, total mobility weighted,...
Definition trans_tpfa.c:105
void tpfa_htrans_compute(struct UnstructuredGrid *G, const double *perm, double *htrans)
Calculate static, one-sided transmissibilities for use in the two-point flux approximation method.
Definition trans_tpfa.c:19
void tpfa_trans_compute(struct UnstructuredGrid *G, const double *htrans, double *trans)
Compute two-point transmissibilities from one-sided transmissibilities.
Definition trans_tpfa.c:75