ExaDG
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
ExaDG::IncNS::Operators::ViscousKernel< dim, Number > Class Template Reference

Public Member Functions

void reinit (dealii::MatrixFree< dim, Number > const &matrix_free, ViscousKernelData const &data, unsigned int const dof_index, unsigned int const quad_index)
 
void calculate_penalty_parameter (dealii::MatrixFree< dim, Number > const &matrix_free, unsigned int const dof_index)
 
ViscousKernelData const & get_data () const
 
unsigned int get_quad_index () const
 
unsigned int get_degree () const
 
void set_constant_coefficient (Number const &constant_coefficient)
 
void set_coefficient_cell (unsigned int const cell, unsigned int const q, scalar const &value)
 
scalar get_coefficient_face (unsigned int const face, unsigned int const q)
 
void set_coefficient_face (unsigned int const face, unsigned int const q, scalar const &value)
 
scalar get_coefficient_face_neighbor (unsigned int const face, unsigned int const q)
 
void set_coefficient_face_neighbor (unsigned int const face, unsigned int const q, scalar const &value)
 
IntegratorFlags get_integrator_flags () const
 
void reinit_face (IntegratorFace &integrator_m, IntegratorFace &integrator_p, unsigned int const dof_index) const
 
void reinit_boundary_face (IntegratorFace &integrator_m, unsigned int const dof_index) const
 
void reinit_face_cell_based (dealii::types::boundary_id const boundary_id, IntegratorFace &integrator_m, IntegratorFace &integrator_p, unsigned int const dof_index) const
 
DEAL_II_ALWAYS_INLINE scalar get_viscosity_cell (unsigned int const cell, unsigned int const q) const
 
DEAL_II_ALWAYS_INLINE scalar calculate_average_viscosity (unsigned int const face, unsigned int const q) const
 
DEAL_II_ALWAYS_INLINE scalar get_viscosity_interior_face (unsigned int const face, unsigned int const q) const
 
DEAL_II_ALWAYS_INLINE scalar get_viscosity_boundary_face (unsigned int const face, unsigned int const q) const
 
DEAL_II_ALWAYS_INLINE tensor get_volume_flux (tensor const &gradient, scalar const &viscosity) const
 
DEAL_II_ALWAYS_INLINE tensor calculate_gradient_flux (vector const &value_m, vector const &value_p, vector const &normal, scalar const &viscosity) const
 
template<typename Integrator >
DEAL_II_ALWAYS_INLINE vector calculate_normal_gradient (unsigned int const q, Integrator &integrator) const
 
DEAL_II_ALWAYS_INLINE vector calculate_value_flux (vector const &normal_gradient_m, vector const &normal_gradient_p, vector const &value_m, vector const &value_p, vector const &normal, scalar const &viscosity) const
 
template<typename Integrator >
DEAL_II_ALWAYS_INLINE vector calculate_interior_normal_gradient (unsigned int const q, Integrator const &integrator, OperatorType const &operator_type) const
 

Static Public Member Functions

static MappingFlags get_mapping_flags (bool const compute_interior_face_integrals, bool const compute_boundary_face_integrals)
 

Member Function Documentation

◆ calculate_gradient_flux()

template<int dim, typename Number >
DEAL_II_ALWAYS_INLINE tensor ExaDG::IncNS::Operators::ViscousKernel< dim, Number >::calculate_gradient_flux ( vector const & value_m,
vector const & value_p,
vector const & normal,
scalar const & viscosity ) const
inline

Calculates the gradient flux, i.e. the numerical flux that is tested with the shape function gradients.

◆ calculate_value_flux()

template<int dim, typename Number >
DEAL_II_ALWAYS_INLINE vector ExaDG::IncNS::Operators::ViscousKernel< dim, Number >::calculate_value_flux ( vector const & normal_gradient_m,
vector const & normal_gradient_p,
vector const & value_m,
vector const & value_p,
vector const & normal,
scalar const & viscosity ) const
inline

Calculates the value flux, i.e. the flux that is tested with the shape function values. Strictly speaking, this is not a numerical flux, but the right-hand side of the L2 product notation of the integral. In this case it is the inner product of the numerical flux and the the normal vector of element e⁻.


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