Class documentation of Concepts

Loading...
Searching...
No Matches

#include <Maxwell2D_E.hh>

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

Public Types

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

Public Member Functions

 Maxwell2D_E (concepts::EddyGeometry2D &geom, enum boundaryType bType=PEC, enum solverType type=SUPERLU, bool diagPrecond=true, bool afterIter=false, const Real eps=EPS0, const Real omega=OMEGA50, const Real mu=MU0, const uint geomRefAttrib=100)
 
 Maxwell2D_E (concepts::EddyGeometry2D &geom, InputMaxwell2D_E &input, const uint geomRefAttrib=100)
 
virtual hp2D::hpAdaptiveSpaceHCurlspace () 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< Maxwell2D_E >
 

Detailed Description

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

Author
Kersten Schmidt, 2005

Definition at line 32 of file Maxwell2D_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.

◆ solverType

Type of the solver.

Definition at line 38 of file Maxwell2D_E.hh.

◆ subdivTypes

enum hp2D::AdaptiveModel::subdivTypes
protectedinherited

Definition at line 83 of file adaptiveModels.hh.

Constructor & Destructor Documentation

◆ ~Maxwell2D_E()

virtual hp2D::Maxwell2D_E::~Maxwell2D_E ( )
inlinevirtual

Definition at line 46 of file Maxwell2D_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::Maxwell2D_E::dissipation ( )
virtual

Return dissipation power loss.

Implements concepts::MaxwellModel.

◆ info()

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

Returns information in an output stream.

Reimplemented from concepts::Model< F >.

◆ magnEnergy()

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

Mesh abbreviation string.

Implements concepts::Model< F >.

Definition at line 58 of file Maxwell2D_E.hh.

◆ prebuild_()

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

Space Prebuilder.

Implements hp2D::AdaptiveModel< Cmplx >.

Definition at line 56 of file Maxwell2D_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 hp2D::hpAdaptiveSpaceHCurl & hp2D::Maxwell2D_E::space ( ) const
inlinevirtual

Returns the space.

Implements concepts::Model< F >.

Definition at line 48 of file Maxwell2D_E.hh.

Friends And Related Symbol Documentation

◆ concepts::ModelControl< Maxwell2D_E >

friend class concepts::ModelControl< Maxwell2D_E >
friend

Definition at line 1 of file Maxwell2D_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: