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

#include <time_harmonic_maxwell_assemblers.h>

Inheritance diagram for TimeHarmonicMaxwellAssemblerSkeleton< dim >:
[legend]

Public Member Functions

 TimeHarmonicMaxwellAssemblerSkeleton (const BoundaryConditions::TimeHarmonicMaxwellBoundaryConditions< dim > &boundary_conditions)
void assemble_matrix (const TimeHarmonicMaxwellScratchData< dim > &scratch_data, DPGCopyData &copy_data) override
void assemble_rhs (const TimeHarmonicMaxwellScratchData< dim > &scratch_data, DPGCopyData &copy_data) override
Public Member Functions inherited from PhysicsFaceAssemblerBase< TimeHarmonicMaxwellScratchData< dim >, DPGCopyData >
virtual ~PhysicsFaceAssemblerBase ()=default

Private Attributes

const BoundaryConditions::TimeHarmonicMaxwellBoundaryConditions< dim > & boundary_conditions

Detailed Description

template<int dim>
class TimeHarmonicMaxwellAssemblerSkeleton< dim >

Class that assembles the skeleton terms of the ultraweak DPG formulation of the time-harmonic Maxwell equations. On every face, it assembles \(\langle \mathbf{n} \times \hat{\mathbf{E}}, \mathbf{I} \rangle\) in the matrix \(\hat{B}\) and, except on the faces where a Robin boundary condition is applied, it assembles \(\langle \mathbf{n} \times \hat{\mathbf{H}}, \mathbf{F} \rangle\). On Robin faces, the latter term is replaced by the Robin boundary condition (see TimeHarmonicMaxwellAssemblerRobinBC).

Template Parameters
dimAn integer that denotes the number of spatial dimensions

Definition at line 205 of file time_harmonic_maxwell_assemblers.h.

Constructor & Destructor Documentation

◆ TimeHarmonicMaxwellAssemblerSkeleton()

template<int dim>
TimeHarmonicMaxwellAssemblerSkeleton< dim >::TimeHarmonicMaxwellAssemblerSkeleton ( const BoundaryConditions::TimeHarmonicMaxwellBoundaryConditions< dim > & boundary_conditions)
inline

Constructor.

Parameters
[in]boundary_conditionsBoundary conditions of the time-harmonic Maxwell physics, used to identify the Robin faces.

Definition at line 215 of file time_harmonic_maxwell_assemblers.h.

References boundary_conditions.

Member Function Documentation

◆ assemble_matrix()

◆ assemble_rhs()

template<int dim>
void TimeHarmonicMaxwellAssemblerSkeleton< dim >::assemble_rhs ( const TimeHarmonicMaxwellScratchData< dim > & scratch_data,
DPGCopyData & copy_data )
overridevirtual

There is no skeleton term in the load vector, since the boundary data is imposed through the constraints or by TimeHarmonicMaxwellAssemblerRobinBC.

Parameters
[in]scratch_data(see base class)
[in,out]copy_data(see base class)

Implements PhysicsFaceAssemblerBase< TimeHarmonicMaxwellScratchData< dim >, DPGCopyData >.

Definition at line 628 of file time_harmonic_maxwell_assemblers.cc.

Member Data Documentation

◆ boundary_conditions

template<int dim>
const BoundaryConditions::TimeHarmonicMaxwellBoundaryConditions<dim>& TimeHarmonicMaxwellAssemblerSkeleton< dim >::boundary_conditions
private

Boundary conditions of the time-harmonic Maxwell physics.

Definition at line 250 of file time_harmonic_maxwell_assemblers.h.


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