MiniTensor Version of the Day
Loading...
Searching...
No Matches
MiniTensor_Geometry.h File Reference
#include <vector>
#include "MiniTensor_Tensor.h"
#include <iterator>

Go to the source code of this file.

Classes

class  minitensor::SphericalParametrization< T, N >
 
class  minitensor::StereographicParametrization< T, N >
 
class  minitensor::ProjectiveParametrization< T, N >
 
class  minitensor::TangentParametrization< T, N >
 
class  minitensor::CartesianParametrization< T, N >
 
class  minitensor::ParametricGrid< T, N >
 

Namespaces

namespace  minitensor
 
namespace  minitensor::ELEMENT
 

Enumerations

enum  minitensor::ELEMENT::Type {
  minitensor::ELEMENT::UNKNOWN , minitensor::ELEMENT::SEGMENTAL , minitensor::ELEMENT::TRIANGULAR , minitensor::ELEMENT::QUADRILATERAL ,
  minitensor::ELEMENT::TETRAHEDRAL , minitensor::ELEMENT::HEXAHEDRAL
}
 

Functions

template<typename T , Index N>
KOKKOS_INLINE_FUNCTIONminitensor::length (Vector< T, N > const &p0, Vector< T, N > const &p1)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTIONminitensor::area (Vector< T, N > const &p0, Vector< T, N > const &p1, Vector< T, N > const &p2)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTIONminitensor::area (Vector< T, N > const &p0, Vector< T, N > const &p1, Vector< T, N > const &p2, Vector< T, N > const &p3)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTIONminitensor::volume (Vector< T, N > const &p0, Vector< T, N > const &p1, Vector< T, N > const &p2, Vector< T, N > const &p3)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTIONminitensor::volume (Vector< T, N > const &p0, Vector< T, N > const &p1, Vector< T, N > const &p2, Vector< T, N > const &p3, Vector< T, N > const &p4, Vector< T, N > const &p5, Vector< T, N > const &p6, Vector< T, N > const &p7)
 
template<typename T , Index N>
Vector< T, N > minitensor::centroid (std::vector< Vector< T, N > > const &points)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTION Vector< T, N > minitensor::normal (Vector< T, N > const &p0, Vector< T, N > const &p1, Vector< T, N > const &p2)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTION bool minitensor::in_normal_side (Vector< T, N > const &p, Vector< T, N > const &p0, Vector< T, N > const &p1, Vector< T, N > const &p2, T const tolerance=0)
 
template<typename T , typename I , Index N>
KOKKOS_INLINE_FUNCTION std::pair< Vector< T, N >, Vector< T, N > > minitensor::bounding_box (I start, I end)
 
template<typename T , typename I >
KOKKOS_INLINE_FUNCTION std::pair< Vector< T, DYNAMIC >, Vector< T, DYNAMIC > > minitensor::bounding_box (I start, I end)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTION bool minitensor::in_box (Vector< T, N > const &p, Vector< T, N > const &min, Vector< T, N > const &max)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTION Vector< T, N > minitensor::random_in_box (Vector< T, N > const &min, Vector< T, N > const &max)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTION bool minitensor::in_tetrahedron (Vector< T, N > const &p, Vector< T, N > const &p0, Vector< T, N > const &p1, Vector< T, N > const &p2, Vector< T, N > const &p3, T const tolerance=0)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTION bool minitensor::in_hexahedron (Vector< T, N > const &p, Vector< T, N > const &p0, Vector< T, N > const &p1, Vector< T, N > const &p2, Vector< T, N > const &p3, Vector< T, N > const &p4, Vector< T, N > const &p5, Vector< T, N > const &p6, Vector< T, N > const &p7, T const tolerance=0)
 
template<typename T , Index N>
std::vector< Vector< T, N > >::size_type minitensor::closest_point (Vector< T, N > const &p, std::vector< Vector< T, N > > const &n)
 
template<typename T , typename Iterator >
KOKKOS_INLINE_FUNCTIONminitensor::median (Iterator begin, Iterator end)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTION Vector< T, N > minitensor::interpolate_quadrilateral (Vector< T, dimension_const< N, 2 >::value > &xi, Vector< T, N > const &p0, Vector< T, N > const &p1, Vector< T, N > const &p2, Vector< T, N > const &p3)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTION Vector< T, N > minitensor::interpolate_triangle (Vector< T, dimension_const< N, 3 >::value > &xi, Vector< T, N > const &p0, Vector< T, N > const &p1, Vector< T, N > const &p2)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTION Vector< T, N > minitensor::interpolate_hexahedron (Vector< T, dimension_const< N, 3 >::value > &xi, Vector< T, N > const &p0, Vector< T, N > const &p1, Vector< T, N > const &p2, Vector< T, N > const &p3, Vector< T, N > const &p4, Vector< T, N > const &p5, Vector< T, N > const &p6, Vector< T, N > const &p7)
 
template<typename T , Index N>
KOKKOS_INLINE_FUNCTION Vector< T, N > minitensor::interpolate_tetrahedron (Vector< T, dimension_const< N, 4 >::value > &xi, Vector< T, N > const &p0, Vector< T, N > const &p1, Vector< T, N > const &p2, Vector< T, N > const &p3)
 
template<typename T , Index M, Index N>
KOKKOS_INLINE_FUNCTION Vector< T, N > minitensor::interpolate_element (ELEMENT::Type element_type, Vector< T, M > &xi, std::vector< Vector< T, N > > const &v)
 
template<typename T , Index N>
std::vector< std::vector< T > > minitensor::distance_matrix (std::vector< Vector< T, N > > const &points)
 
template<typename T >
std::vector< T > minitensor::minimum_distances (std::vector< std::vector< T > > const &distances)
 
KOKKOS_INLINE_FUNCTION ELEMENT::Type minitensor::find_type (Index const dimension, Index const number_nodes)