![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <time_harmonic_maxwell_assemblers.h>
Public Member Functions | |
| TimeHarmonicMaxwellAssemblerCore (const Parameters::TimeHarmonicMaxwell< dim > &time_harmonic_maxwell_parameters) | |
| 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 PhysicsAssemblerBase< TimeHarmonicMaxwellScratchData< dim >, DPGCopyData > | |
| virtual | ~PhysicsAssemblerBase ()=default |
Class that assembles the cell terms of the ultraweak DPG formulation of the time-harmonic Maxwell equations. With the test functions \(\mathbf{F}\) (electric) and \(\mathbf{I}\) (magnetic), it assembles:
| dim | An integer that denotes the number of spatial dimensions |
Definition at line 151 of file time_harmonic_maxwell_assemblers.h.
| TimeHarmonicMaxwellAssemblerCore< dim >::TimeHarmonicMaxwellAssemblerCore | ( | const Parameters::TimeHarmonicMaxwell< dim > & | time_harmonic_maxwell_parameters | ) |
Constructor.
| [in] | time_harmonic_maxwell_parameters | Parameters of the time-harmonic Maxwell physics. They are not used for now, but they will be needed by the volume source terms. |
Definition at line 305 of file time_harmonic_maxwell_assemblers.cc.
|
overridevirtual |
Assemble the Gram matrix and the interior bilinear form.
| [in] | scratch_data | (see base class) |
| [in,out] | copy_data | (see base class) |
Implements PhysicsAssemblerBase< TimeHarmonicMaxwellScratchData< dim >, DPGCopyData >.
Definition at line 312 of file time_harmonic_maxwell_assemblers.cc.
References DPGCopyData::B_matrix, TimeHarmonicMaxwellScratchData< dim >::curl_phi_test, DPGCopyData::G_matrix, TimeHarmonicMaxwellScratchData< dim >::iweps_JxW_container, TimeHarmonicMaxwellScratchData< dim >::iwmu_JxW_container, TimeHarmonicMaxwellScratchData< dim >::JxW, TimeHarmonicMaxwellScratchData< dim >::JxW_FF_container, TimeHarmonicMaxwellScratchData< dim >::JxW_II_container, TimeHarmonicMaxwellScratchData< dim >::n_base_functions_test, TimeHarmonicMaxwellScratchData< dim >::n_base_functions_trial_interior, TimeHarmonicMaxwellScratchData< dim >::n_q_points, TimeHarmonicMaxwellScratchData< dim >::phi_test, TimeHarmonicMaxwellScratchData< dim >::phi_trial_interior, TimeHarmonicMaxwellScratchData< dim >::test_local_dof_index_map, and TimeHarmonicMaxwellScratchData< dim >::trial_interior_local_dof_index_map.
|
overridevirtual |
Assemble the interior load vector, which is zero since no volume source term is considered at the moment.
| [in] | scratch_data | (see base class) |
| [in,out] | copy_data | (see base class) |
Implements PhysicsAssemblerBase< TimeHarmonicMaxwellScratchData< dim >, DPGCopyData >.
Definition at line 515 of file time_harmonic_maxwell_assemblers.cc.
References DPGCopyData::l_vector, TimeHarmonicMaxwellScratchData< dim >::n_base_functions_test, TimeHarmonicMaxwellScratchData< dim >::n_q_points, and TimeHarmonicMaxwellScratchData< dim >::test_local_dof_index_map.