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

#include <time_harmonic_maxwell_boundary_conditions.h>

Inheritance diagram for TimeHarmonicMaxwellElectricFieldDefined< dim >:
[legend]

Public Member Functions

 TimeHarmonicMaxwellElectricFieldDefined (Functions::ParsedFunction< dim > *p_e_x_real, Functions::ParsedFunction< dim > *p_e_y_real, Functions::ParsedFunction< dim > *p_e_z_real, Functions::ParsedFunction< dim > *p_e_x_imag, Functions::ParsedFunction< dim > *p_e_y_imag, Functions::ParsedFunction< dim > *p_e_z_imag)
double value (const Point< dim > &point, const unsigned int component) const override

Private Attributes

Functions::ParsedFunction< dim > * e_x_real
Functions::ParsedFunction< dim > * e_y_real
Functions::ParsedFunction< dim > * e_z_real
Functions::ParsedFunction< dim > * e_x_imag
Functions::ParsedFunction< dim > * e_y_imag
Functions::ParsedFunction< dim > * e_z_imag

Detailed Description

template<int dim>
class TimeHarmonicMaxwellElectricFieldDefined< dim >

This class implements a boundary condition type for the Time Harmonic Maxwell equation where the electric field components are defined using individual functions.

Definition at line 167 of file time_harmonic_maxwell_boundary_conditions.h.

Constructor & Destructor Documentation

◆ TimeHarmonicMaxwellElectricFieldDefined()

template<int dim>
TimeHarmonicMaxwellElectricFieldDefined< dim >::TimeHarmonicMaxwellElectricFieldDefined ( Functions::ParsedFunction< dim > * p_e_x_real,
Functions::ParsedFunction< dim > * p_e_y_real,
Functions::ParsedFunction< dim > * p_e_z_real,
Functions::ParsedFunction< dim > * p_e_x_imag,
Functions::ParsedFunction< dim > * p_e_y_imag,
Functions::ParsedFunction< dim > * p_e_z_imag )
inline

Initialize the electric-field boundary function with real and imaginary component functions.

Parameters
[in]p_e_x_realThe parsed function for the real x-component.
[in]p_e_y_realThe parsed function for the real y-component.
[in]p_e_z_realThe parsed function for the real z-component.
[in]p_e_x_imagThe parsed function for the imaginary x-component.
[in]p_e_y_imagThe parsed function for the imaginary y-component.
[in]p_e_z_imagThe parsed function for the imaginary z-component.

Definition at line 188 of file time_harmonic_maxwell_boundary_conditions.h.

References e_x_imag, e_x_real, e_y_imag, e_y_real, e_z_imag, and e_z_real.

Member Function Documentation

◆ value()

template<int dim>
double TimeHarmonicMaxwellElectricFieldDefined< dim >::value ( const Point< dim > & point,
const unsigned int component ) const
override

Calculates the value of an imposed electric field equations.

Parameters
[in]pointA point at which the function will be evaluated.
[in]componentThe vector component of the boundary condition (0-> E x real, 1-> E y real, 2-> E z real, 3-> E x imag, 4-> E y imag, 5-> E z imag)

Definition at line 337 of file time_harmonic_maxwell_boundary_conditions.cc.

References e_x_imag, e_x_real, e_y_imag, e_y_real, e_z_imag, and e_z_real.

Member Data Documentation

◆ e_x_imag

template<int dim>
Functions::ParsedFunction<dim>* TimeHarmonicMaxwellElectricFieldDefined< dim >::e_x_imag
private

Definition at line 172 of file time_harmonic_maxwell_boundary_conditions.h.

◆ e_x_real

template<int dim>
Functions::ParsedFunction<dim>* TimeHarmonicMaxwellElectricFieldDefined< dim >::e_x_real
private

Definition at line 169 of file time_harmonic_maxwell_boundary_conditions.h.

◆ e_y_imag

template<int dim>
Functions::ParsedFunction<dim>* TimeHarmonicMaxwellElectricFieldDefined< dim >::e_y_imag
private

Definition at line 173 of file time_harmonic_maxwell_boundary_conditions.h.

◆ e_y_real

template<int dim>
Functions::ParsedFunction<dim>* TimeHarmonicMaxwellElectricFieldDefined< dim >::e_y_real
private

Definition at line 170 of file time_harmonic_maxwell_boundary_conditions.h.

◆ e_z_imag

template<int dim>
Functions::ParsedFunction<dim>* TimeHarmonicMaxwellElectricFieldDefined< dim >::e_z_imag
private

Definition at line 174 of file time_harmonic_maxwell_boundary_conditions.h.

◆ e_z_real

template<int dim>
Functions::ParsedFunction<dim>* TimeHarmonicMaxwellElectricFieldDefined< dim >::e_z_real
private

Definition at line 171 of file time_harmonic_maxwell_boundary_conditions.h.


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