Dear Wolfgang, 

yes you are right, i did some mistakes in the initialization step and it 
ends up the pointer taking the kdtree is nullptr. 

thank you. 

BR, 
Ihsan

On Tuesday, January 14, 2020 at 1:08:32 PM UTC+1, A.Z Ihsan wrote:
>
> Hi,
>
> i have question regarding the kdtree class in deal ii, though it has 
> become a deprecated class, but for my particular problem it might be 
> helpful. 
> suppose i have a class
>
> template<int dim>
>
> class A
> {
> public: 
>     A();
>     
> private:
>     KDTree<dim> kdtree;
> };
>
>
>
> the question is how we can get a get function to the return the private 
> kdtree, e.g. A::get_kdtree() ? i still could not figure out what is the 
> type of the KDTree object. 
>
> BR, 
> Ihsan
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/6e3712f1-99df-4409-af6e-52d1256ad89e%40googlegroups.com.

Reply via email to