proteus  1.8.1
C/C++/Fortran libraries
Public Member Functions | Public Attributes | List of all members
proteus::cppPresInit< 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/PresInit.h>

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

Public Member Functions

 cppPresInit ()
 
double smoothedHeaviside (double eps, double phi)
 
double smoothedHeaviside_integral (double eps, double phi)
 
double smoothedDirac (double eps, double phi)
 
void evaluateCoefficients (const double &epsHeaviside, const double &epsDirac, const double &phi, const double &H, const double &u, const double &porosity, double &r, double &dr)
 
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, double useMetrics, double epsFactHeaviside, double epsFactDirac, double epsFactDiffusion, int *u_l2g, double *elementDiameter, double *nodeDiametersArray, double *u_dof, double *q_phi, double *q_normal_phi, double *ebqe_phi, double *ebqe_normal_phi, double *q_H, double *q_u, double *q_n, double *ebqe_u, double *ebqe_n, double *q_r, double *q_vos, int offset_u, int stride_u, double *elementResidual_u, int nExteriorElementBoundaries_global, int *exteriorElementBoundariesArray, int *elementBoundaryElementsArray, int *elementBoundaryLocalElementBoundariesArray, double *element_u, int eN)
 
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, double useMetrics, double epsFactHeaviside, double epsFactDirac, double epsFactDiffusion, int *u_l2g, double *elementDiameter, double *nodeDiametersArray, double *u_dof, double *q_phi, double *q_normal_phi, double *q_H, double *q_vos, double *elementJacobian_u_u, double *element_u, int eN)
 
void calculateJacobian (arguments_dict &args)
 
- Public Member Functions inherited from proteus::cppPresInit_base
virtual ~cppPresInit_base ()
 

Public Attributes

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::cppPresInit< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >

Definition at line 29 of file PresInit.h.

Constructor & Destructor Documentation

◆ cppPresInit()

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::cppPresInit< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::cppPresInit ( )
inline

Definition at line 33 of file PresInit.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::cppPresInit< 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,
double  useMetrics,
double  epsFactHeaviside,
double  epsFactDirac,
double  epsFactDiffusion,
int *  u_l2g,
double *  elementDiameter,
double *  nodeDiametersArray,
double *  u_dof,
double *  q_phi,
double *  q_normal_phi,
double *  q_H,
double *  q_vos,
double *  elementJacobian_u_u,
double *  element_u,
int  eN 
)
inline

Definition at line 460 of file PresInit.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::cppPresInit< 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,
double  useMetrics,
double  epsFactHeaviside,
double  epsFactDirac,
double  epsFactDiffusion,
int *  u_l2g,
double *  elementDiameter,
double *  nodeDiametersArray,
double *  u_dof,
double *  q_phi,
double *  q_normal_phi,
double *  ebqe_phi,
double *  ebqe_normal_phi,
double *  q_H,
double *  q_u,
double *  q_n,
double *  ebqe_u,
double *  ebqe_n,
double *  q_r,
double *  q_vos,
int  offset_u,
int  stride_u,
double *  elementResidual_u,
int  nExteriorElementBoundaries_global,
int *  exteriorElementBoundariesArray,
int *  elementBoundaryElementsArray,
int *  elementBoundaryLocalElementBoundariesArray,
double *  element_u,
int  eN 
)
inline

Definition at line 92 of file PresInit.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::cppPresInit< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateJacobian ( arguments_dict args)
inlinevirtual

Implements proteus::cppPresInit_base.

Definition at line 605 of file PresInit.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::cppPresInit< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateResidual ( arguments_dict args)
inlinevirtual

Implements proteus::cppPresInit_base.

Definition at line 258 of file PresInit.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::cppPresInit< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::evaluateCoefficients ( const double &  epsHeaviside,
const double &  epsDirac,
const double &  phi,
const double &  H,
const double &  u,
const double &  porosity,
double &  r,
double &  dr 
)
inline

Definition at line 79 of file PresInit.h.

◆ smoothedDirac()

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::cppPresInit< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::smoothedDirac ( double  eps,
double  phi 
)
inline

Definition at line 67 of file PresInit.h.

◆ smoothedHeaviside()

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::cppPresInit< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::smoothedHeaviside ( double  eps,
double  phi 
)
inline

Definition at line 35 of file PresInit.h.

◆ smoothedHeaviside_integral()

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::cppPresInit< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::smoothedHeaviside_integral ( double  eps,
double  phi 
)
inline

Definition at line 49 of file PresInit.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::cppPresInit< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::ck

Definition at line 32 of file PresInit.h.


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