Eddy2D_E.hh
void linearform_()
Calculate the load vector, assumes sigma = 0 inside the coil.
Class for calculating Eddy current problem with Maxwell modell in h formulation.
Definition: Eddy2D_E.hh:36
void checkRanks() const
Checks the ranks of A and S.
virtual void matrices()
Builds the matrices and the load vector.
virtual int input(int opt, const char *optarg)
Process an argument and sets input parameter, if found.
virtual ~ModelControl()
Definition: Eddy2D_E.hh:164
void storeMatricesToOctave(const std::string matrixFile) const
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
ModelControl(hp2D::Eddy2D_E &model)
Constructor.
virtual void solve_()
Method for solving, throws exception when it wasn't successfull.
virtual const hp2D::Eddy2D_E & model() const
Definition: Eddy2D_E.hh:169
std::unique_ptr< concepts::Vector< Cmplx > > residual_
Residual of solving the linear system.
Definition: Eddy2D_E.hh:80
virtual std::ostream & arguments(std::ostream &os) const
Returns argument list as string.
Definition: models.hh:30
Eddy2D_E(concepts::EddyGeometry2D &geom, enum concepts::MaxwellBoundary::boundaryType bType=PEC, const Real omega=OMEGA50, const Real mu=MU0, const uint geomRefAttrib=100)
Constructor.
virtual std::ostream & info(std::ostream &os) const
virtual std::ostream & description(std::ostream &os) const
Returns description for help.
Definition: adaptiveModels.hh:78
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
virtual Real solve()
Solves the system and returns the residual.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
std::complex< Real > Cmplx
Type for a complex number. It also depends on the setting of Real.
Definition: typedefs.hh:39
void meshAbbreviation(const char *meshAbbr)
Definition: Eddy2D_geometries.hh:54
std::unique_ptr< concepts::SparseMatrix< Real > > M_eddy_
Definition: Eddy2D_E.hh:88
virtual std::ostream & letters(std::ostream &os) const
Return letters for the arguments.
void storeMatricesToMatlab(const std::string matrixFile) const
Stores the calculated vectors and matrices.
std::unique_ptr< Real > residualNorm_
Euclidian norm of the residual of solving the linear system.
Definition: Eddy2D_E.hh:82
Container class for a 2D hp edge element space with an 2D hp nodal element space.
Definition: hpAdaptiveSpaceHCurl_H1.hh:28
Eddy2D_E(concepts::EddyGeometry2D &geom, InputEddy2D_E &input, enum boundaryType bType=PEC, const uint geomRefAttrib=100)
Helps for reading input parameters for single solving of Eddy2D_E.
Definition: Eddy2D_E.hh:126
Abstract class for holding geometry and material for eddy current problems.
Definition: Eddy2D_geometries.hh:29
double solvetime_
Time to solve the system, to build the matrices, to rebuild the space.
Definition: Eddy2D_E.hh:117
std::unique_ptr< concepts::SparseMatrix< Cmplx > > S_
Stiffness and System matrix.
Definition: Eddy2D_E.hh:86
Class for holding boundary type of Maxwell's problems.
Definition: maxwell.hh:19