DataTransferKit - Multiphysics Solution Transfer Services  2.0
Public Member Functions | List of all members
DataTransferKit::EuclideanDistance< DIM > Class Template Reference

Eucliden distance function. More...

#include <DTK_EuclideanDistance.hpp>

Public Member Functions

template<>
double distance (const double *x1, const double *x2)
 Compute Euclidean distance between the given set of coordinates. 1-D specialization. More...
 
template<>
double distance (const double *x1, const double *x2)
 Compute Euclidean distance between the given set of coordinates. 2-D specialization. More...
 
template<>
double distance (const double *x1, const double *x2)
 Compute Euclidean distance between the given set of coordinates. 3-D specialization. More...
 

Detailed Description

template<int DIM>
class DataTransferKit::EuclideanDistance< DIM >

Eucliden distance function.

Definition at line 53 of file DTK_EuclideanDistance.hpp.

Member Function Documentation

template<>
double DataTransferKit::EuclideanDistance< 1 >::distance ( const double *  x1,
const double *  x2 
)
inline

Compute Euclidean distance between the given set of coordinates. 1-D specialization.

Definition at line 54 of file DTK_EuclideanDistance_impl.hpp.

template<>
double DataTransferKit::EuclideanDistance< 2 >::distance ( const double *  x1,
const double *  x2 
)
inline

Compute Euclidean distance between the given set of coordinates. 2-D specialization.

Definition at line 66 of file DTK_EuclideanDistance_impl.hpp.

template<>
double DataTransferKit::EuclideanDistance< 3 >::distance ( const double *  x1,
const double *  x2 
)
inline

Compute Euclidean distance between the given set of coordinates. 3-D specialization.

Definition at line 80 of file DTK_EuclideanDistance_impl.hpp.


The documentation for this class was generated from the following file: