Subversion Repositories slepc-dev

Rev

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

Rev 1360 Rev 1364
Line 321... Line 321...
    and EPS_SMALLEST_IMAGINARY use the absolute value of the imaginary part
    and EPS_SMALLEST_IMAGINARY use the absolute value of the imaginary part
    for eigenvalue selection.    
    for eigenvalue selection.    
   
   
    Level: intermediate
    Level: intermediate
 
 
.seealso: EPSGetWhichEigenpairs(), EPSSortEigenvalues()
.seealso: EPSGetWhichEigenpairs(), EPSSortEigenvalues(), EPSWhich
@*/
@*/
PetscErrorCode EPSSetWhichEigenpairs(EPS eps,EPSWhich which)
PetscErrorCode EPSSetWhichEigenpairs(EPS eps,EPSWhich which)
{
{
  PetscFunctionBegin;
  PetscFunctionBegin;
  PetscValidHeaderSpecific(eps,EPS_COOKIE,1);
  PetscValidHeaderSpecific(eps,EPS_COOKIE,1);
Line 361... Line 361...
    Notes:
    Notes:
    See EPSSetWhichEigenpairs() for possible values of which
    See EPSSetWhichEigenpairs() for possible values of which
 
 
    Level: intermediate
    Level: intermediate
 
 
.seealso: EPSSetWhichEigenpairs()
.seealso: EPSSetWhichEigenpairs(), EPSWhich
@*/
@*/
PetscErrorCode EPSGetWhichEigenpairs(EPS eps,EPSWhich *which)
PetscErrorCode EPSGetWhichEigenpairs(EPS eps,EPSWhich *which)
{
{
  PetscFunctionBegin;
  PetscFunctionBegin;
  PetscValidHeaderSpecific(eps,EPS_COOKIE,1);
  PetscValidHeaderSpecific(eps,EPS_COOKIE,1);
Line 403... Line 403...
   B positive definite) then it is recommended to set the problem type so
   B positive definite) then it is recommended to set the problem type so
   that eigensolver can exploit these properties.
   that eigensolver can exploit these properties.
 
 
   Level: beginner
   Level: beginner
 
 
.seealso: EPSSetOperators(), EPSSetType(), EPSProblemType
.seealso: EPSSetOperators(), EPSSetType(), EPSGetProblemType(), EPSProblemType
@*/
@*/
PetscErrorCode EPSSetProblemType(EPS eps,EPSProblemType type)
PetscErrorCode EPSSetProblemType(EPS eps,EPSProblemType type)
{
{
  PetscFunctionBegin;
  PetscFunctionBegin;
  PetscValidHeaderSpecific(eps,EPS_COOKIE,1);
  PetscValidHeaderSpecific(eps,EPS_COOKIE,1);
Line 471... Line 471...
   Output Parameter:
   Output Parameter:
.  type - name of EPS problem type
.  type - name of EPS problem type
 
 
   Level: intermediate
   Level: intermediate
 
 
.seealso: EPSSetProblemType()
.seealso: EPSSetProblemType(), EPSProblemType
@*/
@*/
PetscErrorCode EPSGetProblemType(EPS eps,EPSProblemType *type)
PetscErrorCode EPSGetProblemType(EPS eps,EPSProblemType *type)
{
{
  PetscFunctionBegin;
  PetscFunctionBegin;
  PetscValidHeaderSpecific(eps,EPS_COOKIE,1);
  PetscValidHeaderSpecific(eps,EPS_COOKIE,1);
Line 503... Line 503...
   Allowed solver classes are: one-sided (EPS_ONE_SIDE) and two-sided (EPS_TWO_SIDE).
   Allowed solver classes are: one-sided (EPS_ONE_SIDE) and two-sided (EPS_TWO_SIDE).
   One-sided eigensolvers are the standard ones, which allow the computation of
   One-sided eigensolvers are the standard ones, which allow the computation of
   eigenvalues and (right) eigenvectors, whereas two-sided eigensolvers compute
   eigenvalues and (right) eigenvectors, whereas two-sided eigensolvers compute
   left eigenvectors as well.
   left eigenvectors as well.
 
 
   Level: beginner
   Level: intermediate
 
 
.seealso: EPSGetLeftVector(), EPSComputeRelativeErrorLeft(), EPSSetLeftInitialVector(),
.seealso: EPSGetLeftVector(), EPSComputeRelativeErrorLeft(), EPSSetLeftInitialVector(),
   EPSClass
   EPSGetClass(), EPSClass
@*/
@*/
PetscErrorCode EPSSetClass(EPS eps,EPSClass cl)
PetscErrorCode EPSSetClass(EPS eps,EPSClass cl)
{
{
  PetscErrorCode ierr;
  PetscErrorCode ierr;
 
 
Line 539... Line 539...
   Output Parameter:
   Output Parameter:
.  class - class of EPS solver (either one-sided or two-sided)
.  class - class of EPS solver (either one-sided or two-sided)
 
 
   Level: intermediate
   Level: intermediate
 
 
.seealso: EPSSetClass()
.seealso: EPSSetClass(), EPSClass
@*/
@*/
PetscErrorCode EPSGetClass(EPS eps,EPSClass *cl)
PetscErrorCode EPSGetClass(EPS eps,EPSClass *cl)
{
{
  PetscFunctionBegin;
  PetscFunctionBegin;
  PetscValidHeaderSpecific(eps,EPS_COOKIE,1);
  PetscValidHeaderSpecific(eps,EPS_COOKIE,1);