Subversion Repositories slepc-dev

Rev

Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2622 Rev 2644
Line 305... Line 305...
 
 
   Use PETSC_DECIDE for ncv and mpd to assign a reasonably good value, which is
   Use PETSC_DECIDE for ncv and mpd to assign a reasonably good value, which is
   dependent on the solution method.
   dependent on the solution method.
 
 
   The parameters ncv and mpd are intimately related, so that the user is advised
   The parameters ncv and mpd are intimately related, so that the user is advised
   to set one of them at most. Normal usage is the following:
   to set one of them at most. Normal usage is that
   (a) In cases where nev is small, the user sets ncv (a reasonable default is 2*nev).
   (a) in cases where nev is small, the user sets ncv (a reasonable default is 2*nev); and
   (b) In cases where nev is large, the user sets mpd.
   (b) in cases where nev is large, the user sets mpd.
 
 
   The value of ncv should always be between nev and (nev+mpd), typically
   The value of ncv should always be between nev and (nev+mpd), typically
   ncv=nev+mpd. If nev is not too large, mpd=nev is a reasonable choice, otherwise
   ncv=nev+mpd. If nev is not too large, mpd=nev is a reasonable choice, otherwise
   a smaller value should be used.
   a smaller value should be used.
 
 
Line 466... Line 466...
    the algorithm that computes both right and left eigenvectors. This is
    the algorithm that computes both right and left eigenvectors. This is
    usually much more costly. This option is not available in all solvers.
    usually much more costly. This option is not available in all solvers.
 
 
    Level: intermediate
    Level: intermediate
 
 
.seealso: QEPGetLeftVectorsWanted(), QEPGetEigenvectorLeft()
.seealso: QEPGetLeftVectorsWanted()
@*/
@*/
PetscErrorCode QEPSetLeftVectorsWanted(QEP qep,PetscBool leftvecs)
PetscErrorCode QEPSetLeftVectorsWanted(QEP qep,PetscBool leftvecs)
{
{
  PetscFunctionBegin;
  PetscFunctionBegin;
  PetscValidHeaderSpecific(qep,QEP_CLASSID,1);
  PetscValidHeaderSpecific(qep,QEP_CLASSID,1);