Re: [Libmesh-users] TetGen mesh interface's "triangulate_pointset()" stop running

2016-10-03 Thread Thiago Milanetto Schlittler
Sorry for the delay, I was a bit busy fixing other stuff and could only look at TetGen today. Good news is that exchanging TetGen 1.4 for TetGen 1.5 no longer enters an infinite loop ... bad news is that I'm getting some bad triangulations now (checked the same code with the older cluster and

Re: [Libmesh-users] TetGen mesh interface's "triangulate_pointset()" stop running

2016-09-30 Thread Mike Marchywka
6 10:22 AM To: Thiago Milanetto Schlittler Cc: libmesh-users Subject: Re: [Libmesh-users] TetGen mesh interface's "triangulate_pointset()" stop running   On Sat, Sep 24, 2016 at 9:19 AM, Thiago Milanetto Schlittler < [email protected]> wrote: > Hello! > >

Re: [Libmesh-users] TetGen mesh interface's "triangulate_pointset()" stop running

2016-09-26 Thread John Peterson
On Mon, Sep 26, 2016 at 8:43 AM, Paul T. Bauman wrote: > On Mon, Sep 26, 2016 at 10:39 AM, Thiago Milanetto Schlittler < > [email protected]> wrote: > >> In theory, I could try to do >> the triangulation with CGAL , which I'm already >> using to find the intersections ... >

Re: [Libmesh-users] TetGen mesh interface's "triangulate_pointset()" stop running

2016-09-26 Thread Paul T. Bauman
On Mon, Sep 26, 2016 at 10:39 AM, Thiago Milanetto Schlittler < [email protected]> wrote: > In theory, I could try to do > the triangulation with CGAL , which I'm already > using to find the intersections ... > Sorry to hijack this thread, but would you mind/is it possible

Re: [Libmesh-users] TetGen mesh interface's "triangulate_pointset()" stop running

2016-09-26 Thread Thiago Milanetto Schlittler
Huh, I'll look at tetgen v. 1.5 and ctetgen (right now, the cluster where I'm having some problems is offline). In theory, I could try to do the triangulation with CGAL , which I'm already using to find the intersections ... but its triangulation construction is quite a bit

Re: [Libmesh-users] TetGen mesh interface's "triangulate_pointset()" stop running

2016-09-26 Thread John Peterson
On Sat, Sep 24, 2016 at 9:19 AM, Thiago Milanetto Schlittler < [email protected]> wrote: > Hello! > > I'm having a weird problem with the method "triangulate_pointset()", > from the TetGenMeshInterface class. Essentially, it seems like it is > stalling after several calls. In my code, I have

Re: [Libmesh-users] TetGen mesh interface's "triangulate_pointset()" stop running

2016-09-24 Thread Mike Marchywka
> Subject: Re: [Libmesh-users] TetGen mesh interface's "triangulate_pointset()" > stop running > To: [email protected]; [email protected] > From: [email protected] > Date: Sun, 25 Sep 2016 00:1

Re: [Libmesh-users] TetGen mesh interface's "triangulate_pointset()" stop running

2016-09-24 Thread Thiago Milanetto Schlittler
forge.net >> From: [email protected] >> Date: Sat, 24 Sep 2016 17:19:56 +0200 >> Subject: [Libmesh-users] TetGen mesh interface's "triangulate_pointset()" >> stop running >> >> Hello! >> >> I'm having a weird problem with the met

Re: [Libmesh-users] TetGen mesh interface's "triangulate_pointset()" stop running

2016-09-24 Thread Mike Marchywka
> To: [email protected] > From: [email protected] > Date: Sat, 24 Sep 2016 17:19:56 +0200 > Subject: [Libmesh-users] TetGen mesh interface's "triangulate_pointset()" > stop running > > Hello! >

[Libmesh-users] TetGen mesh interface's "triangulate_pointset()" stop running

2016-09-24 Thread Thiago Milanetto Schlittler
Hello! I'm having a weird problem with the method "triangulate_pointset()", from the TetGenMeshInterface class. Essentially, it seems like it is stalling after several calls. In my code, I have to calculate several polyhedron intersections and mesh them. To do so, I built a Mesh_Intersecti

Re: [Libmesh-users] tetgen subregions

2011-08-17 Thread John Peterson
On Wed, Aug 17, 2011 at 3:25 AM, robert wrote: > Am Montag, den 15.08.2011, 08:03 -0600 schrieb John Peterson: >> On Fri, Aug 12, 2011 at 4:21 AM, robert wrote: >> > Hello, >> > >> > again, I have a question as far as reading meshes with tetgen is >> > concered. >> > I read a mesh by >> > >> > Me

Re: [Libmesh-users] tetgen subregions

