OpenLB 1.7
Loading...
Searching...
No Matches
Namespaces | Functions
norm.h File Reference

Implements Euclidean norm for arrays. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  olb
 Top level namespace for all of OpenLB.
 
namespace  olb::util
 

Functions

template<typename T >
olb::util::euklidN2 (const T x[], int dim)
 Squared Euclidean norm of an array.
 
template<typename T >
olb::util::euklidDistance2 (const T x[], const T y[], int dim)
 Squared Euclidean distance between two arrays.
 
template<typename T >
olb::util::euklidN (const T x[], int dim)
 Euclidean norm of an array.
 
template<typename T >
olb::util::euklidDistance (const T x[], const T y[], int dim)
 Euclidean distance between two arrays.
 
template<typename C >
auto olb::util::euklidN2 (const C &x)
 Squared Euclidean norm for Container-type array.
 
template<typename C >
auto olb::util::euklidDistance2 (const C &x, const C &y)
 Squared Euclidean distance for Container-type array.
 
template<typename C >
auto olb::util::euklidN (const C &x)
 Euclidean norm for Container-type array.
 
template<typename C >
auto olb::util::euklidDistance (const C &x, const C &y)
 Euclidean distance for Container-type array.
 

Detailed Description

Implements Euclidean norm for arrays.

Definition in file norm.h.