ug4
element_angles.h File Reference
#include "lib_grid/parallelization/distributed_grid.h"
#include <stddef.h>
#include <cmath>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <fstream>
#include <vector>
#include <string>
#include <algorithm>
#include "lib_grid/lib_grid.h"

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Functions

template<class TAAPosVRT >
void ug::CalculateAngles (vector< number > &vAnglesOut, Grid &grid, Face *f, TAAPosVRT &aaPos)
 Face. More...
 
template<class TElem , class TAAPosVRT >
number ug::CalculateAngles (vector< number > &vAnglesOut, Grid &grid, TElem *elem, TAAPosVRT &aaPos)
 An unimplemented version, so that a compile error occurs if no overload exists. More...
 
template<class TAAPosVRT >
void ug::CalculateAngles (vector< number > &vAnglesOut, Grid &grid, Volume *v, TAAPosVRT &aaPos)
 Volume. More...
 
template<class TAAPosVRT >
number ug::CalculateMaxAngle (Grid &grid, Face *f, TAAPosVRT &aaPos)
 Face (Triangles and Quadrilaterals) More...
 
template<class TAAPosVRT >
number ug::CalculateMaxAngle (Grid &grid, Prism *prism, TAAPosVRT &aaPos)
 Prism. More...
 
template<class TAAPosVRT >
number ug::CalculateMaxAngle (Grid &grid, Pyramid *pyr, TAAPosVRT &aaPos)
 Pyramid. More...
 
template<class TElem , class TAAPosVRT >
number ug::CalculateMaxAngle (Grid &grid, TElem *elem, TAAPosVRT &aaPos)
 An unimplemented version, so that a compile error occurs if no overload exists. More...
 
template<class TAAPosVRT >
number ug::CalculateMaxAngle (Grid &grid, Tetrahedron *tet, TAAPosVRT &aaPos)
 Tetrahedron. More...
 
template<class TAAPosVRT >
number ug::CalculateMaxAngle (Grid &grid, Volume *vol, TAAPosVRT &aaPos)
 Volume. More...
 
template<class TAAPosVRT >
number ug::CalculateMaxDihedral (Grid &grid, Prism *prism, TAAPosVRT &aaPos)
 Prism. More...
 
template<class TAAPosVRT >
number ug::CalculateMaxDihedral (Grid &grid, Pyramid *pyr, TAAPosVRT &aaPos)
 Pyramid. More...
 
template<class TElem , class TAAPosVRT >
number ug::CalculateMaxDihedral (Grid &grid, TElem *elem, TAAPosVRT &aaPos)
 An unimplemented version, so that a compile error occurs if no overload exists. More...
 
template<class TAAPosVRT >
number ug::CalculateMaxDihedral (Grid &grid, Tetrahedron *tet, TAAPosVRT &aaPos)
 Tetrahedron. More...
 
template<class TAAPosVRT >
number ug::CalculateMaxDihedral (Grid &grid, Volume *v, TAAPosVRT &aaPos)
 Volume. More...
 
template<class TAAPosVRT >
number ug::CalculateMinAngle (Grid &grid, Face *f, TAAPosVRT &aaPos)
 Face (Triangles and Quadrilaterals) More...
 
template<class TAAPosVRT >
number ug::CalculateMinAngle (Grid &grid, Hexahedron *hex, TAAPosVRT &aaPos)
 Hexahedron. More...
 
template<class TAAPosVRT >
number ug::CalculateMinAngle (Grid &grid, Prism *prism, TAAPosVRT &aaPos)
 Prism. More...
 
template<class TAAPosVRT >
number ug::CalculateMinAngle (Grid &grid, Pyramid *pyr, TAAPosVRT &aaPos)
 Pyramid. More...
 
template<class TElem , class TAAPosVRT >
number ug::CalculateMinAngle (Grid &grid, TElem *elem, TAAPosVRT &aaPos)
 An unimplemented version, so that a compile error occurs if no overload exists. More...
 
template<class TAAPosVRT >
number ug::CalculateMinAngle (Grid &grid, Tetrahedron *tet, TAAPosVRT &aaPos)
 Tetrahedron. More...
 
template<class TAAPosVRT >
number ug::CalculateMinAngle (Grid &grid, Volume *vol, TAAPosVRT &aaPos)
 Volume. More...
 
template<class TAAPosVRT >
number ug::CalculateMinDihedral (Grid &grid, Hexahedron *hex, TAAPosVRT &aaPos)
 Hexahedron. More...
 
template<class TAAPosVRT >
number ug::CalculateMinDihedral (Grid &grid, Prism *prism, TAAPosVRT &aaPos)
 Prism. More...
 
template<class TAAPosVRT >
number ug::CalculateMinDihedral (Grid &grid, Pyramid *pyr, TAAPosVRT &aaPos)
 Pyramid. More...
 
template<class TElem , class TAAPosVRT >
number ug::CalculateMinDihedral (Grid &grid, TElem *elem, TAAPosVRT &aaPos)
 An unimplemented version, so that a compile error occurs if no overload exists. More...
 
template<class TAAPosVRT >
number ug::CalculateMinDihedral (Grid &grid, Tetrahedron *tet, TAAPosVRT &aaPos)
 Tetrahedron. More...
 
template<class TAAPosVRT >
number ug::CalculateMinDihedral (Grid &grid, Volume *v, TAAPosVRT &aaPos)
 Volume. More...
 
UG_API void ug::CollectAssociatedSides (Edge *sidesOut[2], Grid &grid, Face *f, Vertex *vrt)
 Collects all edges (= 2) which exist in the given face and which share the given vertex. More...
 
UG_API void ug::CollectAssociatedSides (Face *sidesOut[2], Grid &grid, Volume *v, Edge *e)
 Collects all faces (= 2) which exist in the given volume and which share the given edge. More...
 
template<class TIterator , class TAAPosVRT >
TIterator::value_type ug::FindElementWithLargestMaxAngle (Grid &grid, TIterator elementsBegin, TIterator elementsEnd, TAAPosVRT &aaPos)
 
template<class TIterator , class TAAPosVRT >
TIterator::value_type ug::FindElementWithSmallestMinAngle (Grid &grid, TIterator elementsBegin, TIterator elementsEnd, TAAPosVRT &aaPos)