#include <Eddy2D_H.hh>
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 hpAdaptiveSpaceH1 & | space () 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::Mesh & | mesh_ () |
| 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. | |
Class for calculating Eddy current problem with Maxwell modell in h formulation.
Definition at line 67 of file Eddy2D_H.hh.
|
inherited |
Type of the solver.
Definition at line 70 of file Eddy2D_H.hh.
|
protectedinherited |
Definition at line 83 of file adaptiveModels.hh.
| 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
| geom | geometry, conductivity and source currents |
| H0 | Formula for homogenization. |
| curlH0 | [\mathbf{curl}_{2D} h_0] |
| divgradH0 | pointer to formula [\mathrm{div} \mathbf{grad} h_0], only needed if offset function has gradient inside the conductive region |
| omega | angular frequency in 1/s |
| mu | permeability constant in Ohm*s/m |
| geomRefAttrib | attrib for geometric refinement |
| type | solver type |
| 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
| geom | geometry, conductivity and source currents |
| H0 | magnetic field, created by the coil |
| omega | angular frequency in 1/s |
| mu | permeability constant in Ohm*s/m |
| geomRefAttrib | attrib for geometric refinement |
| type | solver type |
|
inlinevirtual |
Definition at line 103 of file Eddy2D_H.hh.
|
virtual |
Return dissipation energy.
Implements concepts::MaxwellModel.
| concepts::ElementFormula< concepts::Cmplx2d > * hp2D::Eddy2D_H::eField | ( | ) |
Returns a pointer to the e-Field. Solves the problem, if not yet.
| concepts::ElementFormula< Cmplx > * hp2D::Eddy2D_H::hField | ( | ) |
Returns a pointer to the h-Field (solution + h0). Solves the problem, if not yet.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::Model< F >.
|
virtual |
Return magnetic energy.
Implements concepts::MaxwellModel.
|
inlineprotectedvirtualinherited |
|
inlineprotectedvirtual |
Mesh abbreviation string.
Implements concepts::Model< F >.
Definition at line 121 of file Eddy2D_H.hh.
|
inherited |
Rebuilds only the mesh and sets the polynomial degrees
| l | number of uniform refinements |
| p | number of polynomial enlargements |
| g | number of geometric refinements |
| subdiv | possibility to restrict subdivision strategy for geometric refinement |
|
protectedvirtualinherited |
Rebuilds only the mesh and sets the polynomial degrees.
Implements concepts::AdaptiveModel< F, dim >.
|
inlineinherited |
|
virtual |
Returns the space.
Implements concepts::Model< F >.
|
protectedinherited |
Attribute of vertices or edges for geometric refinement.
Definition at line 91 of file adaptiveModels.hh.
|
protectedinherited |
|
protectedinherited |