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

#include <time_harmonic_maxwell_boundary_conditions.h>

Inheritance diagram for TimeHarmonicMaxwellMagneticFieldDefined< dim >:
[legend]

Public Member Functions

 TimeHarmonicMaxwellMagneticFieldDefined (Functions::ParsedFunction< dim > *p_h_x_real, Functions::ParsedFunction< dim > *p_h_y_real, Functions::ParsedFunction< dim > *p_h_z_real, Functions::ParsedFunction< dim > *p_h_x_imag, Functions::ParsedFunction< dim > *p_h_y_imag, Functions::ParsedFunction< dim > *p_h_z_imag)
double value (const Point< dim > &point, const unsigned int component) const override

Private Attributes

Functions::ParsedFunction< dim > * h_x_real
Functions::ParsedFunction< dim > * h_y_real
Functions::ParsedFunction< dim > * h_z_real
Functions::ParsedFunction< dim > * h_x_imag
Functions::ParsedFunction< dim > * h_y_imag
Functions::ParsedFunction< dim > * h_z_imag

Detailed Description

template<int dim>
class TimeHarmonicMaxwellMagneticFieldDefined< dim >

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

Definition at line 221 of file time_harmonic_maxwell_boundary_conditions.h.

Constructor & Destructor Documentation

◆ TimeHarmonicMaxwellMagneticFieldDefined()

template<int dim>
TimeHarmonicMaxwellMagneticFieldDefined< dim >::TimeHarmonicMaxwellMagneticFieldDefined ( Functions::ParsedFunction< dim > * p_h_x_real,
Functions::ParsedFunction< dim > * p_h_y_real,
Functions::ParsedFunction< dim > * p_h_z_real,
Functions::ParsedFunction< dim > * p_h_x_imag,
Functions::ParsedFunction< dim > * p_h_y_imag,
Functions::ParsedFunction< dim > * p_h_z_imag )
inline

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

Parameters
[in]p_h_x_realThe parsed function for the real x-component.
[in]p_h_y_realThe parsed function for the real y-component.
[in]p_h_z_realThe parsed function for the real z-component.
[in]p_h_x_imagThe parsed function for the imaginary x-component.
[in]p_h_y_imagThe parsed function for the imaginary y-component.
[in]p_h_z_imagThe parsed function for the imaginary z-component.

Definition at line 242 of file time_harmonic_maxwell_boundary_conditions.h.

References h_x_imag, h_x_real, h_y_imag, h_y_real, h_z_imag, and h_z_real.

Member Function Documentation

◆ value()

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

Calculates the value of an imposed magnetic field equations.

Parameters
[in]pointA point at which the function will be evaluated.
[in]componentThe vector component of the boundary condition (6-> H x real, 7-> H y real, 8-> H z real, 9-> H x imag, 10-> H y imag, 11-> H z imag)

Definition at line 374 of file time_harmonic_maxwell_boundary_conditions.cc.

References h_x_imag, h_x_real, h_y_imag, h_y_real, h_z_imag, and h_z_real.

Member Data Documentation

◆ h_x_imag

template<int dim>
Functions::ParsedFunction<dim>* TimeHarmonicMaxwellMagneticFieldDefined< dim >::h_x_imag
private

Definition at line 226 of file time_harmonic_maxwell_boundary_conditions.h.

◆ h_x_real

template<int dim>
Functions::ParsedFunction<dim>* TimeHarmonicMaxwellMagneticFieldDefined< dim >::h_x_real
private

Definition at line 223 of file time_harmonic_maxwell_boundary_conditions.h.

◆ h_y_imag

template<int dim>
Functions::ParsedFunction<dim>* TimeHarmonicMaxwellMagneticFieldDefined< dim >::h_y_imag
private

Definition at line 227 of file time_harmonic_maxwell_boundary_conditions.h.

◆ h_y_real

template<int dim>
Functions::ParsedFunction<dim>* TimeHarmonicMaxwellMagneticFieldDefined< dim >::h_y_real
private

Definition at line 224 of file time_harmonic_maxwell_boundary_conditions.h.

◆ h_z_imag

template<int dim>
Functions::ParsedFunction<dim>* TimeHarmonicMaxwellMagneticFieldDefined< dim >::h_z_imag
private

Definition at line 228 of file time_harmonic_maxwell_boundary_conditions.h.

◆ h_z_real

template<int dim>
Functions::ParsedFunction<dim>* TimeHarmonicMaxwellMagneticFieldDefined< dim >::h_z_real
private

Definition at line 225 of file time_harmonic_maxwell_boundary_conditions.h.


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