[petsc-dev] MATOP_SHIFT Fortran

Ben Jamroz jamroz at txcorp.com
Mon Aug 8 13:05:12 CDT 2011


Hi all, 

I'm using PETSc through SLEPc to solve an eigenvalue problem using a MatShell and would like to set the MATOP_SHIFT operation for the shell matrix. In C, this works just fine. However, in Fortran I get runtime errors caused by 

matshellsetoperation_

in src/mat/impls/shell/ftn-custom/zshellf.c since MATOP_SHIFT is not listed there as an allowed operation. Can this operation be added?

Thanks,
Ben Jamroz


-----------------------------------------------------------------------------
Ben Jamroz
Tech-X Corporation                 	   jamroz at txcorp.com
5621 Arapahoe Ave, Suite A	   Phone: (720) 974-1853
Boulder, CO 80303                       Fax: (303) 448-7756
-----------------------------------------------------------------------------







More information about the petsc-dev mailing list