Re: [petsc-users] Building a rectangular MPI matrix relating to PetscSections

2015-07-14 Thread Jed Brown
Alejandro D Otero writes: > Hi all, is it posible to build a rectangular matrix that relates two fields > with (posible) different number of DoF per point defining the nonzero > structure from 2 petscsections representing one field each? There isn't a "convenience function", but of course you ca

[petsc-users] Building a rectangular MPI matrix relating to PetscSections

2015-07-13 Thread Alejandro D Otero
Hi all, is it posible to build a rectangular matrix that relates two fields with (posible) different number of DoF per point defining the nonzero structure from 2 petscsections representing one field each? As an example, I want to build an operator that given a 2D velocity computes the correspondi