#include "petscsys.h"
#include "petscfix.h"
#include "petsc-private/fortranimpl.h"
/* qepbasic.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) (*(long *)(a))
#define PetscFromPointer(a) (long)(a)
#define PetscRmPointer(a)
#endif

#include "slepcqep.h"
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define qepprintsolution_ QEPPRINTSOLUTION
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define qepprintsolution_ qepprintsolution
#endif
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define qepreset_ QEPRESET
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define qepreset_ qepreset
#endif
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define qepsetip_ QEPSETIP
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define qepsetip_ qepsetip
#endif
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define qepsetds_ QEPSETDS
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define qepsetds_ qepsetds
#endif
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define qepsetst_ QEPSETST
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define qepsetst_ qepsetst
#endif
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define qepsettarget_ QEPSETTARGET
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define qepsettarget_ qepsettarget
#endif
#ifdef PETSC_HAVE_FORTRAN_CAPS
#define qepgettarget_ QEPGETTARGET
#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) && !defined(FORTRANDOUBLEUNDERSCORE)
#define qepgettarget_ qepgettarget
#endif


/* Definitions of Fortran Wrapper routines */
#if defined(__cplusplus)
extern "C" {
#endif
void PETSC_STDCALL  qepprintsolution_(QEP *qep,PetscViewer viewer, int *__ierr ){
*__ierr = QEPPrintSolution(*qep,
	(PetscViewer)PetscToPointer((viewer) ));
}
void PETSC_STDCALL  qepreset_(QEP *qep, int *__ierr ){
*__ierr = QEPReset(*qep);
}
void PETSC_STDCALL  qepsetip_(QEP *qep,IP *ip, int *__ierr ){
*__ierr = QEPSetIP(*qep,*ip);
}
void PETSC_STDCALL  qepsetds_(QEP *qep,DS *ds, int *__ierr ){
*__ierr = QEPSetDS(*qep,*ds);
}
void PETSC_STDCALL  qepsetst_(QEP *qep,ST *st, int *__ierr ){
*__ierr = QEPSetST(*qep,*st);
}
void PETSC_STDCALL  qepsettarget_(QEP *qep,PetscScalar *target, int *__ierr ){
*__ierr = QEPSetTarget(*qep,*target);
}
void PETSC_STDCALL  qepgettarget_(QEP *qep,PetscScalar* target, int *__ierr ){
*__ierr = QEPGetTarget(*qep,target);
}
#if defined(__cplusplus)
}
#endif
