Re: [petsc-users] fieldsplit question

2025-04-04 Thread Sanjay Govindjee via petsc-users
Thanks Mark.  I think I know what to do now.  Time to start coding. -sanjay On 4/4/25 2:17 AM, Mark Adams wrote: Matt, Matt, Matt, Sanjay, (1) is the only sane option. Here is an example taken from a code that I work with. This simply has 3 fields with 12 ("stride", not a great name, should

Re: [petsc-users] fieldsplit question

2025-04-04 Thread Mark Adams
Matt, Matt, Matt, Sanjay, (1) is the only sane option. Here is an example taken from a code that I work with. This simply has 3 fields with 12 ("stride", not a great name, should be "bs") dofs on each vertex in each field (2D Bell + 1D cubic Hermite). This uses ISCreateBlock, which you might want

Re: [petsc-users] fieldsplit question

2025-04-03 Thread Matthew Knepley
On Thu, Apr 3, 2025 at 12:11 AM Sanjay Govindjee via petsc-users < petsc-users@mcs.anl.gov> wrote: > We would like to solve an FEA problem (unstructured grid) where the nodes > on the elements have different dofs. For example the corner nodes have > only dof 0 and then mid-side nodes have dofs 0,

[petsc-users] fieldsplit question

2025-04-02 Thread Sanjay Govindjee via petsc-users
We would like to solve an FEA problem (unstructured grid) where the nodes on the elements have different dofs. For example the corner nodes have only dof 0 and then mid-side nodes have dofs 0,1,2 (think 8 node serendipity element). This is a multi-physics problem so we are looking to use the fie