[deal.II] undefined reference link error of refinement under parallel framework

2018-03-17 Thread Qing Yin
Dear community, I tried to put adaptive_refinement function into separate files. It works pretty well without parallel. But I get a link error when using the parallel framework, which said: undefined reference to `void dealii::parallel::distributed::GridRefinement::refine_and_coarsen_fixed_n

[deal.II] Re: undefined reference link error of refinement under parallel framework

2018-03-17 Thread Daniel Arndt
Qing, parallel::diistributed::Triangulation doesn't support dim==1. Therefore, parallel::distributed::GridRefinement::refine_and_coarsen_fixed_number is not instantiated for this case indeed. If you want to do computations in 1d, you have to use the regular (serial) Triangulation class or the p

Re: [deal.II] Re: undefined reference link error of refinement under parallel framework

2018-03-17 Thread Qing Yin
Dear Daniel, Thanks for your tip. I solved that problem after deleting the 1d instantiation. Best, Qing -- 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