Re: [deal.II] Interpolation between FE_Q- and FE_Bernstein elements

2019-05-30 Thread 'Maxi Miller' via deal.II User Group
On a second test I found out that by resetting the out-vector to 0 I get the expected output, regardless of direction. Does that make sense? Am Donnerstag, 30. Mai 2019 22:25:59 UTC+2 schrieb Maxi Miller: > > That means that I don't have to create that matrix myself, but rather use > the matrix

Re: [deal.II] Interpolation between FE_Q- and FE_Bernstein elements

2019-05-30 Thread 'Maxi Miller' via deal.II User Group
That means that I don't have to create that matrix myself, but rather use the matrix I get from FE_Q_*::get_interpolation_matrix()? The most interesting bug my code has at the moment is: Q(a)->B(b): I get identical vectors, i.e. a == b B(b)->Q(a): Vectors are not identical anymore, a != b Q(a)->B

Re: [deal.II] Interpolation between FE_Q- and FE_Bernstein elements

2019-05-30 Thread Wolfgang Bangerth
On 5/30/19 9:06 AM, 'Maxi Miller' via deal.II User Group wrote: > I wanted to write some functions to convert my solution from using > FE_Q-elements to FE_Bernstein-elements (and back). For that I wrote two > functions, convert_feQ_to_feB() and convert_feB_to_feQ() (as listed in the > attachment

[deal.II] Interpolation between FE_Q- and FE_Bernstein elements

2019-05-30 Thread 'Maxi Miller' via deal.II User Group
I wanted to write some functions to convert my solution from using FE_Q-elements to FE_Bernstein-elements (and back). For that I wrote two functions, convert_feQ_to_feB() and convert_feB_to_feQ() (as listed in the attachment). When converting from FE_Q-elements to FE_Bernstein-elements, I get t

Re: [deal.II] Re: error while using refine_and_coarsen_fixed_number

2019-05-30 Thread Darius Barreto
Dear Bruno, I agree to you. But I am dealing with the one dimensional rod theory and I want to understand more complicated deformation modes, so I go for spacedim 3. On Thu, May 30, 2019 at 6:41 PM Bruno Turcksin wrote: > Darius, > > Le jeu. 30 mai 2019 à 08:48, Darius Barreto a > écrit : > >

Re: [deal.II] Re: error while using refine_and_coarsen_fixed_number

2019-05-30 Thread Bruno Turcksin
Darius, Le jeu. 30 mai 2019 à 08:48, Darius Barreto a écrit : > Thanks for the reply. By saying spacedim 3, I mean that the rod (being one > dimensional) can deform in the three dimensional space. Sure but does the deformation happens in a plan. If you bend a rod, the deformation is in a plan so

Re: [deal.II] Re: error while using refine_and_coarsen_fixed_number

2019-05-30 Thread Darius Barreto
Thanks for the reply. By saying spacedim 3, I mean that the rod (being one dimensional) can deform in the three dimensional space. On Thu, May 30, 2019 at 6:11 PM Bruno Turcksin wrote: > Darius, > > On Thursday, May 30, 2019 at 7:27:47 AM UTC-4, Darius Barreto wrote: > >> I am working with adapt

[deal.II] Re: error while using refine_and_coarsen_fixed_number

2019-05-30 Thread Bruno Turcksin
Darius, On Thursday, May 30, 2019 at 7:27:47 AM UTC-4, Darius Barreto wrote: > I am working with adaptive meshing for a one dimensional rod problem. The > function* refine_and_coarsen_fixed_number *has not been instantiated for > the class template parameters?. > No it hasn't. You can't do dim=

[deal.II] error while using refine_and_coarsen_fixed_number

2019-05-30 Thread Darius Barreto
Hello everyone, I am working with adaptive meshing for a one dimensional rod problem. The function* refine_and_coarsen_fixed_number *has not been instantiated for the class template parameters?. I am getting the following error message. /home/darius/elastic_deadtest_adaptive/dead_load_adaptive.