proteus  1.8.1
C/C++/Fortran libraries
SubsurfaceTransportCoefficients.h
Go to the documentation of this file.
1 #ifndef SUBSURFACE_TRANSPORT_COEFFICIENTS_H
2 #define SUBSURFACE_TRANSPORT_COEFFICIENTS_H
3 
4 int findInterval(const double* vertices, int nv, double x, int* ival, double tol);
5 
6 void piecewiseLinearTableLookup(double x,
7  int nv,
8  int* start,
9  double* y,
10  double* dy,
11  const double* xv,
12  const double* yv);
13 
15  int nSpace,
16  //physical information
17  //psk type
18  int pskModelFlag,
19  int nParams,
20  const int* rowptr,
21  const int* colind,
22  const int* materialTypes,
23  double muw,
24  double mun,
25  const double* omega,
26  const double* Kbar,
27  double b,
28  const double* rwork_psk,
29  const double* rwork_psk_tol,
30  const double* rwork_density_w,
31  const double* rwork_density_n,
32  const double* g,
33  //velocity at interface
34  const double* ebq_global_qt,
35  //bounds on characteristic speed for elements
36  const double* q_lambda_bar,
37  //mesh information
38  int nElements_global,
39  int nElementBoundaries_element,
40  int nInteriorElementBoundaries_global,
41  int nExteriorElementBoundaries_global,
42  int nQuadraturePoints_element,
43  int nQuadraturePoints_elementBoundary,
44  const int* interiorElementBoundaries,
45  const int* exteriorElementBoundaries,
46  const int* elementBoundaryElements,
47  const int* elementBoundaryLocalElementBoundaries,
48  const double* n,
49  //solution information
50  const double * q_u,
51  //element quadrature
52  const double* q_dV,
53  //int nDOF_trial_element,
54  //const int* u_l2g,
55  //const double* u_dof,
56  //boundary information
57  const int * isDOFBoundary,
58  const double* bc_u,
59  //output
60  double* flux);
61 
62 #endif
calculateRusanovFluxSaturationEquationIncomp_PWC
int calculateRusanovFluxSaturationEquationIncomp_PWC(double safetyFactor, int nSpace, int pskModelFlag, int nParams, const int *rowptr, const int *colind, const int *materialTypes, double muw, double mun, const double *omega, const double *Kbar, double b, const double *rwork_psk, const double *rwork_psk_tol, const double *rwork_density_w, const double *rwork_density_n, const double *g, const double *ebq_global_qt, const double *q_lambda_bar, int nElements_global, int nElementBoundaries_element, int nInteriorElementBoundaries_global, int nExteriorElementBoundaries_global, int nQuadraturePoints_element, int nQuadraturePoints_elementBoundary, const int *interiorElementBoundaries, const int *exteriorElementBoundaries, const int *elementBoundaryElements, const int *elementBoundaryLocalElementBoundaries, const double *n, const double *q_u, const double *q_dV, const int *isDOFBoundary, const double *bc_u, double *flux)
Definition: SubsurfaceTransportCoefficients.cpp:345
n
Int n
Definition: Headers.h:28
piecewiseLinearTableLookup
void piecewiseLinearTableLookup(double x, int nv, int *start, double *y, double *dy, const double *xv, const double *yv)
Definition: SubsurfaceTransportCoefficients.cpp:62
findInterval
int findInterval(const double *vertices, int nv, double x, int *ival, double tol)
Definition: SubsurfaceTransportCoefficients.cpp:8