## Re: [Libmesh-users] xda format

 Re: [Libmesh-users] xda format From: Benjamin Kirk - 2008-04-23 16:21:30 ```> I am using Triangle separately to build a specific mesh and I am writing a > filter to convert it in xda format. However there is a variable "Sum of > Element Weights" which I don't know how to calculate knowing the number of > elements, its nodes and cooodinates. > Can anyone give me an hint? > Thanks in advance, > Paulo The sum of element weights is the size of the connectivity, simply the sum for all elements of the number of nodes in the element. For a mesh purely composed of 3-noded triangles it is simply 3*n_elem. -Ben ```

 [Libmesh-users] xda format From: Paulo Correia - 2008-04-23 15:39:22 ```Hello, I am using Triangle separately to build a specific mesh and I am writing a filter to convert it in xda format. However there is a variable "Sum of Element Weights" which I don't know how to calculate knowing the number of elements, its nodes and cooodinates. Can anyone give me an hint? Thanks in advance, Paulo ```
 Re: [Libmesh-users] xda format From: Benjamin Kirk - 2008-04-23 16:21:30 ```> I am using Triangle separately to build a specific mesh and I am writing a > filter to convert it in xda format. However there is a variable "Sum of > Element Weights" which I don't know how to calculate knowing the number of > elements, its nodes and cooodinates. > Can anyone give me an hint? > Thanks in advance, > Paulo The sum of element weights is the size of the connectivity, simply the sum for all elements of the number of nodes in the element. For a mesh purely composed of 3-noded triangles it is simply 3*n_elem. -Ben ```
 Re: [Libmesh-users] xda format From: Roy Stogner - 2008-04-23 16:38:54 ```On Wed, 23 Apr 2008, Paulo Correia wrote: > I am using Triangle separately to build a specific mesh and I am > writing a filter to convert it in xda format. However there is a > variable "Sum of Element Weights" which I don't know how to > calculate knowing the number of elements, its nodes and cooodinates. It's the sum of the number of nodes on each element, IIRC. So if your mesh is a quad4 sharing an edge with a tri3, you'd have 5 nodes, but the sum of the element weights would be 4+3=7. --- Roy ```