VTK-m  2.0
Functions
TypeOfCellTetrahedral.h File Reference
#include <vtkm/Math.h>
#include <vtkm/VectorAnalysis.h>

Go to the source code of this file.

Functions

template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Vector GetTetraL0 (const CollectionOfPoints &pts)
 Returns the L0 vector, as defined by the verdict manual. More...
 
template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Vector GetTetraL1 (const CollectionOfPoints &pts)
 Returns the L1 vector, as defined by the verdict manual. More...
 
template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Vector GetTetraL2 (const CollectionOfPoints &pts)
 Returns the L2 vector, as defined by the verdict manual. More...
 
template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Vector GetTetraL3 (const CollectionOfPoints &pts)
 Returns the L3 vector, as defined by the verdict manual. More...
 
template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Vector GetTetraL4 (const CollectionOfPoints &pts)
 Returns the L4 vector, as defined by the verdict manual. More...
 
template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Vector GetTetraL5 (const CollectionOfPoints &pts)
 Returns the L5 vector, as defined by the verdict manual. More...
 
template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraL0Magnitude (const CollectionOfPoints &pts)
 Returns the L0 vector's magnitude, as defined by the verdict manual. More...
 
template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraL1Magnitude (const CollectionOfPoints &pts)
 Returns the L1 vector's magnitude, as defined by the verdict manual. More...
 
template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraL2Magnitude (const CollectionOfPoints &pts)
 Returns the L2 vector's magnitude, as defined by the verdict manual. More...
 
template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraL3Magnitude (const CollectionOfPoints &pts)
 Returns the L3 vector's magnitude, as defined by the verdict manual. More...
 
template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraL4Magnitude (const CollectionOfPoints &pts)
 Returns the L4 vector's magnitude, as defined by the verdict manual. More...
 
template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraL5Magnitude (const CollectionOfPoints &pts)
 Returns the L5 vector's magnitude, as defined by the verdict manual. More...
 
template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraLMax (const CollectionOfPoints &pts)
 Returns the Max of the magnitude of each vector which makes up the edges of the Tetra. More...
 
template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraLMin (const CollectionOfPoints &pts)
 Returns the Min of the magnitude of each vector which makes up the sides of the Tetra. More...
 
template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraArea (const CollectionOfPoints &pts)
 Returns the surface area of the Tetra. More...
 
template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraVolume (const CollectionOfPoints &pts)
 Returns the volume of the Tetra. More...
 
template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraInradius (const CollectionOfPoints &pts)
 Returns the inradius of the Tetra. More...
 
template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraCircumradius (const CollectionOfPoints &pts)
 Returns the circumradius of the Tetra. More...
 

Function Documentation

◆ GetTetraArea()

template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraArea ( const CollectionOfPoints &  pts)

Returns the surface area of the Tetra.

Parameters
[in]ptsThe four points which define the Tetra.
Returns
Returns the area.

◆ GetTetraCircumradius()

template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraCircumradius ( const CollectionOfPoints &  pts)

Returns the circumradius of the Tetra.

Parameters
[in]ptsThe four points which define the Tetra.
Returns
Returns the circumradius.

◆ GetTetraInradius()

template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraInradius ( const CollectionOfPoints &  pts)

Returns the inradius of the Tetra.

Parameters
[in]ptsThe four points which define the Tetra.
Returns
Returns the inradius.

◆ GetTetraL0()

template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Vector GetTetraL0 ( const CollectionOfPoints &  pts)

Returns the L0 vector, as defined by the verdict manual.

Parameters
[in]ptsThe four points which define the quadrilateral.
Returns
Returns the vector.

◆ GetTetraL0Magnitude()

template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraL0Magnitude ( const CollectionOfPoints &  pts)

Returns the L0 vector's magnitude, as defined by the verdict manual.

Parameters
[in]ptsThe four points which define the Tetra.
Returns
Returns the magnitude of the vector.

◆ GetTetraL1()

template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Vector GetTetraL1 ( const CollectionOfPoints &  pts)

Returns the L1 vector, as defined by the verdict manual.

Parameters
[in]ptsThe four points which define the quadrilateral.
Returns
Returns the vector.

◆ GetTetraL1Magnitude()

template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraL1Magnitude ( const CollectionOfPoints &  pts)

Returns the L1 vector's magnitude, as defined by the verdict manual.

Parameters
[in]ptsThe four points which define the Tetra.
Returns
Returns the magnitude of the vector.

◆ GetTetraL2()

template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Vector GetTetraL2 ( const CollectionOfPoints &  pts)

Returns the L2 vector, as defined by the verdict manual.

Parameters
[in]ptsThe four points which define the quadrilateral.
Returns
Returns the vector.

◆ GetTetraL2Magnitude()

template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraL2Magnitude ( const CollectionOfPoints &  pts)

Returns the L2 vector's magnitude, as defined by the verdict manual.

Parameters
[in]ptsThe four points which define the Tetra.
Returns
Returns the magnitude of the vector.

◆ GetTetraL3()

template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Vector GetTetraL3 ( const CollectionOfPoints &  pts)

Returns the L3 vector, as defined by the verdict manual.

Parameters
[in]ptsThe four points which define the quadrilateral.
Returns
Returns the vector.

◆ GetTetraL3Magnitude()

template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraL3Magnitude ( const CollectionOfPoints &  pts)

Returns the L3 vector's magnitude, as defined by the verdict manual.

Parameters
[in]ptsThe four points which define the Tetra.
Returns
Returns the magnitude of the vector.

◆ GetTetraL4()

template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Vector GetTetraL4 ( const CollectionOfPoints &  pts)

Returns the L4 vector, as defined by the verdict manual.

Parameters
[in]ptsThe four points which define the quadrilateral.
Returns
Returns the vector.

◆ GetTetraL4Magnitude()

template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraL4Magnitude ( const CollectionOfPoints &  pts)

Returns the L4 vector's magnitude, as defined by the verdict manual.

Parameters
[in]ptsThe four points which define the Tetra.
Returns
Returns the magnitude of the vector.

◆ GetTetraL5()

template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Vector GetTetraL5 ( const CollectionOfPoints &  pts)

Returns the L5 vector, as defined by the verdict manual.

Parameters
[in]ptsThe four points which define the quadrilateral.
Returns
Returns the vector.

◆ GetTetraL5Magnitude()

template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraL5Magnitude ( const CollectionOfPoints &  pts)

Returns the L5 vector's magnitude, as defined by the verdict manual.

Parameters
[in]ptsThe four points which define the Tetra.
Returns
Returns the magnitude of the vector.

◆ GetTetraLMax()

template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraLMax ( const CollectionOfPoints &  pts)

Returns the Max of the magnitude of each vector which makes up the edges of the Tetra.

Parameters
[in]ptsThe four points which define the Tetra.
Returns
Returns the max.

◆ GetTetraLMin()

template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraLMin ( const CollectionOfPoints &  pts)

Returns the Min of the magnitude of each vector which makes up the sides of the Tetra.

Parameters
[in]ptsThe four points which define the Tetra.
Returns
Returns the min.

◆ GetTetraVolume()

template<typename Scalar , typename Vector , typename CollectionOfPoints >
VTKM_EXEC Scalar GetTetraVolume ( const CollectionOfPoints &  pts)

Returns the volume of the Tetra.

Parameters
[in]ptsThe four points which define the Tetra.
Returns
Returns the volume.