Actual source code: slp.h

      1: /*
      2:    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      3:    SLEPc - Scalable Library for Eigenvalue Problem Computations
      4:    Copyright (c) 2002-, Universitat Politecnica de Valencia, Spain

      6:    This file is part of SLEPc.
      7:    SLEPc is distributed under a 2-clause BSD license (see LICENSE).
      8:    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      9: */
     10: /*
     11:    Private header for SLP
     12: */

     14: #pragma once

     16: typedef struct {
     17:   EPS       eps;      /* linear eigensolver for T*z = mu*Tp*z */
     18:   EPS       epsts;    /* linear eigensolver for T'*z = mu*Tp'*z */
     19:   KSP       ksp;
     20:   PetscReal deftol;   /* tolerance for the deflation (threshold) */
     21: } NEP_SLP;

     23: SLEPC_INTERN PetscErrorCode NEPSolve_SLP(NEP);
     24: SLEPC_INTERN PetscErrorCode NEPSolve_SLP_Twosided(NEP);