Re: [deal.II] Applying Multi Point Constraints

2016-09-07 Thread RAJAT ARORA
Respected Prof. Wolfgang, I really appreciate your taking the time to reply. Thank you very much. Yes, by middle element I mean the central layer of the mesh. Yes you are right. It turns out this is the problem. I was creating a hyper_rectangle using grid generation class. Then 4 and 5 correspo

Re: [deal.II] Applying Multi Point Constraints

2016-09-07 Thread Wolfgang Bangerth
Yes you are right. It turns out this is the problem. I was creating a hyper_rectangle using grid generation class. Then 4 and 5 corresponded to the -/+ z surface. (I used hard coded numbers as it saved time for looping over all the elements.) > > Now when I am using the same mesh but now readin

Re: [deal.II] Applying Multi Point Constraints

2016-09-07 Thread RAJAT ARORA
Respected Prof. Wolfgang, I really appreciate your taking the time to reply. Thank you very much. Yes, by middle element I mean the central layer of the mesh. Yes you are right. It turns out this is the problem. I was creating a hyper_rectangle using grid generation class. Then 4 and 5 correspo

Re: [deal.II] Re: Failing to set up simple test configuration

2016-09-07 Thread Wolfgang Bangerth
On 09/07/2016 06:56 AM, Alex Zimmerman wrote: After some brief Googling, I think I might even be able to fix this issue if I could find where the code is that is causing the error "Can't do inplace edit on /mnt/c/Users/Alexander/UbuntuShared/dimice-heat-dealii/build/tests/cylinder.debug/output:

Re: [deal.II] Applying Multi Point Constraints

2016-09-07 Thread Wolfgang Bangerth
Lets say I have a mesh with 10 X 10 X 3 elements. I want to apply constraints such that all the dofs on the +z surface of the middle element are constrained to be equal to the corresponding dofs on the -z surface of the middle element. What is the "middle" element? The central layer of your m

Re: [deal.II] Re: Failing to set up simple test configuration

2016-09-07 Thread Matthias Maier
On Wed, Sep 7, 2016, at 11:43 CDT, Timo Heister wrote: > Hey Alex, > > I am not surprised you are running into issues, because you are the > first one to try "ubuntu on windows" to compile deal.II with (at least > as far as I know). > > It could be a permission problem that you are running into

Re: [deal.II] Re: Failing to set up simple test configuration

2016-09-07 Thread Timo Heister
Hey Alex, I am not surprised you are running into issues, because you are the first one to try "ubuntu on windows" to compile deal.II with (at least as far as I know). It could be a permission problem that you are running into, who knows. Would you mind sharing you deal.II detailed.log? On Wed,

Re: [deal.II] Question concerning BlockSparsityPattern.copy_from() member function

2016-09-07 Thread Bruno Turcksin
Dustin, 2016-09-07 11:07 GMT-04:00 Dustin Kumor : > I'm using the function "add_entries" only in combination with the > DynamicSparsityPattern and not with the SparsityPattern class. Moreover, it > seems that the DynamicSparsityPattern class doesn't even have a "copy_form" > function. So I do not

Re: [deal.II] Question concerning BlockSparsityPattern.copy_from() member function

2016-09-07 Thread Dustin Kumor
Dear Martin, dear Bruno, I'm sorry for giving a feedback to your answers that late, but I have been really busy with another project and had no time to deal with this problem. @Martin: After applying the patch I get the same run time results as you did. So thank you for figuring out and fixing

[deal.II] Re: nearest neighbor

2016-09-07 Thread Daniel Arndt
Joel, In GridTools::find_cells_adjacent_to_vertex(dof_handler,center_id) you need to give the number of the vertex_number as center_id, not the number of the degree of freedom. Then, you want to use Quadrature quadrature_formula(dof_handler.get_fe().get_unit_support_points()); to create a Q

[deal.II] Re: Failing to set up simple test configuration

2016-09-07 Thread Jean-Paul Pelteret
Hi Alex, Great, many thanks for your useful feedback. I've alerted the other developers to your comments so that they can be considered in the discussion about getting deal.II to properly on windows.

Re: [deal.II] FE_TraceQ using GaussLobatto nodes

2016-09-07 Thread Praveen C
Hello Martin, On Wed, Sep 7, 2016 at 11:28 AM, Martin Kronbichler < kronbichler.mar...@gmail.com> wrote: > Dear Praveen, > > > > The documentation says that GaussLobatto node-based FE_TraceQ will be > > implemented in future. Is there any estimate on when this will be > > available ? > The docume

[deal.II] Re: Failing to set up simple test configuration

2016-09-07 Thread Alex Zimmerman
The recent Windows 10 "Anniversary Update" included an entire built-in Ubuntu (14.04) subsystem: https://msdn.microsoft.com/en-us/commandline/wsl/about I've built a few different versions of deal.II on this system, including the candi build with Trilinos, p4est, etc. This was all painless, so

[deal.II] Applying Multi Point Constraints

2016-09-07 Thread RAJAT ARORA
Hello all, I am trying to apply multi point constraints to a 3D solid mechanics problem. My code used P4est, and PetSc. Lets say I have a mesh with 10 X 10 X 3 elements. I want to apply constraints such that all the dofs on the +z surface of the middle element are constrained to be equal to th

[deal.II] Re: Failing to set up simple test configuration

2016-09-07 Thread Jean-Paul Pelteret
Great, glad that you sorted it out! By the way, there's recently been a discussion on GitHub related to running deal.II on windows. Its interesting to hear that you've got it running on Windows 10. Out of curiosity, how have you configured deal.II?

[deal.II] Re: Failing to set up simple test configuration

2016-09-07 Thread Alex Zimmerman
I should add that I'm still quite curious as to why this problem occurs; but I don't expect anyone to want to spend time debugging an "Ubuntu on Windows" problem. This is the first issue I've had with the file system. Other outputs write perfectly fine. On Wednesday, September 7, 2016 at 10:07

[deal.II] Re: Failing to set up simple test configuration

2016-09-07 Thread Alex Zimmerman
Actually numdiff was already installed; I think that error was referring to the file simply not existing. See my latest reply. Thanks for your time! On Wednesday, September 7, 2016 at 10:05:38 AM UTC+2, Jean-Paul Pelteret wrote: > > Hi Alex, > > numdiff: output: No such file or directory >> > /u

[deal.II] Re: Failing to set up simple test configuration

2016-09-07 Thread Alex Zimmerman
This might be a problem with my file system. I've been successfully using the Ubuntu subsystem on Windows 10 for the past few weeks, and that's where the odd "/mnt/c/Users..." path comes from in my question. I just tried this again at my home directory, and it worked. I thought I had tried runn

[deal.II] Re: Failing to set up simple test configuration

2016-09-07 Thread Jean-Paul Pelteret
Hi Alex, numdiff: output: No such file or directory > /usr/bin/diff: output: No such file or directory > It appears that you might be missing some of the programs necessary to check your test's output against the "blessed" result. Can you you check that you have numdiff and diff installed and i