Class documentation of Concepts

Loading...
Searching...
No Matches

#include <Eddy2D_E.hh>

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

Public Types

typedef F type
 
enum  boundaryType { PMC = 0 , PEC = 1 , MAX_TYPE }
 

Public Member Functions

 Eddy2D_E (concepts::EddyGeometry2D &geom, enum concepts::MaxwellBoundary::boundaryType bType=PEC, const Real omega=OMEGA50, const Real mu=MU0, const uint geomRefAttrib=100)
 
 Eddy2D_E (concepts::EddyGeometry2D &geom, InputEddy2D_E &input, enum boundaryType bType=PEC, const uint geomRefAttrib=100)
 
virtual hpAdaptiveSpaceHCurl_H1space () const
 Returns the space.
 
virtual Real dissipation ()
 Return dissipation power loss.
 
virtual Real magnEnergy ()
 Return magnetic energy.
 
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.
 
const boundaryType bType () const
 Returns boundary type.
 
boundaryTypebType ()
 
const std::string bTypeStr () const
 Returns name of boundary type as string.
 

Protected Types

enum  subdivTypes
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 
virtual hpFullprebuild_ ()
 Space Prebuilder.
 
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.
 

Friends

class concepts::ModelControl< Eddy2D_E >
 

Detailed Description

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

Author
Kersten Schmidt, 2005

Definition at line 34 of file Eddy2D_E.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

◆ boundaryType

Boundary type

Either perfect magnetic conductor (PMC) or perfect electric conductor (PEC). Wether it's dirichlet or neumann boundary is dependent from the formulation.

Definition at line 27 of file maxwell.hh.

◆ subdivTypes

enum hp2D::AdaptiveModel::subdivTypes
protectedinherited

Definition at line 83 of file adaptiveModels.hh.

Constructor & Destructor Documentation

◆ Eddy2D_E()

hp2D::Eddy2D_E::Eddy2D_E ( concepts::EddyGeometry2D geom,
enum concepts::MaxwellBoundary::boundaryType  bType = PEC,
const Real  omega = OMEGA50,
const Real  mu = MU0,
const uint  geomRefAttrib = 100 
)

Constructor

Parameters
geomgeometry, conductivity and source currents
bTypetype of boundary condition
omegaangular frequency in 1/s
mupermeability constant in Ohm*s/m
geomRefAttribattrib for geometric refinement

◆ ~Eddy2D_E()

virtual hp2D::Eddy2D_E::~Eddy2D_E ( )
inlinevirtual

Definition at line 52 of file Eddy2D_E.hh.

Member Function Documentation

◆ bType() [1/2]

boundaryType & concepts::MaxwellBoundary::bType ( )
inlineinherited

Definition at line 34 of file maxwell.hh.

◆ bType() [2/2]

const boundaryType concepts::MaxwellBoundary::bType ( ) const
inlineinherited

Returns boundary type.

Definition at line 33 of file maxwell.hh.

◆ bTypeStr()

const std::string concepts::MaxwellBoundary::bTypeStr ( ) const
inlineinherited

Returns name of boundary type as string.

Definition at line 36 of file maxwell.hh.

◆ dissipation()

virtual Real hp2D::Eddy2D_E::dissipation ( )
virtual

Return dissipation power loss.

Implements concepts::MaxwellModel.

◆ info()

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

Returns information in an output stream.

Reimplemented from concepts::Model< F >.

◆ magnEnergy()

virtual Real hp2D::Eddy2D_E::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_E::mshAbbr_ ( )
inlineprotectedvirtual

Mesh abbreviation string.

Implements concepts::Model< F >.

Definition at line 64 of file Eddy2D_E.hh.

◆ prebuild_()

virtual hpFull & hp2D::Eddy2D_E::prebuild_ ( )
inlineprotectedvirtual

Space Prebuilder.

Implements hp2D::AdaptiveModel< Cmplx >.

Definition at line 62 of file Eddy2D_E.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 hpAdaptiveSpaceHCurl_H1 & hp2D::Eddy2D_E::space ( ) const
inlinevirtual

Returns the space.

Implements concepts::Model< F >.

Definition at line 54 of file Eddy2D_E.hh.

Friends And Related Symbol Documentation

◆ concepts::ModelControl< Eddy2D_E >

friend class concepts::ModelControl< Eddy2D_E >
friend

Definition at line 1 of file Eddy2D_E.hh.

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: