proteus  1.8.1
C/C++/Fortran libraries
Public Member Functions | Public Attributes | List of all members
proteus::cppPresInc< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary > Class Template Reference

#include </Users/cekees/proteus/proteus/mprans/PresInc.h>

Inheritance diagram for proteus::cppPresInc< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >:
[legend]
Collaboration diagram for proteus::cppPresInc< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >:
[legend]

Public Member Functions

 cppPresInc ()
 
void evaluateCoefficients (const double &alphaBDF, const double vf[nSpace], const double vs[nSpace], const double &vos, const double &rhos_min, const double &rhof_min, double f[nSpace], double &a)
 
void exteriorNumericalAdvectiveFlux (const int &isFluxBoundary, const double &bc_flux, const double n[nSpace], const double f[nSpace], double &flux)
 
void exteriorNumericalDiffusiveFlux (const int &isDOFBoundary, const int &isFluxBoundary, const double n[nSpace], const double &a, const double grad_potential[nSpace], const double &u, const double &bc_u, const double &bc_flux, const double &penalty, double &flux)
 
double ExteriorNumericalDiffusiveFluxJacobian (const int &isDOFBoundary, const int &isFluxBoundary, const double n[nSpace], const double &a, const double &v, const double grad_v[nSpace], const double &penalty)
 
void calculateElementResidual (double *mesh_trial_ref, double *mesh_grad_trial_ref, double *mesh_dof, int *mesh_l2g, double *dV_ref, double *u_trial_ref, double *u_grad_trial_ref, double *u_test_ref, double *u_grad_test_ref, double *mesh_trial_trace_ref, double *mesh_grad_trial_trace_ref, double *dS_ref, double *u_trial_trace_ref, double *u_grad_trial_trace_ref, double *u_test_trace_ref, double *u_grad_test_trace_ref, double *normal_ref, double *boundaryJac_ref, int nElements_global, int *u_l2g, double *u_dof, double alphaBDF, double *q_vf, double *q_divU, double *q_vs, double *q_vos, double rho_s, double *q_rho_f, double rho_s_min, double rho_f_min, double *ebqe_vf, double *ebqe_vs, double *ebqe_vos, double *ebqe_rho_f, double *q_u, double *q_grad_u, double *ebqe_u, double *ebqe_grad_u, int offset_u, int stride_u, double *elementResidual_u, int nExteriorElementBoundaries_global, int *exteriorElementBoundariesArray, int *elementBoundaryElementsArray, int *elementBoundaryLocalElementBoundariesArray, double *element_u, int eN, double compatibility_condition, int INTEGRATE_BY_PARTS_DIV_U, double *q_a)
 
void calculateResidual (arguments_dict &args)
 
void calculateElementJacobian (double *mesh_trial_ref, double *mesh_grad_trial_ref, double *mesh_dof, int *mesh_l2g, double *dV_ref, double *u_trial_ref, double *u_grad_trial_ref, double *u_test_ref, double *u_grad_test_ref, double *mesh_trial_trace_ref, double *mesh_grad_trial_trace_ref, double *dS_ref, double *u_trial_trace_ref, double *u_grad_trial_trace_ref, double *u_test_trace_ref, double *u_grad_test_trace_ref, double *normal_ref, double *boundaryJac_ref, int nElements_global, int *u_l2g, double *u_dof, double alphaBDF, double *q_vf, double *q_vs, double *q_vos, double rho_s, double *q_rho_f, double rho_s_min, double rho_f_min, double *elementJacobian_u_u, double *element_u, int eN)
 
void calculateJacobian (arguments_dict &args)
 
- Public Member Functions inherited from proteus::cppPresInc_base
virtual ~cppPresInc_base ()
 

Public Attributes

const int nDOF_test_X_trial_element
 
CompKernelType ck
 

Detailed Description

template<class CompKernelType, int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
class proteus::cppPresInc< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >

Definition at line 29 of file PresInc.h.

Constructor & Destructor Documentation

◆ cppPresInc()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
proteus::cppPresInc< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::cppPresInc ( )
inline

Definition at line 34 of file PresInc.h.

Member Function Documentation

