proteus  1.8.1
C/C++/Fortran libraries
Functions
SubsurfaceTransportCoefficients.cpp File Reference
#include "SubsurfaceTransportCoefficients.h"
#include "pskRelations.h"
#include "densityRelations.h"
Include dependency graph for SubsurfaceTransportCoefficients.cpp:

Go to the source code of this file.

Functions

int findInterval (const double *vertices, int nv, double x, int *ival, double tol)
 
void piecewiseLinearTableLookup (double x, int nv, int *start, double *y, double *dy, const double *xv, const double *yv)
 
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 *interiorElementBoundariesArray, const int *exteriorElementBoundariesArray, const int *elementBoundaryElementsArray, const int *elementBoundaryLocalElementBoundariesArray, const double *n, const double *q_u, const double *dV, const int *isDOFBoundary, const double *bc_u, double *flux)
 

Function Documentation

◆ 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 *  interiorElementBoundariesArray,
const int *  exteriorElementBoundariesArray,
const int *  elementBoundaryElementsArray,
const int *  elementBoundaryLocalElementBoundariesArray,
const double *  n,
const double *  q_u,
const double *  dV,
const int *  isDOFBoundary,
const double *  bc_u,
double *  flux 
)

Definition at line 345 of file SubsurfaceTransportCoefficients.cpp.

◆ findInterval()

int findInterval ( const double *  vertices,
int  nv,
double  x,
int *  ival,
double  tol 
)

Definition at line 8 of file SubsurfaceTransportCoefficients.cpp.

◆ piecewiseLinearTableLookup()

void piecewiseLinearTableLookup ( double  x,
int  nv,
int *  start,
double *  y,
double *  dy,
const double *  xv,
const double *  yv 
)

Definition at line 62 of file SubsurfaceTransportCoefficients.cpp.