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

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

Public Member Functions

 cppAddedMass ()
 
void evaluateCoefficients (const double &rho, double &a)
 
void exteriorNumericalDiffusiveFlux (const double n[nSpace], const double a[nSpace], int isBodyBoundary, double &flux)
 
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 *q_rho, 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, int *u_l2g, double *u_dof, double *q_rho, double *elementJacobian_u_u, double *element_u, int eN)
 
void calculateJacobian (xt::pyarray< double > &mesh_trial_ref, xt::pyarray< double > &mesh_grad_trial_ref, xt::pyarray< double > &mesh_dof, xt::pyarray< int > &mesh_l2g, xt::pyarray< double > &dV_ref, xt::pyarray< double > &u_trial_ref, xt::pyarray< double > &u_grad_trial_ref, xt::pyarray< double > &u_test_ref, xt::pyarray< double > &u_grad_test_ref, xt::pyarray< double > &mesh_trial_trace_ref, xt::pyarray< double > &mesh_grad_trial_trace_ref, xt::pyarray< double > &dS_ref, xt::pyarray< double > &u_trial_trace_ref, xt::pyarray< double > &u_grad_trial_trace_ref, xt::pyarray< double > &u_test_trace_ref, xt::pyarray< double > &u_grad_test_trace_ref, xt::pyarray< double > &normal_ref, xt::pyarray< double > &boundaryJac_ref, int nElements_global, xt::pyarray< int > &u_l2g, xt::pyarray< double > &u_dof, xt::pyarray< double > &q_rho, xt::pyarray< int > &csrRowIndeces_u_u, xt::pyarray< int > &csrColumnOffsets_u_u, xt::pyarray< double > &globalJacobian, int nExteriorElementBoundaries_global, xt::pyarray< int > &exteriorElementBoundariesArray, xt::pyarray< int > &elementBoundaryElementsArray, xt::pyarray< int > &elementBoundaryLocalElementBoundariesArray, xt::pyarray< int > &csrColumnOffsets_eb_u_u)
 
- Public Member Functions inherited from proteus::cppAddedMass_base
virtual ~cppAddedMass_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::cppAddedMass< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >

Definition at line 100 of file AddedMass.h.

Constructor & Destructor Documentation

◆ cppAddedMass()

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

Definition at line 105 of file AddedMass.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::cppAddedMass< 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 *  q_rho,
double *  elementJacobian_u_u,
double *  element_u,
int  eN 
)
inline

Definition at line 553 of file AddedMass.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::cppAddedMass< 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 *  q_rho,
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 130 of file AddedMass.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::cppAddedMass< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateJacobian ( xt::pyarray< double > &  mesh_trial_ref,
xt::pyarray< double > &  mesh_grad_trial_ref,
xt::pyarray< double > &  mesh_dof,
xt::pyarray< int > &  mesh_l2g,
xt::pyarray< double > &  dV_ref,
xt::pyarray< double > &  u_trial_ref,
xt::pyarray< double > &  u_grad_trial_ref,
xt::pyarray< double > &  u_test_ref,
xt::pyarray< double > &  u_grad_test_ref,
xt::pyarray< double > &  mesh_trial_trace_ref,
xt::pyarray< double > &  mesh_grad_trial_trace_ref,
xt::pyarray< double > &  dS_ref,
xt::pyarray< double > &  u_trial_trace_ref,
xt::pyarray< double > &  u_grad_trial_trace_ref,
xt::pyarray< double > &  u_test_trace_ref,
xt::pyarray< double > &  u_grad_test_trace_ref,
xt::pyarray< double > &  normal_ref,
xt::pyarray< double > &  boundaryJac_ref,
int  nElements_global,
xt::pyarray< int > &  u_l2g,
xt::pyarray< double > &  u_dof,
xt::pyarray< double > &  q_rho,
xt::pyarray< int > &  csrRowIndeces_u_u,
xt::pyarray< int > &  csrColumnOffsets_u_u,
xt::pyarray< double > &  globalJacobian,
int  nExteriorElementBoundaries_global,
xt::pyarray< int > &  exteriorElementBoundariesArray,
xt::pyarray< int > &  elementBoundaryElementsArray,
xt::pyarray< int > &  elementBoundaryLocalElementBoundariesArray,
xt::pyarray< int > &  csrColumnOffsets_eb_u_u 
)
inlinevirtual

Implements proteus::cppAddedMass_base.

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

Implements proteus::cppAddedMass_base.

Definition at line 268 of file AddedMass.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::cppAddedMass< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::evaluateCoefficients ( const double &  rho,
double &  a 
)
inline

Definition at line 110 of file AddedMass.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::cppAddedMass< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::exteriorNumericalDiffusiveFlux ( const double  n[nSpace],
const double  a[nSpace],
int  isBodyBoundary,
double &  flux 
)
inline

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

Definition at line 104 of file AddedMass.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::cppAddedMass< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::nDOF_test_X_trial_element

Definition at line 103 of file AddedMass.h.


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