[petsc-dev] Missing fortran type

Barry Smith bsmith at mcs.anl.gov
Thu Jan 26 15:24:12 CST 2017


  MatStencil isn't a PETSc object. In C it is a simple C struct and in Fortran it is a PetscInt defined in petscmat.h

  src/ksp/ksp/examples/tutorials/ex22f.F shows and example of its use
  Barry


> On Jan 26, 2017, at 3:16 PM, Blaise A Bourdin <bourdin at lsu.edu> wrote:
> 
> Hi,
> 
> It looks like the tMatStencil fortran data type does not exist. Is it an oversight or is there a reason?
> 
> Blaise
> -- 
> Department of Mathematics and Center for Computation & Technology
> Louisiana State University, Baton Rouge, LA 70803, USA
> Tel. +1 (225) 578 1612, Fax  +1 (225) 578 4276 http://www.math.lsu.edu/~bourdin
> 
> 
> 
> 
> 
> 
> 




More information about the petsc-dev mailing list