Class documentation of Concepts

Loading...
Searching...
No Matches

#include <Eddy2D_H.hh>

Inheritance diagram for hp2D::Eddy2D_H:
hp2D::AdaptiveModel< Cmplx > concepts::MaxwellModel concepts::AdaptiveModel< F, dim > concepts::Model< F > concepts::OutputOperator

Public Types

enum  solverType { SUPERLU = 0 , BICGSTAB = 1 }
 Type of the solver. More...
 
typedef F type
 

Public Member Functions

 Eddy2D_H (concepts::EddyGeometry2D &geom, const concepts::Formula< Real > &H0, const concepts::Formula< Real2d > &curlH0, const concepts::Formula< Real > *divgradH0=0, Eddy2D_H_Interior *interior=0, const uint geomRefAttrib=100, const Real omega=OMEGA50, const Real mu=MU0, enum solverType type=SUPERLU)
 
 Eddy2D_H (concepts::EddyGeometry2D &geom, const Real H0, Eddy2D_H_Interior *interior=0, const uint geomRefAttrib=100, const Real omega=OMEGA50, const Real mu=MU0, enum solverType type=SUPERLU)
 
 Eddy2D_H (concepts::EddyGeometry2D &geom, InputEddy2D_H &input, const uint geomRefAttrib=100)
 
virtual hpAdaptiveSpaceH1space () const
 Returns the space.
 
virtual Real dissipation ()
 Return dissipation energy.
 
virtual Real magnEnergy ()
 Return magnetic energy.
 
concepts::ElementFormula< Cmplx > * hField ()
 
concepts::ElementFormula< concepts::Cmplx2d > * eField ()
 
void rebuildMesh (const uint l=0, const uint p=1, const uint g=0, const uint subdiv=X|Y)
 
void rebuildMesh (concepts::InputAdaptiveModels &input)
 
const Vector< F > * solution ()
 Returns solution vector.
 

Protected Types

enum  subdivTypes
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 
virtual const std::string mshAbbr_ ()
 Mesh abbreviation string.
 
virtual void rebuildMesh_ (const uint l=0, const uint p=1, const uint g=0, const uint subdiv=X|Y)
 Rebuilds only the mesh and sets the polynomial degrees.
 
virtual concepts::Meshmesh_ ()
 Mesh.
 

Protected Attributes

const uint geomRefAttr_
 Attribute of vertices or edges for geometric refinement.
 
std::unique_ptr< Vector< F > > sol_
 Solution vector.
 
const std::string problemName_
 Name of the problem.
 

Detailed Description

Class for calculating Eddy current problem with Maxwell modell in h formulation.

Author
Kersten Schmidt, 2005

Definition at line 67 of file Eddy2D_H.hh.

Member Typedef Documentation

◆ type

template<class F >
typedef F concepts::Model< F >::type
inherited

Definition at line 59 of file models.hh.

Member Enumeration Documentation

◆ solverType

Type of the solver.

Definition at line 70 of file Eddy2D_H.hh.

◆ subdivTypes

enum hp2D::AdaptiveModel::subdivTypes
protectedinherited

Definition at line 83 of file adaptiveModels.hh.

Constructor & Destructor Documentation

◆ Eddy2D_H() [1/2]

hp2D::Eddy2D_H::Eddy2D_H ( concepts::EddyGeometry2D geom,
const concepts::Formula< Real > &  H0,
const concepts::Formula< Real2d > &  curlH0,
const concepts::Formula< Real > *  divgradH0 = 0,
Eddy2D_H_Interior interior = 0,
const uint  geomRefAttrib = 100,
const Real  omega = OMEGA50,
const Real  mu = MU0,
enum solverType  type = SUPERLU 
)

Constructor

Parameters
geomgeometry, conductivity and source currents
H0Formula for homogenization.
curlH0[\mathbf{curl}_{2D} h_0]
divgradH0pointer to formula [\mathrm{div} \mathbf{grad} h_0], only needed if offset function has gradient inside the conductive region
omegaangular frequency in 1/s
mupermeability constant in Ohm*s/m
geomRefAttribattrib for geometric refinement
typesolver type

