Re: [deal.II] How can I display a 1d triangulation?

2018-02-14 Thread Yotam Avital
OK, thanks. On Tuesday, February 13, 2018 at 4:14:29 PM UTC+2, Wolfgang Bangerth wrote: > > On 02/13/2018 03:05 AM, Yotam Avital wrote: > > > > I was hoping this is to due with GridOut trying to use its 2d method on > my 1d > > triangulation, so I after going through the code, I added the

Re: [deal.II] How can I display a 1d triangulation?

2018-02-13 Thread Wolfgang Bangerth
On 02/13/2018 03:05 AM, Yotam Avital wrote: I was hoping this is to due with GridOut trying to use its 2d method on my 1d triangulation, so I after going through the code, I added the following | GridOutFlags::Eps<1>epsflag; grid_out.set_flags(epsflag); | right before I write the grid to

[deal.II] How can I display a 1d triangulation?

2018-02-13 Thread Yotam Avital
This is a seemingly simple problem. I want to develop a code to model a 1d system of equations. I decided to go through the tutorial and add/change what I need in my model. I use python regularly, but my c skills are rusty (to say the least). I changed the stap-1 code file from (line 39)