Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
CLSAssemblerSIPG< dim > Class Template Reference

#include <cls_assemblers.h>

Inheritance diagram for CLSAssemblerSIPG< dim >:
[legend]

Public Member Functions

 CLSAssemblerSIPG ()=default
virtual void assemble_matrix (const CLSScratchData< dim > &scratch_data, StabilizedDGMethodsCopyData &copy_data) override
virtual void assemble_rhs (const CLSScratchData< dim > &scratch_data, StabilizedDGMethodsCopyData &copy_data) override
Public Member Functions inherited from PhysicsFaceAssemblerBase< CLSScratchData< dim >, StabilizedDGMethodsCopyData >
virtual ~PhysicsFaceAssemblerBase ()=default

Detailed Description

template<int dim>
class CLSAssemblerSIPG< dim >

Assembles the symmetric interior penalty Galerkin (SIPG) method (or Nitsche's method) for internal faces. This assembler is only required when solving the CLS equation using a discontinuous Galerkin discretization.

Template Parameters
dimAn integer that denotes the number of spatial dimensions

Definition at line 257 of file cls_assemblers.h.

Constructor & Destructor Documentation

◆ CLSAssemblerSIPG()

template<int dim>
CLSAssemblerSIPG< dim >::CLSAssemblerSIPG ( )
default

Member Function Documentation

◆ assemble_matrix()

template<int dim>
void CLSAssemblerSIPG< dim >::assemble_matrix ( const CLSScratchData< dim > & scratch_data,
StabilizedDGMethodsCopyData & copy_data )
overridevirtual

Interface to call the matrix assembly.

Parameters
[in]scratch_dataScratch data containing the CLS information. It is important to note that the scratch data has to have been re-inited before calling for matrix assembly.
[in,out]copy_dataDestination where the local_rhs and local_matrix should be copied.

Implements PhysicsFaceAssemblerBase< CLSScratchData< dim >, StabilizedDGMethodsCopyData >.

Definition at line 546 of file cls_assemblers.cc.

References StabilizedDGMethodsCopyData::face_data, CLSScratchData< dim >::face_velocity_values, and CLSScratchData< dim >::fe_interface_values_cls.

◆ assemble_rhs()

template<int dim>
void CLSAssemblerSIPG< dim >::assemble_rhs ( const CLSScratchData< dim > & scratch_data,
StabilizedDGMethodsCopyData & copy_data )
overridevirtual

Interface for the call to rhs.

Parameters
[in]scratch_dataScratch data containing the CLS information. It is important to note that the scratch data has to have been re-inited before calling for matrix assembly.
[in,out]copy_dataDestination where the local_rhs and local_matrix should be copied.

Implements PhysicsFaceAssemblerBase< CLSScratchData< dim >, StabilizedDGMethodsCopyData >.

Definition at line 580 of file cls_assemblers.cc.

References StabilizedDGMethodsCopyData::face_data, CLSScratchData< dim >::face_velocity_values, CLSScratchData< dim >::fe_interface_values_cls, CLSScratchData< dim >::values_here, and CLSScratchData< dim >::values_there.


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