FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
EuclideanMetric.hpp
1#ifndef __FIBER_GRID_EUCLIDEANMETRIC_HPP
2#define __FIBER_GRID_EUCLIDEANMETRIC_HPP
3
4#include <eagle/PhysicalSpace.hpp>
5#include "Grid.hpp"
6
7namespace Fiber
8{
9
21{
24
25static double norm2(index_t i0, index_t i1,
26 const point&P0,
27 const point&P1,
28 const tvector&V)
29 {
30 return Eagle::norm2(V);
31 }
32
33static double norm(index_t i0, index_t i1,
34 const point&P0,
35 const point&P1,
36 const tvector&V)
37 {
38 return Eagle::norm(V);
39 }
40
41static double distance(index_t i0, index_t i1,
42 const point&P0,
43 const point&P1)
44 {
45 return Eagle::norm(P0-P1);
46 }
47};
48
49
50} /* namespace Fiber */
51
52#endif /* __FIBER_GRID_EUCLIDEANMETRIC_HPP */
53
54
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
double P0(double x)
double norm2(const PhysicalSpace::bivector &v)
double norm(const PhysicalSpace::bivector &v)
double P1(double x)
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
A namespace-like class implementing operations that are required from a metric field that implements ...
Definition EuclideanMetric.hpp:21