Re: [Libmesh-users] DistMesh with libMesh usage

2018-06-08 Thread John Peterson
On Fri, Jun 8, 2018 at 1:40 PM, Amneet Bhalla wrote: > Cool, thanks! It worked. > > Just to be sure the element type would be TRI3 for MatlabIO? Is there any > libMesh internal magic that can make it TRI6? > Sure, after reading it in you can call mesh.all_second_order(); to convert to TRI6. -

Re: [Libmesh-users] DistMesh with libMesh usage

2018-06-08 Thread Amneet Bhalla
Cool, thanks! It worked. Just to be sure the element type would be TRI3 for MatlabIO? Is there any libMesh internal magic that can make it TRI6? On Fri, Jun 8, 2018 at 12:08 PM John Peterson wrote: > > > On Fri, Jun 8, 2018 at 12:53 PM, Amneet Bhalla > wrote: > >> Nevermind. I read the actual

Re: [Libmesh-users] DistMesh with libMesh usage

2018-06-08 Thread John Peterson
On Fri, Jun 8, 2018 at 12:53 PM, Amneet Bhalla wrote: > Nevermind. I read the actual comment in ./include/mesh/matlab_io.h file. > There are indeed new lines. > > (Sorry for the noise) > Ah, yeah it looks like these lines need to be in a \verbatim section so that Doxygen doesn't replace \n chara

Re: [Libmesh-users] DistMesh with libMesh usage

2018-06-08 Thread Amneet Bhalla
Nevermind. I read the actual comment in ./include/mesh/matlab_io.h file. There are indeed new lines. (Sorry for the noise) On Fri, Jun 8, 2018 at 11:40 AM Amneet Bhalla wrote: > John looks like this is what I need. I following the script given on > > http://libmesh.github.io/doxygen/classlibMes

Re: [Libmesh-users] DistMesh with libMesh usage

2018-06-08 Thread Amneet Bhalla
John looks like this is what I need. I following the script given on http://libmesh.github.io/doxygen/classlibMesh_1_1MatlabIO.html filename = 'geometry.xda'; fid = fopen(filename, 'w'); fprintf(fid, '%d %d', length(p), length(t)); fprintf(fid, '%f %f', p); fprintf(fid, '%d %d %d %d', t); fc

Re: [Libmesh-users] DistMesh with libMesh usage

2018-06-08 Thread John Peterson
On Fri, Jun 8, 2018 at 9:57 AM, Amneet Bhalla wrote: > Hi Folks, > > Is it possible to use DistMesh with libMesh? If so, is there an example > code? > I want to use DistMesh as it generates very symmetric (well shaped) > triangulation, which is important for an application that I am considering.

Re: [Libmesh-users] DistMesh with libMesh usage

2018-06-08 Thread Paul T. Bauman
On Fri, Jun 8, 2018 at 12:03 PM David Knezevic wrote: > On Fri, Jun 8, 2018 at 11:57 AM, Amneet Bhalla > wrote: > > > Hi Folks, > > > > Is it possible to use DistMesh with libMesh? If so, is there an example > > code? > > I want to use DistMesh as it generates very symmetric (well shaped) > > tr

Re: [Libmesh-users] DistMesh with libMesh usage

2018-06-08 Thread David Knezevic
On Fri, Jun 8, 2018 at 11:57 AM, Amneet Bhalla wrote: > Hi Folks, > > Is it possible to use DistMesh with libMesh? If so, is there an example > code? > I want to use DistMesh as it generates very symmetric (well shaped) > triangulation, which is important for an application that I am considering.

[Libmesh-users] DistMesh with libMesh usage

2018-06-08 Thread Amneet Bhalla
Hi Folks, Is it possible to use DistMesh with libMesh? If so, is there an example code? I want to use DistMesh as it generates very symmetric (well shaped) triangulation, which is important for an application that I am considering. http://persson.berkeley.edu/distmesh/ Best, -- --Amneet ---