◆ Eddy2D_H() [2/2]

hp2D::Eddy2D_H::Eddy2D_H ( concepts::EddyGeometry2D geom,
const Real  H0,
Eddy2D_H_Interior interior = 0,
const uint  geomRefAttrib = 100,
const Real  omega = OMEGA50,
const Real  mu = MU0,
enum solverType  type = SUPERLU 
)

Constructor

Parameters
geomgeometry, conductivity and source currents
H0magnetic field, created by the coil
omegaangular frequency in 1/s
mupermeability constant in Ohm*s/m
geomRefAttribattrib for geometric refinement
typesolver type

◆ ~Eddy2D_H()

virtual hp2D::Eddy2D_H::~Eddy2D_H ( )
inlinevirtual

Definition at line 103 of file Eddy2D_H.hh.

Member Function Documentation

◆ dissipation()

virtual Real hp2D::Eddy2D_H::dissipation ( )
virtual

Return dissipation energy.

Implements concepts::MaxwellModel.

◆ eField()

concepts::ElementFormula< concepts::Cmplx2d > * hp2D::Eddy2D_H::eField ( )

Returns a pointer to the e-Field. Solves the problem, if not yet.

◆ hField()

concepts::ElementFormula< Cmplx > * hp2D::Eddy2D_H::hField ( )

Returns a pointer to the h-Field (solution + h0). Solves the problem, if not yet.

◆ info()

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

Returns information in an output stream.

Reimplemented from concepts::Model< F >.

◆ magnEnergy()

virtual Real hp2D::Eddy2D_H::magnEnergy ( )
virtual

Return magnetic energy.

Implements concepts::MaxwellModel.

◆ mesh_()

virtual concepts::Mesh & hp2D::AdaptiveModel< Cmplx >::mesh_ ( )
inlineprotectedvirtualinherited

Mesh.

Implements concepts::Model< F >.

Definition at line 87 of file adaptiveModels.hh.

◆ mshAbbr_()

virtual const std::string hp2D::Eddy2D_H::mshAbbr_ ( )
inlineprotectedvirtual

Mesh abbreviation string.

Implements concepts::Model< F >.

Definition at line 121 of file Eddy2D_H.hh.

◆ rebuildMesh()

template<class F , uint dim>
void concepts::AdaptiveModel< F, dim >::rebuildMesh ( const uint  l = 0,
const uint  p = 1,
const uint  g = 0,
const uint  subdiv = X|Y 
)
inherited

Rebuilds only the mesh and sets the polynomial degrees

Parameters
lnumber of uniform refinements
pnumber of polynomial enlargements
gnumber of geometric refinements
subdivpossibility to restrict subdivision strategy for geometric refinement

◆ rebuildMesh_()

virtual void hp2D::AdaptiveModel< Cmplx >::rebuildMesh_ ( const uint  l = 0,
const uint  p = 1,
const uint  g = 0,
const uint  subdiv = X | Y 
)
protectedvirtualinherited

Rebuilds only the mesh and sets the polynomial degrees.

Implements concepts::AdaptiveModel< F, dim >.

◆ solution()

template<class F >
const Vector< F > * concepts::Model< F >::solution ( )
inlineinherited

Returns solution vector.

Definition at line 67 of file models.hh.

◆ space()

virtual hpAdaptiveSpaceH1 & hp2D::Eddy2D_H::space ( ) const
virtual

Returns the space.

Implements concepts::Model< F >.

Member Data Documentation

◆ geomRefAttr_

const uint hp2D::AdaptiveModel< Cmplx >::geomRefAttr_
protectedinherited

Attribute of vertices or edges for geometric refinement.

Definition at line 91 of file adaptiveModels.hh.

◆ problemName_

template<class F >
const std::string concepts::Model< F >::problemName_
protectedinherited

Name of the problem.

Definition at line 82 of file models.hh.

◆ sol_

template<class F >
std::unique_ptr<Vector<F> > concepts::Model< F >::sol_
protectedinherited

Solution vector.

Definition at line 78 of file models.hh.


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