rheolef  6.6
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();
20  size_type seq_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;
24  size_type dis_locate (
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
point - vertex of a mesh
Definition: point.h:22
array< T, M >::size_type size_type
Definition: geo_locate.h:14
geo_locate_abstract_rep< T, M > * _ptr
Definition: geo_locate.h:29
size_type seq_locate(const geo_base_rep< T, M > &omega, const point_basic< T > &x, size_type dis_ie_guest=std::numeric_limits< size_type >::max()) const
Definition: geo_locate.cc:427
irheostream, orheostream - large data streams
Definition: compiler.h:7
static geo_locate_abstract_rep< T, M > * make_ptr(const geo_base_rep< T, M > &omega)
geo_locate< T, M > & operator=(const geo_locate< T, M > &)
Definition: geo_locate.h:17
geo_locate(const geo_locate< T, M > &)
Definition: geo_locate.h:16
boost::proto::result_of::make_expr< boost::proto::tag::function, vec_domain, const vec_detail::max_, const int &, const vec< T, M > & >::type max(const int &x, const vec< T, M > &y)
reference_element_H::size_type size_type
size_type dis_locate(const geo_base_rep< T, M > &omega, const point_basic< T > &x, size_type dis_ie_guest=std::numeric_limits< size_type >::max()) const
Definition: geo_locate.cc:437