Re: [Libmesh-users] Partition a mesh along a direction

2016-07-01 Thread Harshad Sahasrabudhe
> > In general, it's best to give up on ideas like "tri-diagonal matrices" > when using a general, multi-dimensional, mesh-adaptive finite-element > code. The set of problems that could actually generate tri-diagonal > matrices is incredibly small. Don't worry about the matrix and just use a > goo

Re: [Libmesh-users] Partition a mesh along a direction

2016-07-01 Thread John Peterson
On Fri, Jul 1, 2016 at 12:43 PM, Harshad Sahasrabudhe wrote: > Thanks! I don't necessarily want to place each partition on a processor. > The idea is to renumber the DOF indices such that the matrix looks like a > block tri-diagonal matrix. I am limited to first order Lagrange elements > and prob

Re: [Libmesh-users] Partition a mesh along a direction

2016-07-01 Thread Derek Gaston
In general, it's best to give up on ideas like "tri-diagonal matrices" when using a general, multi-dimensional, mesh-adaptive finite-element code. The set of problems that could actually generate tri-diagonal matrices is incredibly small. Don't worry about the matrix and just use a good solver li

Re: [Libmesh-users] Partition a mesh along a direction

2016-07-01 Thread Harshad Sahasrabudhe
Thanks! I don't necessarily want to place each partition on a processor. The idea is to renumber the DOF indices such that the matrix looks like a block tri-diagonal matrix. I am limited to first order Lagrange elements and probably a trapezoidal integration rule. If I call renumber_nodes_and_elem

Re: [Libmesh-users] Partition a mesh along a direction

2016-07-01 Thread Derek Gaston
Renumbering and Partitioning are two different things. You can partition along an axis using: https://github.com/libMesh/libmesh/blob/master/include/partitioning/linear_partitioner.h Derek On Fri, Jul 1, 2016 at 2:26 PM Harshad Sahasrabudhe wrote: > Hi, > > Is it possible to partition a 3D mes

[Libmesh-users] Partition a mesh along a direction

2016-07-01 Thread Harshad Sahasrabudhe
Hi, Is it possible to partition a 3D mesh along x axis using the ParMetis wrapper in LibMesh? I want to renumber the nodes and elements such that the numbering is ordered from minimum x to maximum x. Thanks! Harshad -- At