ug4
error_indicator.h File Reference

Go to the source code of this file.

Classes

struct  ug::face_type_traits< dim >
 
struct  ug::face_type_traits< 1 >
 
struct  ug::face_type_traits< 2 >
 
struct  ug::face_type_traits< 3 >
 

Namespaces

 ug
 the ug namespace
 

Functions

template<typename TFunction >
void ug::ComputeGradientCrouzeixRaviart (TFunction &u, size_t fct, MultiGrid::AttachmentAccessor< typename TFunction::element_type, ug::Attachment< number > > &aaError)
 
template<typename TFunction >
void ug::computeGradientJump (TFunction &u, MultiGrid::AttachmentAccessor< typename TFunction::element_type, ug::Attachment< number > > &aaGrad, MultiGrid::AttachmentAccessor< typename TFunction::element_type, ug::Attachment< number > > &aaError)
 
template<typename TFunction >
void ug::ComputeGradientLagrange1 (TFunction &u, size_t fct, MultiGrid::AttachmentAccessor< typename TFunction::element_type, ug::Attachment< number > > &aaError)
 
template<typename TFunction >
void ug::ComputeGradientPiecewiseConstant (TFunction &u, size_t fct, MultiGrid::AttachmentAccessor< typename TFunction::element_type, ug::Attachment< number > > &aaError)
 
template<typename TGradientEvaluator , typename TFunction >
void ug::EvaluateGradientJump_Norm (TFunction &u, size_t fct, MultiGrid::AttachmentAccessor< typename TFunction::element_type, ug::Attachment< number > > &aaError)
 
template<typename TGradientEvaluator , typename TFunction >
void ug::EvaluateGradientJump_SideIntegral (TFunction &u, size_t fct, MultiGrid::AttachmentAccessor< typename TFunction::element_type, ug::Attachment< number > > &aaError, bool addErrSquareToAAError=false)
 
template<typename TFunction >
void ug::EvaluateResidualErrorP1 (SmartPtr< TFunction > u, SmartPtr< UserData< number, TFunction::dim > > f, const char *cmp, number time, int quadOrder, std::string quadType, MultiGrid::AttachmentAccessor< typename TFunction::element_type, ug::Attachment< number > > &aaError)
 Evaluates the residual error for P1 shape functions (with some simplifications) More...
 
template<class side_t , class TFunction >
void ug::ExchangeAndAdjustSideErrors (TFunction &u, ANumber aSideError, ANumber aNumElems)
 
template<typename TDomain , typename TAlgebra >
void ug::MarkForAdaption_AbsoluteGradientIndicator (IRefiner &refiner, GridFunction< TDomain, TAlgebra > &u, const char *fctName, number refTol, number coarsenTol, int minLvl, int maxLevel)
 
template<typename TDomain , typename TAlgebra >
void ug::MarkForAdaption_AbsoluteGradientJumpIndicator (IRefiner &refiner, GridFunction< TDomain, TAlgebra > &u, const char *fctName, number refTol, number coarsenTol, int minLvl, int maxLevel)
 
template<typename TDomain , typename TAlgebra >
void ug::MarkForAdaption_GradientAverage (IRefiner &refiner, SmartPtr< GridFunction< TDomain, TAlgebra > > u, const char *cmp, number refFrac, int minLvl, int maxLvl)
 
template<typename TDomain , typename TAlgebra >
void ug::MarkForAdaption_GradientIndicator (IRefiner &refiner, GridFunction< TDomain, TAlgebra > &u, const char *fctName, number TOL, number refineFrac, number coarseFrac, int maxLevel)
 
template<typename TDomain , typename TAlgebra >
void ug::MarkForAdaption_GradientJump (IRefiner &refiner, SmartPtr< GridFunction< TDomain, TAlgebra > > u, const char *cmp, number refFrac, int minLvl, int maxLvl, std::string jumpType)
 
template<typename TDomain , typename TAlgebra >
void ug::MarkForAdaption_GradientJumpIndicator (IRefiner &refiner, GridFunction< TDomain, TAlgebra > &u, const char *fctName, number TOL, number refineFrac, number coarseFrac, int maxLevel)
 
template<typename TDomain , typename TAlgebra >
void ug::MarkForAdaption_L2ErrorExact (IRefiner &refiner, SmartPtr< GridFunction< TDomain, TAlgebra > > u, SmartPtr< UserData< number, TDomain::dim > > spExactSol, const char *cmp, number minL2Error, number maxL2Error, number refFrac, int minLvl, int maxLvl, number time, int quadOrder)
 
template<typename TDomain , typename TAlgebra >
number ug::MarkForAdaption_ResidualErrorP1Absolute (IRefiner &refiner, SmartPtr< GridFunction< TDomain, TAlgebra > > u, SmartPtr< UserData< number, TDomain::dim > > f, const char *cmp, number time, number refTol, number coarsenTol, int maxLvl, int quadOrder, std::string quadType, bool refTopLvlOnly=false)
 
template<typename TDomain , typename TAlgebra >
void ug::MarkForAdaption_ResidualErrorP1Relative (IRefiner &refiner, SmartPtr< GridFunction< TDomain, TAlgebra > > u, SmartPtr< UserData< number, TDomain::dim > > f, const char *cmp, number time, number refFrac, int minLvl, int maxLvl, int quadOrder, std::string quadType)