ug4
quality_util.h File Reference
#include <limits>
#include <algorithm>
#include <string>
#include <vector>
#include "common/math/misc/math_util.h"
#include "lib_grid/algorithms/geom_obj_util/volume_util.h"
#include "lib_grid/grid/grid_base_objects.h"
#include "lib_grid/grid/grid.h"

Go to the source code of this file.

Classes

struct  ug::AspectRatioInfo
 Holds information on the min, max, mean, and standard deviation of a sample. More...
 

Namespaces

 ug
 the ug namespace
 

Functions

template<class TAAPos >
number ug::AspectRatio (FaceVertices *f, TAAPos &aaPos)
 Returns the aspect ratio of a face. More...
 
template<class TAAPos >
number ug::AspectRatio (Volume *vol, TAAPos &aaPos)
 
template<class TElemIter , class TAAPos >
void ug::GetAspectRatioHistogram (std::vector< int > &histoOut, TElemIter elemsBegin, TElemIter elemsEnd, int histoSecs, TAAPos &aaPos, Grid::AttachmentAccessor< typename PtrToValueType< typename TElemIter::value_type >::base_type, Attachment< int > > *paaHistoSec=NULL)
 
template<class TElemIter , class TAAPos >
AspectRatioInfo ug::GetAspectRatioInfo (TElemIter elemsBegin, TElemIter elemsEnd, TAAPos &aaPos)
 Computes the AspectRatioInfo for a sample of elements. More...
 
template<class TAAPos >
number ug::GetMaxEdgeLength (Volume *vol, TAAPos &aaPos)
 
template<class TAAPos >
number ug::QuadrilateralAspectRatio (FaceVertices *f, TAAPos &aaPos)
 Returns the aspect ratio of a quadrilateral. More...
 
template<class TAAPos >
number ug::TetrahedronAspectRatio (Volume *vol, TAAPos &aaPos)
 
template<class TAAPos >
number ug::TriangleAspectRatio (FaceVertices *f, TAAPos &aaPos)
 Returns the aspect ratio of a triangle. More...