opm-grid
Toggle main menu visibility
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
27
28
#include <
opm/grid/UnstructuredGrid.h
>
29
30
#ifdef __cplusplus
31
extern
"C"
{
32
#endif
33
52
void
53
tpfa_htrans_compute
(
struct
UnstructuredGrid
*G ,
54
const
double
*perm ,
55
double
*htrans);
56
75
void
76
tpfa_trans_compute
(
struct
UnstructuredGrid
*G ,
77
const
double
*htrans,
78
double
*trans );
79
100
void
101
tpfa_eff_trans_compute
(
struct
UnstructuredGrid
*G ,
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 */
UnstructuredGrid.h
Main OPM-Core grid data structure along with helper functions for construction, destruction and readi...
UnstructuredGrid
Data structure for an unstructured grid, unstructured meaning that any cell may have an arbitrary num...
Definition
UnstructuredGrid.h:101
tpfa_eff_trans_compute
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
tpfa_htrans_compute
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
tpfa_trans_compute
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
opm
grid
transmissibility
trans_tpfa.h
Generated by
1.17.0