NiHu  2.0

A compile time interval. More...

#include "../core/global_definitions.hpp"
#include "algorithm.hpp"
#include "integer.hpp"
#include "vector.hpp"
#include <ratio>
#include <stdexcept>
Include dependency graph for interval.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tmp::break_point< X, Y >
 A break point consisting of a X and a Y value. More...
 
struct  tmp::merge_intervals< Inter1, Inter2 >
 Merge two intervals. More...
 
struct  tmp::merge_intervals< Inter1, Inter2 >::copy_cond< Iter, Begin >
 Copy condition when zipping an interval. More...
 
struct  tmp::merge_intervals< Inter1, Inter2 >::copy_cond< Begin, Begin >
 Copy condition when zipping an interval. More...
 
struct  tmp::merge_intervals< Inter1, Inter2 >::compare_by_y_desc< BP1, BP2 >
 comparison condition to sort in descending order by y More...
 
struct  tmp::merge_intervals< Inter1, Inter2 >::compare_by_x_asc< BP1, BP2 >
 comparison condition to sort in ascending order by x More...
 

Namespaces

 tmp
 template metaprogramming functions
 

Typedefs

typedef std::giga tmp::ratio_infinite
 define giga as the infinite as it fits into 32 bits
 

Functions

template<class interval >
int tmp::eval_interval (double r)
 Evaluate an interval at a given distance. More...
 
template<>
int tmp::eval_interval< tmp::vector<> > (double)
 error terminating case of eval_interval
 

Detailed Description

A compile time interval.

Intervals are used for evaluating qudrature orders when integrating distance dependent kernels.

Definition in file interval.hpp.