Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
PhysicsFaceAssemblerBase< ScratchDataType, CopyDataType > Class Template Referenceabstract

#include <physics_assemblers.h>

Public Member Functions

virtual void assemble_matrix (const ScratchDataType &scratch_data, CopyDataType &copy_data)=0
virtual void assemble_rhs (const ScratchDataType &scratch_data, CopyDataType &copy_data)=0
virtual ~PhysicsFaceAssemblerBase ()=default

Detailed Description

template<typename ScratchDataType, typename CopyDataType>
class PhysicsFaceAssemblerBase< ScratchDataType, CopyDataType >

Base class for assembler objects of physics and subequations that require a face assembly. This type of assembler is generally used for DG equations.

Template Parameters
ScratchDataTypeType of scratch data object used for face assembly.
CopyDataTypeType of copy data object used for transferring from local system assembly to global system.

Definition at line 67 of file physics_assemblers.h.

Constructor & Destructor Documentation

◆ ~PhysicsFaceAssemblerBase()

template<typename ScratchDataType, typename CopyDataType>
virtual PhysicsFaceAssemblerBase< ScratchDataType, CopyDataType >::~PhysicsFaceAssemblerBase ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ assemble_matrix()

template<typename ScratchDataType, typename CopyDataType>
virtual void PhysicsFaceAssemblerBase< ScratchDataType, CopyDataType >::assemble_matrix ( const ScratchDataType & scratch_data,
CopyDataType & copy_data )
pure virtual

Interface for the call to matrix assembly.

Parameters
[in]scratch_dataScratch data containing the physical solver 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

Implemented in CLSAssemblerSIPG< dim >, TimeHarmonicMaxwellAssemblerRobinBC< dim >, TimeHarmonicMaxwellAssemblerSkeleton< dim >, TracerAssemblerBoundaryNitsche< dim >, and TracerAssemblerSIPG< dim >.

◆ assemble_rhs()

template<typename ScratchDataType, typename CopyDataType>
virtual void PhysicsFaceAssemblerBase< ScratchDataType, CopyDataType >::assemble_rhs ( const ScratchDataType & scratch_data,
CopyDataType & copy_data )
pure virtual

Interface for the call to rhs.

Parameters
[in]scratch_dataScratch data containing the physical solver 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

Implemented in CLSAssemblerSIPG< dim >, TimeHarmonicMaxwellAssemblerRobinBC< dim >, TimeHarmonicMaxwellAssemblerSkeleton< dim >, TracerAssemblerBoundaryNitsche< dim >, and TracerAssemblerSIPG< dim >.


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