Electrical field. More...

#include <Maxwell2D_H_eField.hh>

Inheritance diagram for hp2D::Maxwell2D_eField:
hp2D::ElementFunction< 2, Cmplx > concepts::ElementFunction< Cmplx, Q::type >

Public Types

typedef concepts::Element< typename Q::type > Element
 

Public Member Functions

virtual Maxwell2D_eFieldclone () const
 
virtual ElementFunction< Cmplx, Q::type > * clone () const=0
 
 Maxwell2D_eField (const concepts::PiecewiseFormulaBase< Real > &J0x, const concepts::PiecewiseFormulaBase< Real > &J0y, const concepts::PiecewiseFormulaBase< Cmplx > &iOmegaEps_plus_Sigma_Inv)
 
 Maxwell2D_eField (const concepts::PiecewiseFormulaBase< Real2d > &J0, const concepts::PiecewiseFormulaBase< Cmplx > &iOmegaEps_plus_Sigma_Inv)
 
virtual uint n () const
 Number of components. More...
 
virtual void operator() (const Element &elm, const concepts::Array< Cmplx > &coeff, concepts::Array< Cmplx > &val, const concepts::Real3d &p, const Real t=0.0) const
 
virtual void operator() (const Element &elm, const concepts::Array< Cmplx > &coeff, concepts::Array< Cmplx > &val, const Real p, const Real t=0.0) const
 
virtual void operator() (const Element &elm, const concepts::Array< Cmplx > &coeff, concepts::Array< Cmplx > &val, const Real2d &p, const Real t=0.0) const
 
virtual void operator() (const Element &elm, const concepts::Array< Cmplx > &coeff, concepts::Array< Cmplx > &val, const uint *i) const
 
virtual void operator() (const Element &elm, const uint *j, concepts::Array< Cmplx > &val, const uint *i) const
 
virtual void operator() (const Element< Q::type > &elm, const Array< Cmplx > &coeff, Array< Cmplx > &val, const Real p, const Real t=0.0) const=0
 Evaluates the function value in an arbitrary point p of physical space. More...
 
virtual void operator() (const Element< Q::type > &elm, const Array< Cmplx > &coeff, Array< Cmplx > &val, const Real2d &p, const Real t=0.0) const=0
 
virtual void operator() (const Element< Q::type > &elm, const Array< Cmplx > &coeff, Array< Cmplx > &val, const Real3d &p, const Real t=0.0) const=0
 
virtual void operator() (const Element< Q::type > &elm, const Array< Cmplx > &coeff, Array< Cmplx > &val, const uint *i) const=0
 Evaluates the function on precalculated quadrature points. More...
 
virtual void operator() (const Element< Q::type > &elm, const uint *j, Array< Cmplx > &val, const uint *i) const=0
 Evaluates the given function on a specific shape function j (on precalculated quadrature points). More...
 
virtual ~Maxwell2D_eField ()
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 

Private Member Functions

virtual void compute_ (const Quad<> &elm, const concepts::Array< Cmplx > &coeff, concepts::Array< Cmplx > &val, const Real2d &p, const Real t=0.0) const
 
virtual void compute_ (const Quad<> &elm, const concepts::Array< Cmplx > &coeff, concepts::Array< Cmplx > &val, const uint i[2]) const
 
virtual void compute_ (const Quad<> &elm, const uint j[2], concepts::Array< Cmplx > &val, const uint i[2]) const
 
void convert_ (const Quad<> &elm, concepts::Array< Cmplx > &val, const Real2d &p, const Real t=0.0) const
 convert the vectorial curl of h into e More...
 

Private Attributes

std::unique_ptr< concepts::PiecewiseFormulaBase< Cmplx > > iOmegaEps_plus_Sigma_Inv_
 cellwise defined formula More...
 
std::unique_ptr< concepts::PiecewiseFormulaBase< Real2d > > J0_
 cellwise defined source current More...
 
std::unique_ptr< concepts::PiecewiseFormulaBase< Real > > J0x_
 cellwise defined source current (as two components) More...
 
