Actual source code: slp.h

slepc-3.18.0 2022-10-01
Report Typos and Errors
  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: #if !defined(SLEPC_SLP_H)
 15: #define SLEPC_SLP_H

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

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

 27: #endif