2011-08-17 Thread robert
Am Montag, den 15.08.2011, 08:03 -0600 schrieb John Peterson: > On Fri, Aug 12, 2011 at 4:21 AM, robert wrote: > > Hello, > > > > again, I have a question as far as reading meshes with tetgen is > > concered. > > I read a mesh by > > > > Mesh new_mesh; > > EquationSystems new_equation_systems (new

Re: [Libmesh-users] tetgen subregions

2011-08-15 Thread John Peterson
On Fri, Aug 12, 2011 at 4:21 AM, robert wrote: > Hello, > > again, I have a question as far as reading meshes with tetgen is > concered. > I read a mesh by > > Mesh new_mesh; > EquationSystems new_equation_systems (new_mesh); > TetGenIO TETGEN(new_mesh); > > OStringStream inmesh; > inmesh<<"geomet

Re: [Libmesh-users] tetgen subregions

2011-08-12 Thread robert
Hello, again, I have a question as far as reading meshes with tetgen is concered. I read a mesh by Mesh new_mesh; EquationSystems new_equation_systems (new_mesh); TetGenIO TETGEN(new_mesh); OStringStream inmesh; inmesh<<"geometry_wings/export_pov/out/"

Re: [Libmesh-users] tetgen subregions

2011-08-04 Thread John Peterson
On Thu, Aug 4, 2011 at 10:42 AM, robert wrote: > I just have to disturb you with an other question. After reading the > mesh with the TetGenIO object I have invalid boundary id's. So, I tried > to loop through the elements and their sides and do something like: > > mesh.boundary_info->boundary_id

Re: [Libmesh-users] tetgen subregions

2011-08-04 Thread robert
I just have to disturb you with an other question. After reading the mesh with the TetGenIO object I have invalid boundary id's. So, I tried to loop through the elements and their sides and do something like: mesh.boundary_info->boundary_id (elem,s) = (short int) 0; Since the above function is d

Re: [Libmesh-users] tetgen subregions

2011-08-04 Thread John Peterson
On Thu, Aug 4, 2011 at 8:07 AM, robert wrote: > I tried to add the vectors myself because > with libmesh-version 0.7.1 I get the following errors: > > ThermoPaine3d.C: In function ‘int main(int, char**)’: > ThermoPaine3d.C:238: error: ‘class libMesh::TetGenIO’ has no member > named ‘element_attrib

Re: [Libmesh-users] tetgen subregions

2011-08-04 Thread robert
I tried to add the vectors myself because with libmesh-version 0.7.1 I get the following errors: ThermoPaine3d.C: In function ‘int main(int, char**)’: ThermoPaine3d.C:238: error: ‘class libMesh::TetGenIO’ has no member named ‘element_attributes’ ThermoPaine3d.C:239: error: ‘class libMesh::TetGenIO

Re: [Libmesh-users] tetgen subregions

2011-08-04 Thread John Peterson
On Thu, Aug 4, 2011 at 3:48 AM, robert wrote: > Hi, > > could you just tell me how you implemented the public members > 'element_attributes' and 'node_attributes'? In tetgen_io.C I just tried: > > std::vector el_attr; >  // Read attributes from the stream. >      for (unsigned int j=0; j          

Re: [Libmesh-users] tetgen subregions

2011-08-04 Thread robert
Hi, could you just tell me how you implemented the public members 'element_attributes' and 'node_attributes'? In tetgen_io.C I just tried: std::vector el_attr; // Read attributes from the stream. for (unsigned int j=0; j> dummy; ///roberts_region.push_back(dummy); /// b

Re: [Libmesh-users] tetgen subregions

2011-08-03 Thread John Peterson
On Wed, Aug 3, 2011 at 12:36 PM, robert wrote: > Hi John, > > I found a simple way to work around the problem. I just added a public > vector > > std::vector roberts_region; > > to the class TetGenIO. In the according function TetGenIO::read(...) the > following is already implemented: > > // Read

Re: [Libmesh-users] tetgen subregions

2011-08-03 Thread robert
Hi John, I found a simple way to work around the problem. I just added a public vector std::vector roberts_region; to the class TetGenIO. In the according function TetGenIO::read(...) the following is already implemented: // Read attributes from the stream. for (unsigned int j=0; j> dummy; .

Re: [Libmesh-users] tetgen subregions

2011-08-03 Thread John Peterson
On Wed, Aug 3, 2011 at 7:10 AM, robert wrote: > Hi to all, > > I want to read a mesh from a tetgen-output file. In tetgen I have > specified different regions. Now I am trying to read the mesh by: > > Mesh new_mesh; > new_mesh.read("mesh/almirante_box.1.ele"); > > > Here are the first lines of my

[Libmesh-users] tetgen subregions

2011-08-03 Thread robert
Hi to all, I want to read a mesh from a tetgen-output file. In tetgen I have specified different regions. Now I am trying to read the mesh by: Mesh new_mesh; new_mesh.read("mesh/almirante_box.1.ele"); Here are the first lines of my *.ele file: 542385 4 1 1 16340 63454 13

Re: [Libmesh-users] tetgen meshes and contains_point function

2010-09-06 Thread Roy Stogner
On Sat, 4 Sep 2010, Karen Lee wrote: > I'm having an issue with the contains_point function in the Elem class. I'm > some inconsistencies. Namely, For the same mesh and same points (not nodes) > to test whether the points are in the mesh, I'm getting true sometimes and > false some other time. To

[Libmesh-users] tetgen meshes and contains_point function

2010-09-04 Thread Karen Lee
Dear libmesh users and developers, I'm having an issue with the contains_point function in the Elem class. I'm some inconsistencies. Namely, For the same mesh and same points (not nodes) to test whether the points are in the mesh, I'm getting true sometimes and false some other time. To provide an

Re: [Libmesh-users] tetgen

2008-08-24 Thread John Peterson
On Sun, Aug 24, 2008 at 7:20 PM, Manav Bhatia <[EMAIL PROTECTED]> wrote: > Hi, > > I noticed that the compiler options in Makefile in contrib/tetgen is > > libmesh_CXXFLAGS := -DNDEBUG -DTRILIBRARY -fPIC > > I am curious to know if this should be -DTETLIBRARY instead of > TRILIBRARY, since the co

[Libmesh-users] tetgen

2008-08-24 Thread Manav Bhatia
Hi, I noticed that the compiler options in Makefile in contrib/tetgen is libmesh_CXXFLAGS := -DNDEBUG -DTRILIBRARY -fPIC I am curious to know if this should be -DTETLIBRARY instead of TRILIBRARY, since the code of tetgen.C have ifdef statements referring to TETLIBRARY. Regards, Manav -