rheolef  6.5
geo_locate.h
Go to the documentation of this file.
1 #ifndef _RHEOLEF_GEO_LOCATE_H
2 #define _RHEOLEF_GEO_LOCATE_H
3 #include "rheolef/point.h"
4 #include "rheolef/array.h"
5 
6 namespace rheolef {
7 
8 template <class T, class M> class geo_base_rep;
9 template <class T, class M> class geo_locate_abstract_rep;
10 
11 template <class T, class M>
12 class geo_locate {
13 public:
14  typedef typename array<T,M>::size_type size_type;
15  geo_locate() : _ptr(0) {}
16  geo_locate(const geo_locate<T,M>&) { _ptr = 0; }
17  geo_locate<T,M>& operator= (const geo_locate<T,M>&) { _ptr = 0; return *this; }
18  ~geo_locate();
21  const geo_base_rep<T,M>& omega,
22  const point_basic<T>& x,
23  size_type dis_ie_guest = std::numeric_limits<size_type>::max()) const;
25  const geo_base_rep<T,M>& omega,
26  const point_basic<T>& x,
27  size_type dis_ie_guest = std::numeric_limits<size_type>::max()) const;
28 protected:
30 };
31 
32 } // namespace rheolef
33 #endif // _RHEOLEF_GEO_LOCATE_H
34