Plugins
|
Helper class for the integration of the power. More...
#include <eddy_current_cmd_impl.h>
Static Public Member Functions | |
static void | calc_power (TGridFunc *pJGGF, size_t JG_fct[], SubsetGroup &JG_ssg, TGridFunc *pEGF, size_t E_fct[], number pow[]) |
Computes the integral for all elements of one type. More... | |
Private Types | |
typedef TGridFunc::domain_type | domain_type |
typedef domain_type::position_accessor_type | position_accessor_type |
typedef domain_type::position_type | position_type |
Static Private Member Functions | |
static void | calc_elem_power (TGridFunc *pJGGF, size_t JG_fct[], TGridFunc *pEGF, size_t E_fct[], position_accessor_type &aaPos, TElem *pElem, number pow[]) |
computes the integral over one element More... | |
Static Private Attributes | |
static const size_t | maxEdges = NedelecT1_LDisc<domain_type, TElem>::maxNumEdges |
static const size_t | numCorners = NedelecT1_LDisc<domain_type, TElem>::numCorners |
static const size_t | numEdges = NedelecT1_LDisc<domain_type, TElem>::numEdges |
Helper class for the integration of the power.
This class implements the function computes the integral
\[ \int_\Omega \overline{\mathbf{J}_G} \mathbf{E} \, dx \]
over the subdomain covered by grid elements of one type.
TGridFunc | grid function type |
TElem | grid element type |
|
private |
|
private |
|
private |
|
inlinestaticprivate |
computes the integral over one element
pJGGF | grid function of the Nedelec-DoFs of the generator current \(\mathbf{J}_G\) |
JG_fct | indices of the Re and Im parts in the grid function for \(\mathbf{J}_G\) |
pEGF | grid function of the Nedelec-DoFs of the electric field \(\mathbf{E}\) |
E_fct | indices of the Re and Im parts in the grid function for \(\mathbf{E}\) |
aaPos | position accessor |
pElem | the element |
pow | to add the integral (Re and Im parts) |
References ug::DoFRef(), ug::Electromagnetism::NedelecT1_LDisc< TDomain, TElem >::local_mass(), ug::Electromagnetism::CalcVolPowerElemHelperClass< TGridFunc, TElem >::maxEdges, ug::Electromagnetism::CalcVolPowerElemHelperClass< TGridFunc, TElem >::numCorners, ug::Electromagnetism::CalcVolPowerElemHelperClass< TGridFunc, TElem >::numEdges, and UG_THROW.
|
inlinestatic |
Computes the integral for all elements of one type.
pJGGF | grid function of the Nedelec-DoFs of the generator current \(\mathbf{J}_G\) |
JG_fct | indices of the Re and Im parts in the grid function for \(\mathbf{J}_G\) |
JG_ssg | (full-dim.) subsets where \(\mathbf{J}_G\) is defined (non-zero and in the kernel) |
pEGF | grid function of the Nedelec-DoFs of the electric field \(\mathbf{E}\) |
E_fct | indices of the Re and Im parts in the grid function for \(\mathbf{E}\) |
pow | to add the integral (Re and Im parts) |
References ug::SubsetGroup::size().
Referenced by ug::Electromagnetism::CalcVolPowerHelperClass< TGridFunc >::operator()().
|
staticprivate |
|
staticprivate |
|
staticprivate |