◆ calculateElementJacobian()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
void proteus::cppPresInc< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateElementJacobian ( double *  mesh_trial_ref,
double *  mesh_grad_trial_ref,
double *  mesh_dof,
int *  mesh_l2g,
double *  dV_ref,
double *  u_trial_ref,
double *  u_grad_trial_ref,
double *  u_test_ref,
double *  u_grad_test_ref,
double *  mesh_trial_trace_ref,
double *  mesh_grad_trial_trace_ref,
double *  dS_ref,
double *  u_trial_trace_ref,
double *  u_grad_trial_trace_ref,
double *  u_test_trace_ref,
double *  u_grad_test_trace_ref,
double *  normal_ref,
double *  boundaryJac_ref,
int  nElements_global,
int *  u_l2g,
double *  u_dof,
double  alphaBDF,
double *  q_vf,
double *  q_vs,
double *  q_vos,
double  rho_s,
double *  q_rho_f,
double  rho_s_min,
double  rho_f_min,
double *  elementJacobian_u_u,
double *  element_u,
int  eN 
)
inline

Definition at line 595 of file PresInc.h.

◆ calculateElementResidual()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
void proteus::cppPresInc< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateElementResidual ( double *  mesh_trial_ref,
double *  mesh_grad_trial_ref,
double *  mesh_dof,
int *  mesh_l2g,
double *  dV_ref,
double *  u_trial_ref,
double *  u_grad_trial_ref,
double *  u_test_ref,
double *  u_grad_test_ref,
double *  mesh_trial_trace_ref,
double *  mesh_grad_trial_trace_ref,
double *  dS_ref,
double *  u_trial_trace_ref,
double *  u_grad_trial_trace_ref,
double *  u_test_trace_ref,
double *  u_grad_test_trace_ref,
double *  normal_ref,
double *  boundaryJac_ref,
int  nElements_global,
int *  u_l2g,
double *  u_dof,
double  alphaBDF,
double *  q_vf,
double *  q_divU,
double *  q_vs,
double *  q_vos,
double  rho_s,
double *  q_rho_f,
double  rho_s_min,
double  rho_f_min,
double *  ebqe_vf,
double *  ebqe_vs,
double *  ebqe_vos,
double *  ebqe_rho_f,
double *  q_u,
double *  q_grad_u,
double *  ebqe_u,
double *  ebqe_grad_u,
int  offset_u,
int  stride_u,
double *  elementResidual_u,
int  nExteriorElementBoundaries_global,
int *  exteriorElementBoundariesArray,
int *  elementBoundaryElementsArray,
int *  elementBoundaryLocalElementBoundariesArray,
double *  element_u,
int  eN,
double  compatibility_condition,
int  INTEGRATE_BY_PARTS_DIV_U,
double *  q_a 
)
inline

Definition at line 123 of file PresInc.h.

◆ calculateJacobian()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
void proteus::cppPresInc< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateJacobian ( arguments_dict args)
inlinevirtual

Implements proteus::cppPresInc_base.

Definition at line 713 of file PresInc.h.

◆ calculateResidual()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
void proteus::cppPresInc< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateResidual ( arguments_dict args)
inlinevirtual

Implements proteus::cppPresInc_base.

Definition at line 266 of file PresInc.h.

◆ evaluateCoefficients()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
void proteus::cppPresInc< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::evaluateCoefficients ( const double &  alphaBDF,
const double  vf[nSpace],
const double  vs[nSpace],
const double &  vos,
const double &  rhos_min,
const double &  rhof_min,
double  f[nSpace],
double &  a 
)
inline

Definition at line 39 of file PresInc.h.

◆ exteriorNumericalAdvectiveFlux()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
void proteus::cppPresInc< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::exteriorNumericalAdvectiveFlux ( const int &  isFluxBoundary,
const double &  bc_flux,
const double  n[nSpace],
const double  f[nSpace],
double &  flux 
)
inline

Definition at line 58 of file PresInc.h.

◆ exteriorNumericalDiffusiveFlux()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
void proteus::cppPresInc< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::exteriorNumericalDiffusiveFlux ( const int &  isDOFBoundary,
const int &  isFluxBoundary,
const double  n[nSpace],
const double &  a,
const double  grad_potential[nSpace],
const double &  u,
const double &  bc_u,
const double &  bc_flux,
const double &  penalty,
double &  flux 
)
inline

Definition at line 75 of file PresInc.h.

◆ ExteriorNumericalDiffusiveFluxJacobian()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
double proteus::cppPresInc< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::ExteriorNumericalDiffusiveFluxJacobian ( const int &  isDOFBoundary,
const int &  isFluxBoundary,
const double  n[nSpace],
const double &  a,
const double &  v,
const double  grad_v[nSpace],
const double &  penalty 
)
inline

Definition at line 105 of file PresInc.h.

Member Data Documentation

◆ ck

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
CompKernelType proteus::cppPresInc< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::ck

Definition at line 33 of file PresInc.h.

◆ nDOF_test_X_trial_element

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
const int proteus::cppPresInc< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::nDOF_test_X_trial_element

Definition at line 32 of file PresInc.h.


The documentation for this class was generated from the following file: