#include "petscsys.h"
#include "petscfix.h"
#include "petsc/private/fortranimpl.h"
/* nleigs.c */
/* Fortran interface file */

/*
* This file was generated automatically by bfort from the C source
* file.  
 */

#ifdef PETSC_USE_POINTER_CONVERSION
#if defined(__cplusplus)
extern "C" { 
#endif 
extern void *PetscToPointer(void*);
extern int PetscFromPointer(void *);
extern void PetscRmPointer(void*);
#if defined(__cplusplus)
} 
#endif 

#else

#define PetscToPointer(a) (*(PetscFortranAddr *)(a))
#define PetscFromPointer(a) (PetscFortranAddr)(a)
#define PetscRmPointer(a)
#endif

#include "slepcnep.h"
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define nepnleigssetrestart_ NEPNLEIGSSETRESTART
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define nepnleigssetrestart_ nepnleigssetrestart
#endif
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define nepnleigsgetrestart_ NEPNLEIGSGETRESTART
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define nepnleigsgetrestart_ nepnleigsgetrestart
#endif
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define nepnleigssetlocking_ NEPNLEIGSSETLOCKING
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define nepnleigssetlocking_ nepnleigssetlocking
#endif
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define nepnleigsgetlocking_ NEPNLEIGSGETLOCKING
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define nepnleigsgetlocking_ nepnleigsgetlocking
#endif
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define nepnleigssetinterpolation_ NEPNLEIGSSETINTERPOLATION
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define nepnleigssetinterpolation_ nepnleigssetinterpolation
#endif
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define nepnleigsgetinterpolation_ NEPNLEIGSGETINTERPOLATION
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define nepnleigsgetinterpolation_ nepnleigsgetinterpolation
#endif
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define nepnleigssetrkshifts_ NEPNLEIGSSETRKSHIFTS
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define nepnleigssetrkshifts_ nepnleigssetrkshifts
#endif
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define nepnleigssetfullbasis_ NEPNLEIGSSETFULLBASIS
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define nepnleigssetfullbasis_ nepnleigssetfullbasis
#endif
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define nepnleigsgetfullbasis_ NEPNLEIGSGETFULLBASIS
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define nepnleigsgetfullbasis_ nepnleigsgetfullbasis
#endif


/* Definitions of Fortran Wrapper routines */
#if defined(__cplusplus)
extern "C" {
#endif
SLEPC_EXTERN void  nepnleigssetrestart_(NEP nep,PetscReal *keep, int *__ierr)
{
*__ierr = NEPNLEIGSSetRestart(
	(NEP)PetscToPointer((nep) ),*keep);
}
SLEPC_EXTERN void  nepnleigsgetrestart_(NEP nep,PetscReal *keep, int *__ierr)
{
*__ierr = NEPNLEIGSGetRestart(
	(NEP)PetscToPointer((nep) ),keep);
}
SLEPC_EXTERN void  nepnleigssetlocking_(NEP nep,PetscBool *lock, int *__ierr)
{
*__ierr = NEPNLEIGSSetLocking(
	(NEP)PetscToPointer((nep) ),*lock);
}
SLEPC_EXTERN void  nepnleigsgetlocking_(NEP nep,PetscBool *lock, int *__ierr)
{
*__ierr = NEPNLEIGSGetLocking(
	(NEP)PetscToPointer((nep) ),lock);
}
SLEPC_EXTERN void  nepnleigssetinterpolation_(NEP nep,PetscReal *tol,PetscInt *degree, int *__ierr)
{
*__ierr = NEPNLEIGSSetInterpolation(
	(NEP)PetscToPointer((nep) ),*tol,*degree);
}
SLEPC_EXTERN void  nepnleigsgetinterpolation_(NEP nep,PetscReal *tol,PetscInt *degree, int *__ierr)
{
*__ierr = NEPNLEIGSGetInterpolation(
	(NEP)PetscToPointer((nep) ),tol,degree);
}
SLEPC_EXTERN void  nepnleigssetrkshifts_(NEP nep,PetscInt *ns,PetscScalar shifts[], int *__ierr)
{
*__ierr = NEPNLEIGSSetRKShifts(
	(NEP)PetscToPointer((nep) ),*ns,shifts);
}
SLEPC_EXTERN void  nepnleigssetfullbasis_(NEP nep,PetscBool *fullbasis, int *__ierr)
{
*__ierr = NEPNLEIGSSetFullBasis(
	(NEP)PetscToPointer((nep) ),*fullbasis);
}
SLEPC_EXTERN void  nepnleigsgetfullbasis_(NEP nep,PetscBool *fullbasis, int *__ierr)
{
*__ierr = NEPNLEIGSGetFullBasis(
	(NEP)PetscToPointer((nep) ),fullbasis);
}
#if defined(__cplusplus)
}
#endif
