Re: [deal.II] Periodic Boundary conditions on Step-3 tutorial with dim != spacedim

2020-11-23 Thread Timo Heister
> Thank you for your reply. Yeah, I would definitely like try and make it work. > So, what I did was, I made some small changes in the file > 'dof_tools_constraints.inst.in '. > I just added spacedim loop for the first two 'for loop' blocks. Yes, this is probably all that is needed. > Although

Re: [deal.II] Periodic Boundary conditions on Step-3 tutorial with dim != spacedim

2020-11-23 Thread Malhar T.
Hello Timo, Thank you for your reply. Yeah, I would definitely like try and make it work. So, what I did was, I made some small changes in the file 'dof_tools_constraints.inst.in '. I just added spacedim loop for the first two 'for loop' blocks. This is how it looks after the changes, for

Re: [deal.II] Periodic Boundary conditions on Step-3 tutorial with dim != spacedim

2020-11-22 Thread Timo Heister
Hi Malhar, if you look at https://github.com/dealii/dealii/blob/a56c8585863b774de9dce5f7dd5c334ef56f3a51/source/dofs/dof_tools_constraints.inst.in#L69 you can see that it is only instantiated for DoFHandler meaning only for dim=spacedim (the second argument is the default right now). Instead,