36 #ifndef __H__UG__PLUGINS__ELECTROMAGNETISM__EDDY_CURRENT_CMD__
37 #define __H__UG__PLUGINS__ELECTROMAGNETISM__EDDY_CURRENT_CMD__
42 namespace Electromagnetism{
45 template <
typename TGr
idFunc>
57 template <
typename TGr
idFunc>
68 template <
typename TGr
idFunc>
71 const TGridFunc * gfE,
82 template <
typename TGr
idFunc>
88 const std::vector<number>& Normal,
89 const std::vector<number>& base_pnt,
91 const std::vector<number>& d_pnt
MathVector< dim > position_type
void calc_power(TGridFunc *pJGGF, size_t JG_fct[], SubsetGroup &JG_ssg, TGridFunc *pEGF, size_t E_fct[], number pow[])
Computes the power of the electromagnetic field (up to the contribution of the boundary)
Definition: eddy_current_cmd_impl.h:223
number calc_magnetic_flux(const TGridFunc *gfE, const size_t fct[2], const SubsetGroup &ss_grp, const MathVector< TGridFunc::dim > &Normal, const typename TGridFunc::domain_type::position_type &base_pnt, const size_t n_pnt, const typename TGridFunc::domain_type::position_type &d_pnt, number flux[2])
Computation of the magnetic flux through windings of a coil.
void CalcPower(SmartPtr< TGridFunc > spJGGF, const char *JG_cmps, const char *JG_ss, SmartPtr< TGridFunc > spEGF, const char *E_cmps)
Prints the (complex-valued) power of the electromagnetic field.
Definition: eddy_current_cmd_impl.h:246
void CalcMagneticFlux(SmartPtr< TGridFunc > spGF, const char *cmps, const char *subsets, const std::vector< number > &Normal, const std::vector< number > &base_pnt, const size_t n_pnt, const std::vector< number > &d_pnt)
Prints of the magnetic flux through windings of a coil.