std::unique_ptr< concepts::PiecewiseFormulaBase< Real > > J0y_
 
PlCurl< Cmplx > plcurl_
 vectorial curl in 2D More...
 

Detailed Description

Electrical field.

Author
Kersten Schmidt, 2005

Definition at line 28 of file Maxwell2D_H_eField.hh.

Member Typedef Documentation

◆ Element

typedef concepts::Element<typename Q::type> hp2D::ElementFunction< dim, Cmplx , Quad<Real> >::Element
inherited

Definition at line 40 of file functionBase.hh.

Constructor & Destructor Documentation

◆ Maxwell2D_eField() [1/2]

hp2D::Maxwell2D_eField::Maxwell2D_eField ( const concepts::PiecewiseFormulaBase< Real2d > &  J0,
const concepts::PiecewiseFormulaBase< Cmplx > &  iOmegaEps_plus_Sigma_Inv 
)

◆ Maxwell2D_eField() [2/2]

hp2D::Maxwell2D_eField::Maxwell2D_eField ( const concepts::PiecewiseFormulaBase< Real > &  J0x,
const concepts::PiecewiseFormulaBase< Real > &  J0y,
const concepts::PiecewiseFormulaBase< Cmplx > &  iOmegaEps_plus_Sigma_Inv 
)

◆ ~Maxwell2D_eField()

virtual hp2D::Maxwell2D_eField::~Maxwell2D_eField ( )
inlinevirtual

Definition at line 37 of file Maxwell2D_H_eField.hh.

Member Function Documentation

◆ clone() [1/2]

virtual Maxwell2D_eField* hp2D::Maxwell2D_eField::clone ( ) const
inlinevirtual

Definition at line 39 of file Maxwell2D_H_eField.hh.

◆ clone() [2/2]

virtual ElementFunction<Cmplx ,Q::type >* concepts::ElementFunction< Cmplx , Q::type >::clone ( ) const
pure virtualinherited

◆ compute_() [1/3]

virtual void hp2D::Maxwell2D_eField::compute_ ( const Quad<> &  elm,
const concepts::Array< Cmplx > &  coeff,
concepts::Array< Cmplx > &  val,
const Real2d &  p,
const Real  t = 0.0 
) const
privatevirtual

◆ compute_() [2/3]

virtual void hp2D::Maxwell2D_eField::compute_ ( const Quad<> &  elm,
const concepts::Array< Cmplx > &  coeff,
concepts::Array< Cmplx > &  val,
const uint  i[2] 
) const
privatevirtual

◆ compute_() [3/3]

virtual void hp2D::Maxwell2D_eField::compute_ ( const Quad<> &  elm,
const uint  j[2],
concepts::Array< Cmplx > &  val,
const uint  i[2] 
) const
privatevirtual

◆ convert_()

void hp2D::Maxwell2D_eField::convert_ ( const Quad<> &  elm,
concepts::Array< Cmplx > &  val,
const Real2d &  p,
const Real  t = 0.0 
) const
private

convert the vectorial curl of h into e

◆ info()

virtual std::ostream& hp2D::Maxwell2D_eField::info ( std::ostream &  os) const
protectedvirtual

◆ n()

virtual uint hp2D::ElementFunction< dim, Cmplx , Quad<Real> >::n ( ) const
inlinevirtualinherited

Number of components.

Implements concepts::ElementFunction< Cmplx, Q::type >.

Definition at line 43 of file functionBase.hh.

◆ operator()() [1/10]

void hp2D::ElementFunction< dim, Cmplx , Quad<Real> >::operator() ( const Element elm,
const concepts::Array< F > &  coeff,
concepts::Array< F > &  val,
const concepts::Real3d p,
const Real  t = 0.0 
) const
virtualinherited

Definition at line 59 of file functionBase.hh.

◆ operator()() [2/10]

void hp2D::ElementFunction< dim, Cmplx , Quad<Real> >::operator() ( const Element elm,
const concepts::Array< F > &  coeff,
concepts::Array< F > &  val,
const Real  p,
const Real  t = 0.0 
) const
virtualinherited

