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

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

Public Member Functions

 MCorr ()
 
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_porosity, 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, bool useExact)
 
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_porosity, double *elementJacobian_u_u, double *element_u, int eN)
 
void calculateJacobian (arguments_dict &args, bool useExact)
 
void elementSolve (arguments_dict &args)
 
void elementConstantSolve (arguments_dict &args)
 
std::tuple< double, double > globalConstantRJ (arguments_dict &args)
 
double calculateMass (arguments_dict &args, bool useExact)
 
void setMassQuadrature (arguments_dict &args, bool useExact)
 
void FCTStep (arguments_dict &args)
 
void calculateElementMassMatrix (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_porosity, double *elementMassMatrix, double *elementLumpedMassMatrix, double *element_u, int eN)
 
void calculateMassMatrix (arguments_dict &args)
 
void setMassQuadratureEdgeBasedStabilizationMethods (arguments_dict &args, bool useExact)
 
- Public Member Functions inherited from proteus::MCorr_base
virtual ~MCorr_base ()
 

Public Attributes

CompKernelType ck
 
GeneralizedFunctions< nSpace, 2, nQuadraturePoints_element, nQuadraturePoints_elementBoundary > gf
 
GeneralizedFunctions< nSpace, 2, nDOF_trial_element, nQuadraturePoints_elementBoundary > gf_nodes
 
- Public Attributes inherited from proteus::MCorr_base
std::valarray< double > Rpos
 
std::valarray< double > Rneg
 
std::valarray< double > FluxCorrectionMatrix
 

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

Definition at line 49 of file MCorr.h.

Constructor & Destructor Documentation

◆ MCorr()

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

Definition at line 55 of file MCorr.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::MCorr< 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_porosity,
double *  elementJacobian_u_u,
double *  element_u,
int  eN 
)
inline

Definition at line 467 of file MCorr.h.

◆ calculateElementMassMatrix()

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::MCorr< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateElementMassMatrix ( 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_porosity,
double *  elementMassMatrix,
double *  elementLumpedMassMatrix,
double *  element_u,
int  eN 
)
inline

Definition at line 1718 of file MCorr.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::MCorr< 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_porosity,
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 72 of file MCorr.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::MCorr< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateJacobian ( arguments_dict args,
bool  useExact 
)
inlinevirtual

Implements proteus::MCorr_base.

Definition at line 615 of file MCorr.h.

◆ calculateMass()

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::MCorr< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateMass ( arguments_dict args,
bool  useExact 
)
inlinevirtual

Implements proteus::MCorr_base.

Definition at line 1380 of file MCorr.h.

◆ calculateMassMatrix()

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::MCorr< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::calculateMassMatrix ( arguments_dict args)
inlinevirtual

Implements proteus::MCorr_base.

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

Implements proteus::MCorr_base.

Definition at line 239 of file MCorr.h.

◆ elementConstantSolve()

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::MCorr< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::elementConstantSolve ( arguments_dict args)
inlinevirtual

Implements proteus::MCorr_base.

Definition at line 994 of file MCorr.h.

◆ elementSolve()

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::MCorr< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::elementSolve ( arguments_dict args)
inlinevirtual

Implements proteus::MCorr_base.

Definition at line 724 of file MCorr.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::MCorr< 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 59 of file MCorr.h.

◆ FCTStep()

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::MCorr< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::FCTStep ( arguments_dict args)
inlinevirtual

Implements proteus::MCorr_base.

Definition at line 1639 of file MCorr.h.

◆ globalConstantRJ()

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
std::tuple<double, double> proteus::MCorr< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::globalConstantRJ ( arguments_dict args)
inlinevirtual

Implements proteus::MCorr_base.

Definition at line 1222 of file MCorr.h.

◆ setMassQuadrature()

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::MCorr< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::setMassQuadrature ( arguments_dict args,
bool  useExact 
)
inlinevirtual

Implements proteus::MCorr_base.

Definition at line 1504 of file MCorr.h.

◆ setMassQuadratureEdgeBasedStabilizationMethods()

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::MCorr< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::setMassQuadratureEdgeBasedStabilizationMethods ( arguments_dict args,
bool  useExact 
)
inlinevirtual

Implements proteus::MCorr_base.

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

Definition at line 52 of file MCorr.h.

◆ gf

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
GeneralizedFunctions<nSpace,2,nQuadraturePoints_element,nQuadraturePoints_elementBoundary> proteus::MCorr< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::gf

Definition at line 53 of file MCorr.h.

◆ gf_nodes

template<class CompKernelType , int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary>
GeneralizedFunctions<nSpace,2,nDOF_trial_element,nQuadraturePoints_elementBoundary> proteus::MCorr< CompKernelType, nSpace, nQuadraturePoints_element, nDOF_mesh_trial_element, nDOF_trial_element, nDOF_test_element, nQuadraturePoints_elementBoundary >::gf_nodes

Definition at line 54 of file MCorr.h.


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