Maxwell2D_E.hh
virtual std::ostream & letters(std::ostream &os) const
Return letters for the arguments.
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)
std::unique_ptr< concepts::SparseMatrix< Real > > M_wave_
Definition: Maxwell2D_E.hh:83
InputMaxwell2D_E(concepts::InOutParameters &input)
Constructor.
std::unique_ptr< concepts::BoundaryConditions > bc_
Boundary conditions.
Definition: Maxwell2D_E.hh:68
void linearform_()
Calculate the load vector, assumes sigma = 0 inside the coil.
std::unique_ptr< concepts::SparseMatrix< Real > > M_eddy_
Definition: Maxwell2D_E.hh:83
void solverType(enum hp2D::Maxwell2D_E::solverType type, bool diagPrecond)
Change the solver type.
virtual std::ostream & description(std::ostream &os) const
Returns description for help.
Maxwell2D_E(concepts::EddyGeometry2D &geom, InputMaxwell2D_E &input, const uint geomRefAttrib=100)
Helper class for building 2D hp-FEM spaces (space pre builder).
Definition: spacePreBuilder.hh:168
Abstract class for carrying information, which helps for reading input parameters from command line.
Definition: inputParam.hh:24
virtual std::ostream & arguments(std::ostream &os) const
Returns argument list as string.
enum concepts::MaxwellBoundary::boundaryType bType_
Boundary condition.
Definition: Maxwell2D_E.hh:145
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
std::unique_ptr< concepts::Vector< Cmplx > > rhs_
Definition: Maxwell2D_E.hh:85
enum concepts::MaxwellBoundary::boundaryType boundary() const
Returns type of boundary condition.
Definition: Maxwell2D_E.hh:136
double solvetime_
Time to solve the system, to build the matrices, to rebuild the space.
Definition: Maxwell2D_E.hh:107
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual void matrices()
Builds the matrices and the load vector.
Definition: models.hh:30
std::unique_ptr< Real > residualNorm_
Euclidian norm of the residual of solving the linear system.
Definition: Maxwell2D_E.hh:79
virtual std::ostream & info(std::ostream &os) const
Definition: adaptiveModels.hh:78
std::complex< Real > Cmplx
Type for a complex number. It also depends on the setting of Real.
Definition: typedefs.hh:39
virtual int input(int opt, const char *optarg)
Process an argument and sets input parameter, if found.
void meshAbbreviation(const char *meshAbbr)
Definition: Eddy2D_geometries.hh:54
std::unique_ptr< concepts::SparseMatrix< Cmplx > > S_
Stiffness and System matrix.
Definition: Maxwell2D_E.hh:81
Class for calculating Eddy current problem with Maxwell modell in e-formulation.
Definition: Maxwell2D_E.hh:34
virtual const hp2D::Maxwell2D_E & model() const
Definition: Maxwell2D_E.hh:169
concepts::EddyGeometry2D & geom_
Mesh and material constants (sigma, j0)
Definition: Maxwell2D_E.hh:64
Helps for reading input parameters for single solving of Maxwell2D_E.
Definition: Maxwell2D_E.hh:116
void storeMatricesToMatlab(const std::string matrixFile) const
Stores the calculated vectors.
ModelControl(hp2D::Maxwell2D_E &model)
Constructor.
Abstract class for holding geometry and material for eddy current problems.
Definition: Eddy2D_geometries.hh:29
virtual Real solve()
Solves the system and returns the residual.
std::unique_ptr< concepts::Vector< Cmplx > > residual_
Residual of solving the linear system.
Definition: Maxwell2D_E.hh:77
virtual void solve_()
Method for solving, throws exception when it wasn't successfull.
virtual ~ModelControl()
Definition: Maxwell2D_E.hh:164
Class for holding boundary type of Maxwell's problems.
Definition: maxwell.hh:19