[petsc-dev] raw data BAIJ matrix

Barry Smith bsmith at mcs.anl.gov
Thu Mar 27 07:53:17 CDT 2014


   You can include <../src/mat/impls/baij/mpi/mpibaij.h>  and then access the data structures directly. Note that depending on what you want, mpi or seq, just the numerical values or the block column indices you need to access different structure entries


   Barry

On Mar 26, 2014, at 11:17 PM, Matthew Knepley <knepley at gmail.com> wrote:

> On Wed, Mar 26, 2014 at 11:13 PM, Jose David Bermeol <jbermeol at purdue.edu> wrote:
> Hi, How can I get a pointer to the data of a BAIJ matrix.
> 
> You might have to write that function.
> 
>   Matt
>  
> Thanks
> 
> 
> 
> -- 
> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
> -- Norbert Wiener




More information about the petsc-dev mailing list