Plugins
|
Helper class for computation of the flux in elements. (Helper for ComputeFlux.) More...
#include <nedelec_aux_cmd_impl.h>
Static Public Member Functions | |
static number | compute_flux (TGridFunc *pGF, size_t fct, SubsetGroup &volSSG, SubsetGroup &faceSSG) |
Computation of the flux through the sides of all elements of one type. More... | |
Static Private Member Functions | |
static number | compute_elem_flux (TGridFunc *pGF, size_t fct, TElem *pElem, SubsetGroup &faceSSG) |
Computation of the flux through sides of an element. More... | |
Helper class for computation of the flux in elements. (Helper for ComputeFlux.)
|
inlinestaticprivate |
Computation of the flux through sides of an element.
pGF | grid function of the Nedelec-DoFs of the vector field |
fct | index of the function in the grid function |
pElem | the element |
faceSSG | the surface (the low-dim. subsets) |
References ug::SubsetGroup::contains(), dim, ug::DoFRef(), ug::Provider< class >::get(), ug::Grid::get_side(), ug::ISubsetHandler::get_subset_index(), ug::ISubsetHandler::grid(), normal, UG_ASSERT, UG_THROW, ug::Electromagnetism::NedelecInterpolation< TDomain, refDim, WDim >::value(), and ug::VecDot().
Referenced by ug::Electromagnetism::ComputeElemFluxHelper< TGridFunc, TElem >::compute_flux().
|
inlinestatic |
Computation of the flux through the sides of all elements of one type.
pGF | grid function of the Nedelec-DoFs of the vector field |
fct | index of the function in the grid function |
volSSG | full-dim. subsets (adjacent to the surface) to indicate the negative direction |
faceSSG | the surface (the low-dim. subsets) |
References ug::Electromagnetism::ComputeElemFluxHelper< TGridFunc, TElem >::compute_elem_flux(), and ug::SubsetGroup::size().
Referenced by ug::Electromagnetism::ComputeFluxHelper< TGridFunc >::operator()().