![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <time_harmonic_maxwell_assemblers.h>
Public Member Functions | |
| TimeHarmonicMaxwellAssemblerSkeleton (const BoundaryConditions::TimeHarmonicMaxwellBoundaryConditions< dim > &boundary_conditions) | |
| void | assemble_matrix (const TimeHarmonicMaxwellScratchData< dim > &scratch_data, DPGCopyData ©_data) override |
| void | assemble_rhs (const TimeHarmonicMaxwellScratchData< dim > &scratch_data, DPGCopyData ©_data) override |
| Public Member Functions inherited from PhysicsFaceAssemblerBase< TimeHarmonicMaxwellScratchData< dim >, DPGCopyData > | |
| virtual | ~PhysicsFaceAssemblerBase ()=default |
Private Attributes | |
| const BoundaryConditions::TimeHarmonicMaxwellBoundaryConditions< dim > & | boundary_conditions |
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).
| dim | An integer that denotes the number of spatial dimensions |
Definition at line 205 of file time_harmonic_maxwell_assemblers.h.
|
inline |
Constructor.
| [in] | boundary_conditions | Boundary 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.
|
overridevirtual |
Assemble the skeleton terms of the bilinear form.
| [in] | scratch_data | (see base class) |
| [in,out] | copy_data | (see base class) |
Implements PhysicsFaceAssemblerBase< TimeHarmonicMaxwellScratchData< dim >, DPGCopyData >.
Definition at line 544 of file time_harmonic_maxwell_assemblers.cc.
References DPGCopyData::B_hat_matrix, boundary_conditions, TimeHarmonicMaxwellScratchData< dim >::face_at_boundary, TimeHarmonicMaxwellScratchData< dim >::face_boundary_id, TimeHarmonicMaxwellScratchData< dim >::face_JxW, TimeHarmonicMaxwellScratchData< dim >::face_no, is_robin_boundary_type(), TimeHarmonicMaxwellScratchData< dim >::n_cross_tangential_phi_trial_skeleton, TimeHarmonicMaxwellScratchData< dim >::n_face_q_points, TimeHarmonicMaxwellScratchData< dim >::phi_test_face, TimeHarmonicMaxwellScratchData< dim >::test_local_dof_index_map, TimeHarmonicMaxwellScratchData< dim >::test_tangential_base_functions, and TimeHarmonicMaxwellScratchData< dim >::trial_skeleton_local_dof_index_map.
|
overridevirtual |
There is no skeleton term in the load vector, since the boundary data is imposed through the constraints or by TimeHarmonicMaxwellAssemblerRobinBC.
| [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.
|
private |
Boundary conditions of the time-harmonic Maxwell physics.
Definition at line 250 of file time_harmonic_maxwell_assemblers.h.