template<int WDim, typename TElem>
class ug::LevelSet::ScaledLSFGrad< WDim, TElem >
Auxilliary class for computation of gradients of the level-set function at corners
Functional version
template<int WDim, typename TElem >
Gradient of the function (for a given element type).
For every base corner, the function to extrapolate is considered as linear. This function returns it gradient.
- Parameters
-
| vCornerCoords | coordinates of the corners of the element |
| base_co | the base corner of the element |
| locLSF | local values of the level-set function |
| ext_grad | the gradient |
References ug::DimReferenceElement< int d >::corner(), ug::LocalShapeFunctionSet< int TDim, typename TShape, typename TGrad >::grads(), ug::DimReferenceMapping< int TDim, int TWorldDim >::jacobian_transposed(), ug::LFEID::LAGRANGE, ug::MatVecMult(), ug::LevelSet::ScaledLSFGrad< WDim, TElem >::ref_dim, ug::RightInverse(), ug::LocalVector::value(), ug::VecScaleAppend(), and ug::VecSet().
Referenced by ug::LevelSet::LevSetGFlinearExtrapolation< TDomain, TAlgebra >::eliminate_extrapolated(), ug::LevelSet::LevSetGFlinearExtrapolation< TDomain, TAlgebra >::eliminate_extrapolated(), ug::LevelSet::LevSetGFlinearExtrapolation< TDomain, TAlgebra >::eliminate_extrapolated(), and ug::LevelSet::LevSetGFlinearExtrapolation< TDomain, TAlgebra >::extrapolate_sol_by_lsf().