#include <Maxwell2D_E.hh>
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::hpAdaptiveSpaceHCurl & | space () 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. | |
boundaryType & | bType () |
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 hpFull & | prebuild_ () |
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::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. | |
Friends | |
class | concepts::ModelControl< Maxwell2D_E > |
Class for calculating Eddy current problem with Maxwell modell in e-formulation.
Definition at line 32 of file Maxwell2D_E.hh.
|
inherited |
|
inherited |
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.
Type of the solver.
Definition at line 38 of file Maxwell2D_E.hh.
|
protectedinherited |
Definition at line 83 of file adaptiveModels.hh.
|
inlinevirtual |
Definition at line 46 of file Maxwell2D_E.hh.
|
inlineinherited |
Definition at line 34 of file maxwell.hh.
|
inlineinherited |
Returns boundary type.
Definition at line 33 of file maxwell.hh.
|
inlineinherited |
Returns name of boundary type as string.
Definition at line 36 of file maxwell.hh.
|
virtual |
Return dissipation power loss.
Implements concepts::MaxwellModel.
|
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 58 of file Maxwell2D_E.hh.
|
inlineprotectedvirtual |
Space Prebuilder.
Implements hp2D::AdaptiveModel< Cmplx >.
Definition at line 56 of file Maxwell2D_E.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 |
|
inlinevirtual |
|
friend |
Definition at line 1 of file Maxwell2D_E.hh.
|
protectedinherited |
Attribute of vertices or edges for geometric refinement.
Definition at line 91 of file adaptiveModels.hh.
|
protectedinherited |
|
protectedinherited |