[petsc-users] PCSide in fortran?

Barry Smith bsmith at mcs.anl.gov
Fri Jul 2 08:35:39 CDT 2010


#include "finclude/petsckspdef.h"
#include "finclude/petscksp.h"

......


        call KSPSetSide(ksp,PC_RIGHT,ierr)


On Jul 2, 2010, at 4:01 AM, Klaij, Christiaan wrote:

> Hi,
> 
> My preconditioner is supposed to be applied to the right, so I would like to use PCSide but I'm confused how to use it in my Fortran code. An example would be most welcome.
> 
> Chris
> 
> 
> dr. ir.ChristiaanKlaij
> CFD Researcher
> Research & Development
> E mailto:C.Klaij at marin.nl
> T +31 317 49 33 44M
> 
> MARIN
> 2, Haagsteeg, P.O. Box 28, 6700 AA Wageningen, The Netherlands
> T +31 317 49 39 11, F +31 317 49 32 45, I www.marin.nl
> 
> 
> 
> -----------------------------
> [Insert your disclaimer here]
> -----------------------------
> 



More information about the petsc-users mailing list