Definition at line 51 of file functionBase.hh.

◆ operator()() [3/10]

void hp2D::ElementFunction< dim, Cmplx , Quad<Real> >::operator() ( const Element elm,
const concepts::Array< F > &  coeff,
concepts::Array< F > &  val,
const Real2d &  p,
const Real  t = 0.0 
) const
virtualinherited

Definition at line 55 of file functionBase.hh.

◆ operator()() [4/10]

void hp2D::ElementFunction< dim, Cmplx , Quad<Real> >::operator() ( const Element elm,
const concepts::Array< F > &  coeff,
concepts::Array< F > &  val,
const uint *  i 
) const
virtualinherited

Definition at line 45 of file functionBase.hh.

◆ operator()() [5/10]

void hp2D::ElementFunction< dim, Cmplx , Quad<Real> >::operator() ( const Element elm,
const uint *  j,
concepts::Array< F > &  val,
const uint *  i 
) const
virtualinherited

Definition at line 48 of file functionBase.hh.

◆ operator()() [6/10]

virtual void concepts::ElementFunction< Cmplx , Q::type >::operator() ( const Element< G > &  elm,
const Array< F > &  coeff,
Array< F > &  val,
const Real  p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the function value in an arbitrary point p of physical space.

Parameters
elmElement
coeffCoefficients of local shape functions
valFunction value
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [7/10]

virtual void concepts::ElementFunction< Cmplx , Q::type >::operator() ( const Element< G > &  elm,
const Array< F > &  coeff,
Array< F > &  val,
const Real2d p,
const Real  t = 0.0 
) const
pure virtualinherited

◆ operator()() [8/10]

virtual void concepts::ElementFunction< Cmplx , Q::type >::operator() ( const Element< G > &  elm,
const Array< F > &  coeff,
Array< F > &  val,
const Real3d p,
const Real  t = 0.0 
) const
pure virtualinherited

◆ operator()() [9/10]

virtual void concepts::ElementFunction< Cmplx , Q::type >::operator() ( const Element< G > &  elm,
const Array< F > &  coeff,
Array< F > &  val,
const uint *  i 
) const
pure virtualinherited

Evaluates the function on precalculated quadrature points.

Parameters
elmElement
coeffCoefficients of local shape functions
valFunction value
imulti-index of the quadrature point

◆ operator()() [10/10]

virtual void concepts::ElementFunction< Cmplx , Q::type >::operator() ( const Element< G > &  elm,
const uint *  j,
Array< F > &  val,
const uint *  i 
) const
pure virtualinherited

Evaluates the given function on a specific shape function j (on precalculated quadrature points).

Parameters
elmElement
jmulti-index of a shapefunction
valFunction value
imulti-index of the quadrature point

Member Data Documentation

◆ iOmegaEps_plus_Sigma_Inv_

std::unique_ptr<concepts::PiecewiseFormulaBase<Cmplx> > hp2D::Maxwell2D_eField::iOmegaEps_plus_Sigma_Inv_
private

cellwise defined formula

\[(i\omega\varepsilon + \sigma)^{-1}\]

Definition at line 68 of file Maxwell2D_H_eField.hh.

◆ J0_

std::unique_ptr<concepts::PiecewiseFormulaBase<Real2d> > hp2D::Maxwell2D_eField::J0_
private

cellwise defined source current

Definition at line 62 of file Maxwell2D_H_eField.hh.

◆ J0x_

std::unique_ptr<concepts::PiecewiseFormulaBase<Real> > hp2D::Maxwell2D_eField::J0x_
private

cellwise defined source current (as two components)

Definition at line 64 of file Maxwell2D_H_eField.hh.

◆ J0y_

std::unique_ptr<concepts::PiecewiseFormulaBase<Real> > hp2D::Maxwell2D_eField::J0y_
private

Definition at line 65 of file Maxwell2D_H_eField.hh.

◆ plcurl_

PlCurl<Cmplx> hp2D::Maxwell2D_eField::plcurl_
private

vectorial curl in 2D

Definition at line 70 of file Maxwell2D_H_eField.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich