[petsc-dev] patches for PetscBagSetFromOptions and associated fortran example

Barry Smith bsmith at mcs.anl.gov
Thu May 3 18:53:48 CDT 2012


  Looks ok to me. Please push. Barry

On May 3, 2012, at 6:26 PM, Blaise Bourdin wrote:

> Hi,
> 
> I am attaching 2 patches:
> * PetscBagSetFromOptions.patch fixes an issue with PetscBagSetFromOptions when the bag contains 
>  int or real arrays, and addd automatic fortran binding.
> * ex5f90.patch uses the transfer function in order to get the bag size instead of computing it 
>  by hand. With this choice of sizes, padding happens in the fortran derived type and the 
>  straightforward computation is wrong. I have updated the test output and parameters
> Is it possible to push them to petsc-dev?
> 
> Blaise
> 
> <ex5f90.patch><PetscBagSetFromOptions.patch>
> 
> -- 
> 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