Loading [MathJax]/extensions/tex2jax.js
ug4
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
problem_detection_util.h File Reference
#include <vector>
#include "common/math/ugmath_types.h"
#include "problem_detection_util_impl.h"

Go to the source code of this file.

Namespaces

namespace  ug
 the ug namespace
 

Functions

bool ug::CheckForUnconnectedSides (Grid &grid)
 Logs all unconnected sides to UG_ERR_LOG and returns true if an unconnected side was found.
 
template<class TIter , class TAAPos >
size_t ug::FindSlivers (std::vector< typename TIter::value_type > &sliversOut, TIter elemsBegin, TIter elemsEnd, number thresholdRatio, TAAPos aaPos, bool clearContainer=true)
 Searchs for slivers in the given list of elements.
 
int ug::IsSliver (const vector3 &v0, const vector3 &v1, const vector3 &v2, const vector3 &v3, number thresholdRatio)