Re: [Libmesh-users] libmesh_ex3 does not work with TRI3?

2017-08-14 Thread Renato Poli
Hi Roy, I am into creating a FEMContext object to evaluate the solution at any (x,y). I saw an example in "fem_system/fem_system_ex1" but could not figure out exactly what is going on. Navigating in the discussion list, I found the thread

Re: [Libmesh-users] libmesh_ex3 does not work with TRI3?

2017-08-10 Thread Renato Poli
>> But if you're writing GUI code you're probably stuck calling those methods from a single process, right? True - at least that is how I thought it through. Graphical visualization is essential in this effort ... >> If you need to, then that's when to do it. Good to hear I am not completely

Re: [Libmesh-users] libmesh_ex3 does not work with TRI3?

2017-08-10 Thread Roy Stogner
On Thu, 10 Aug 2017, Renato Poli wrote: >> If you want remote DoF values in parallel you have to sync or serialize them yourself. If I understood, this serialization should be done upfront once, before iterating through the elements. Ideally, this serialization is done *never*. But if

Re: [Libmesh-users] libmesh_ex3 does not work with TRI3?

2017-08-10 Thread Renato Poli
Ok. I got it. >> If you want remote DoF values in parallel you have to sync or serialize them yourself. If I understood, this serialization should be done upfront once, before iterating through the elements. As in introduction_ex4, it seems that the parallelization is confined in "solve", which

Re: [Libmesh-users] libmesh_ex3 does not work with TRI3?

2017-08-10 Thread Roy Stogner
On Thu, 10 Aug 2017, Renato Poli wrote: Now I am trying to solve the Poisson equation (as if there were no storage and no compressibility in the media) and to plot the results in my GUI. As I understood from your notes, something like that is going to work - right?    | foreach e=element in

Re: [Libmesh-users] libmesh_ex3 does not work with TRI3?

2017-08-10 Thread Roy Stogner
On Wed, 9 Aug 2017, Renato Poli wrote: I have a GUI interface to the elements on the mesh. I want to plot the solutions into each degree of freedom (a color scale or so). Is there an example that shows the best way to extract the solution from the EquationSystem This is sort of an

Re: [Libmesh-users] libmesh_ex3 does not work with TRI3?

2017-08-09 Thread Renato Poli
Hi Roy, Things worked fine here. I have a GUI interface to the elements on the mesh. I want to plot the solutions into each degree of freedom (a color scale or so). Is there an example that shows the best way to extract the solution from the EquationSystem and the global dof id of each vertex of

Re: [Libmesh-users] libmesh_ex3 does not work with TRI3?

2017-08-09 Thread Renato Poli
Hi Roy, Yes, I meant introduction_ex3 - sorry for that. I will move forward with your advices. Thanks for the answer. Renato On Tue, Aug 8, 2017 at 11:10 AM, Roy Stogner wrote: > > On Mon, 7 Aug 2017, Renato Poli wrote: > > I am getting started in libmesh - I've been

Re: [Libmesh-users] libmesh_ex3 does not work with TRI3?

2017-08-08 Thread Roy Stogner
On Mon, 7 Aug 2017, Renato Poli wrote: I am getting started in libmesh - I've been using it for a month now. I used libmesh introductory example 3 (libmesh_ex3) as a reference for my problem. I assume you mean introduction_ex3? The idea is to replace the mesh by one of my one and start

[Libmesh-users] libmesh_ex3 does not work with TRI3?

2017-08-07 Thread Renato Poli
Hi, I am getting started in libmesh - I've been using it for a month now. I used libmesh introductory example 3 (libmesh_ex3) as a reference for my problem. The idea is to replace the mesh by one of my one and start from there. I noticed that libmesh_ex3 uses TRI6 or QUAD elements. In my