1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857
|
<center><a href="https://gitlab.com/slepc/slepc/-/blob/bbccb785e5ebe6829936989c71776839602f087b/include/slepcpep.h">Actual source code: slepcpep.h</a></center><br>
<html>
<head>
<title></title>
<meta name="generator" content="c2html 0.9.6">
<meta name="date" content="2025-11-07T08:27:35+00:00">
</head>
<body bgcolor="#FFFFFF">
<pre width=80>
<a name="line1"> 1: </a><font color="#B22222">/*</font>
<a name="line2"> 2: </a><font color="#B22222"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</font>
<a name="line3"> 3: </a><font color="#B22222"> SLEPc - Scalable Library for Eigenvalue Problem Computations</font>
<a name="line4"> 4: </a><font color="#B22222"> Copyright (c) 2002-, Universitat Politecnica de Valencia, Spain</font>
<a name="line6"> 6: </a><font color="#B22222"> This file is part of SLEPc.</font>
<a name="line7"> 7: </a><font color="#B22222"> SLEPc is distributed under a 2-clause BSD license (see LICENSE).</font>
<a name="line8"> 8: </a><font color="#B22222"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</font>
<a name="line9"> 9: </a><font color="#B22222">*/</font>
<a name="line10"> 10: </a><font color="#B22222">/*</font>
<a name="line11"> 11: </a><font color="#B22222"> User interface for SLEPc's polynomial eigenvalue solvers</font>
<a name="line12"> 12: </a><font color="#B22222">*/</font>
<a name="line14"> 14: </a><font color="#A020F0">#pragma once</font>
<a name="line16"> 16: </a>#include <A href="../include/slepceps.h.html"><slepceps.h></A>
<a name="line18"> 18: </a><font color="#B22222">/* SUBMANSEC = <a href="../manualpages/PEP/PEP.html">PEP</a> */</font>
<a name="line20"> 20: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPInitializePackage.html">PEPInitializePackage</a>(void)</font></strong>;
<a name="line21"> 21: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPFinalizePackage.html">PEPFinalizePackage</a>(void)</font></strong>;
<a name="line23"> 23: </a><font color="#B22222">/*S</font>
<a name="line24"> 24: </a><font color="#B22222"> <a href="../manualpages/PEP/PEP.html">PEP</a> - SLEPc object that manages all the polynomial eigenvalue problem solvers.</font>
<a name="line26"> 26: </a><font color="#B22222"> Level: beginner</font>
<a name="line28"> 28: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPCreate.html">PEPCreate</a>()`</font>
<a name="line29"> 29: </a><font color="#B22222">S*/</font>
<a name="line30"> 30: </a><font color="#4169E1">typedef struct _p_PEP* <a href="../manualpages/PEP/PEP.html">PEP</a>;</font>
<a name="line32"> 32: </a><font color="#B22222">/*J</font>
<a name="line33"> 33: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPType.html">PEPType</a> - String with the name of a polynomial eigensolver.</font>
<a name="line35"> 35: </a><font color="#B22222"> Level: beginner</font>
<a name="line37"> 37: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPSetType.html">PEPSetType</a>()`, `<a href="../manualpages/PEP/PEP.html">PEP</a>`</font>
<a name="line38"> 38: </a><font color="#B22222">J*/</font>
<a name="line39"> 39: </a><font color="#4169E1">typedef const char *<a href="../manualpages/PEP/PEPType.html">PEPType</a>;</font>
<a name="line40"> 40: </a><strong><font color="#228B22">#define <a href="../manualpages/PEP/PEPTOAR.html">PEPTOAR</a> </font><font color="#666666">"toar"</font><font color="#228B22"></font></strong>
<a name="line41"> 41: </a><strong><font color="#228B22">#define <a href="../manualpages/PEP/PEPSTOAR.html">PEPSTOAR</a> </font><font color="#666666">"stoar"</font><font color="#228B22"></font></strong>
<a name="line42"> 42: </a><strong><font color="#228B22">#define <a href="../manualpages/PEP/PEPQARNOLDI.html">PEPQARNOLDI</a> </font><font color="#666666">"qarnoldi"</font><font color="#228B22"></font></strong>
<a name="line43"> 43: </a><strong><font color="#228B22">#define <a href="../manualpages/PEP/PEPLINEAR.html">PEPLINEAR</a> </font><font color="#666666">"linear"</font><font color="#228B22"></font></strong>
<a name="line44"> 44: </a><strong><font color="#228B22">#define <a href="../manualpages/PEP/PEPJD.html">PEPJD</a> </font><font color="#666666">"jd"</font><font color="#228B22"></font></strong>
<a name="line45"> 45: </a><strong><font color="#228B22">#define <a href="../manualpages/PEP/PEPCISS.html">PEPCISS</a> </font><font color="#666666">"ciss"</font><font color="#228B22"></font></strong>
<a name="line47"> 47: </a><font color="#B22222">/* Logging support */</font>
<a name="line48"> 48: </a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscClassId/">PetscClassId</a> PEP_CLASSID;
<a name="line50"> 50: </a><font color="#B22222">/*E</font>
<a name="line51"> 51: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPProblemType.html">PEPProblemType</a> - Determines the type of the polynomial eigenproblem.</font>
<a name="line53"> 53: </a><font color="#B22222"> Values:</font>
<a name="line54"> 54: </a><font color="#B22222">+ `<a href="../manualpages/PEP/PEP_GENERAL.html">PEP_GENERAL</a>` - polynomial eigenproblem with no particular structure</font>
<a name="line55"> 55: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEP_HERMITIAN.html">PEP_HERMITIAN</a>` - polynomial eigenproblem with all coefficient matrices Hermitian</font>
<a name="line56"> 56: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEP_HYPERBOLIC.html">PEP_HYPERBOLIC</a>` - quadratic eigenproblem with hyperbolic structure</font>
<a name="line57"> 57: </a><font color="#B22222">- `<a href="../manualpages/PEP/PEP_GYROSCOPIC.html">PEP_GYROSCOPIC</a>` - quadratic eigenproblem with gyroscopic structure</font>
<a name="line59"> 59: </a><font color="#B22222"> Note:</font>
<a name="line60"> 60: </a><font color="#B22222"> By default, no particular structure is assumed (`<a href="../manualpages/PEP/PEP_GENERAL.html">PEP_GENERAL</a>`).</font>
<a name="line62"> 62: </a><font color="#B22222"> Level: intermediate</font>
<a name="line64"> 64: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPSetProblemType.html">PEPSetProblemType</a>()`, `<a href="../manualpages/PEP/PEPGetProblemType.html">PEPGetProblemType</a>()`</font>
<a name="line65"> 65: </a><font color="#B22222">E*/</font>
<a name="line66"> 66: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/PEP/PEP_GENERAL.html">PEP_GENERAL</a> = 1,
<a name="line67"> 67: </a> <a href="../manualpages/PEP/PEP_HERMITIAN.html">PEP_HERMITIAN</a> = 2,
<a name="line68"> 68: </a> <a href="../manualpages/PEP/PEP_HYPERBOLIC.html">PEP_HYPERBOLIC</a> = 3,
<a name="line69"> 69: </a> <a href="../manualpages/PEP/PEP_GYROSCOPIC.html">PEP_GYROSCOPIC</a> = 4
<a name="line70"> 70: </a> } <a href="../manualpages/PEP/PEPProblemType.html">PEPProblemType</a>;
<a name="line72"> 72: </a><font color="#B22222">/*MC</font>
<a name="line73"> 73: </a><font color="#B22222"> <a href="../manualpages/PEP/PEP_GENERAL.html">PEP_GENERAL</a> - A polynomial eigenproblem with no particular structure.</font>
<a name="line75"> 75: </a><font color="#B22222"> Note:</font>
<a name="line76"> 76: </a><font color="#B22222"> This is the default problem type.</font>
<a name="line78"> 78: </a><font color="#B22222"> Level: intermediate</font>
<a name="line80"> 80: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPProblemType.html">PEPProblemType</a>`, `<a href="../manualpages/PEP/PEPSetProblemType.html">PEPSetProblemType</a>()`, `<a href="../manualpages/PEP/PEP_HERMITIAN.html">PEP_HERMITIAN</a>`, `<a href="../manualpages/PEP/PEP_HYPERBOLIC.html">PEP_HYPERBOLIC</a>`, `<a href="../manualpages/PEP/PEP_GYROSCOPIC.html">PEP_GYROSCOPIC</a>`</font>
<a name="line81"> 81: </a><font color="#B22222">M*/</font>
<a name="line83"> 83: </a><font color="#B22222">/*MC</font>
<a name="line84"> 84: </a><font color="#B22222"> <a href="../manualpages/PEP/PEP_HERMITIAN.html">PEP_HERMITIAN</a> - A polynomial eigenvalue problem with all coefficient matrices Hermitian.</font>
<a name="line86"> 86: </a><font color="#B22222"> Notes:</font>
<a name="line87"> 87: </a><font color="#B22222"> This is used when all $A_i$ matrices passed in `<a href="../manualpages/PEP/PEPSetOperators.html">PEPSetOperators</a>()`</font>
<a name="line88"> 88: </a><font color="#B22222"> are Hermitian.</font>
<a name="line90"> 90: </a><font color="#B22222"> Currently there is support only for quadratic eigenvalue problems,</font>
<a name="line91"> 91: </a><font color="#B22222"> $(K+\lambda C+\lambda^2M)x=0$ with $K$, $C$, $M$ Hermitian.</font>
<a name="line93"> 93: </a><font color="#B22222"> Level: intermediate</font>
<a name="line95"> 95: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPProblemType.html">PEPProblemType</a>`, `<a href="../manualpages/PEP/PEPSetProblemType.html">PEPSetProblemType</a>()`, `<a href="../manualpages/PEP/PEP_GENERAL.html">PEP_GENERAL</a>`, `<a href="../manualpages/PEP/PEP_HYPERBOLIC.html">PEP_HYPERBOLIC</a>`, `<a href="../manualpages/PEP/PEP_GYROSCOPIC.html">PEP_GYROSCOPIC</a>`</font>
<a name="line96"> 96: </a><font color="#B22222">M*/</font>
<a name="line98"> 98: </a><font color="#B22222">/*MC</font>
<a name="line99"> 99: </a><font color="#B22222"> <a href="../manualpages/PEP/PEP_HYPERBOLIC.html">PEP_HYPERBOLIC</a> - A quadratic eigenvalue problem with hyperbolic structure.</font>
<a name="line101">101: </a><font color="#B22222"> Note:</font>
<a name="line102">102: </a><font color="#B22222"> This is reserved for the case of a quadratic eigenvalue problem</font>
<a name="line103">103: </a><font color="#B22222"> $(K+\lambda C+\lambda^2M)x=0$ with Hermitian coefficient matrices, and in</font>
<a name="line104">104: </a><font color="#B22222"> addition $M$ is positive definite and $(x^*Cx)^2>4(x^*Mx)(x^*Kx)$ for all</font>
<a name="line105">105: </a><font color="#B22222"> nonzero $x\in\mathbb{C}^n$. All eigenvalues are real, and form two separate</font>
<a name="line106">106: </a><font color="#B22222"> groups of $n$ eigenvalues, each of them having linearly independent eigenvectors.</font>
<a name="line108">108: </a><font color="#B22222"> Level: intermediate</font>
<a name="line110">110: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPProblemType.html">PEPProblemType</a>`, `<a href="../manualpages/PEP/PEPSetProblemType.html">PEPSetProblemType</a>()`, `<a href="../manualpages/PEP/PEP_GENERAL.html">PEP_GENERAL</a>`, `<a href="../manualpages/PEP/PEP_HERMITIAN.html">PEP_HERMITIAN</a>`, `<a href="../manualpages/PEP/PEP_GYROSCOPIC.html">PEP_GYROSCOPIC</a>`</font>
<a name="line111">111: </a><font color="#B22222">M*/</font>
<a name="line113">113: </a><font color="#B22222">/*MC</font>
<a name="line114">114: </a><font color="#B22222"> <a href="../manualpages/PEP/PEP_GYROSCOPIC.html">PEP_GYROSCOPIC</a> - A quadratic eigenvalue problem with gyroscopic structure.</font>
<a name="line116">116: </a><font color="#B22222"> Notes:</font>
<a name="line117">117: </a><font color="#B22222"> This is reserved for the case of a quadratic eigenvalue problem</font>
<a name="line118">118: </a><font color="#B22222"> $(K+\lambda C+\lambda^2M)x=0$ with $M$, $K$ Hermitian, $M>0$, and</font>
<a name="line119">119: </a><font color="#B22222"> $C$ skew-Hermitian.</font>
<a name="line121">121: </a><font color="#B22222"> Currently there is support for this problem type only in `<a href="../manualpages/PEP/PEPLINEAR.html">PEPLINEAR</a>`, using</font>
<a name="line122">122: </a><font color="#B22222"> a general eigensolver, without exploiting the structure.</font>
<a name="line124">124: </a><font color="#B22222"> Level: intermediate</font>
<a name="line126">126: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPProblemType.html">PEPProblemType</a>`, `<a href="../manualpages/PEP/PEPSetProblemType.html">PEPSetProblemType</a>()`, `<a href="../manualpages/PEP/PEP_GENERAL.html">PEP_GENERAL</a>`, `<a href="../manualpages/PEP/PEP_HERMITIAN.html">PEP_HERMITIAN</a>`, `<a href="../manualpages/PEP/PEP_HYPERBOLIC.html">PEP_HYPERBOLIC</a>`, `<a href="../manualpages/PEP/PEPLINEAR.html">PEPLINEAR</a>`</font>
<a name="line127">127: </a><font color="#B22222">M*/</font>
<a name="line129">129: </a><font color="#B22222">/*E</font>
<a name="line130">130: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPWhich.html">PEPWhich</a> - Determines which part of the spectrum is requested.</font>
<a name="line132">132: </a><font color="#B22222"> Values:</font>
<a name="line133">133: </a><font color="#B22222">+ `<a href="../manualpages/PEP/PEPWhich.html">PEP_LARGEST_MAGNITUDE</a>` - largest $|\lambda|$</font>
<a name="line134">134: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPWhich.html">PEP_SMALLEST_MAGNITUDE</a>` - smallest $|\lambda|$</font>
<a name="line135">135: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPWhich.html">PEP_LARGEST_REAL</a>` - largest $\mathrm{Re}(\lambda)$</font>
<a name="line136">136: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPWhich.html">PEP_SMALLEST_REAL</a>` - smallest $\mathrm{Re}(\lambda)$</font>
<a name="line137">137: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPWhich.html">PEP_LARGEST_IMAGINARY</a>` - largest $\mathrm{Im}(\lambda)$</font>
<a name="line138">138: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPWhich.html">PEP_SMALLEST_IMAGINARY</a>` - smallest $\mathrm{Im}(\lambda)$</font>
<a name="line139">139: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPWhich.html">PEP_TARGET_MAGNITUDE</a>` - smallest $|\lambda-\tau|$</font>
<a name="line140">140: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPWhich.html">PEP_TARGET_REAL</a>` - smallest $|\mathrm{Re}(\lambda-\tau)|$</font>
<a name="line141">141: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPWhich.html">PEP_TARGET_IMAGINARY</a>` - smallest $|\mathrm{Im}(\lambda-\tau)|$</font>
<a name="line142">142: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPWhich.html">PEP_ALL</a>` - all $\lambda\in[a,b]$ or $\lambda\in\Omega$</font>
<a name="line143">143: </a><font color="#B22222">- `<a href="../manualpages/PEP/PEPWhich.html">PEP_WHICH_USER</a>` - user-defined sorting criterion</font>
<a name="line145">145: </a><font color="#B22222"> Notes:</font>
<a name="line146">146: </a><font color="#B22222"> If SLEPc is compiled for real scalars `<a href="../manualpages/PEP/PEPWhich.html">PEP_LARGEST_IMAGINARY</a>` and</font>
<a name="line147">147: </a><font color="#B22222"> `<a href="../manualpages/PEP/PEPWhich.html">PEP_SMALLEST_IMAGINARY</a>` use the absolute value of the imaginary part</font>
<a name="line148">148: </a><font color="#B22222"> for eigenvalue selection.</font>
<a name="line150">150: </a><font color="#B22222"> The target $\tau$ is a scalar value provided with `<a href="../manualpages/PEP/PEPSetTarget.html">PEPSetTarget</a>()`.</font>
<a name="line152">152: </a><font color="#B22222"> The case `<a href="../manualpages/PEP/PEPWhich.html">PEP_ALL</a>` needs an interval $[a,b]$ given with `<a href="../manualpages/PEP/PEPSetInterval.html">PEPSetInterval</a>()`</font>
<a name="line153">153: </a><font color="#B22222"> or a region $\Omega$ specified with an `<a href="../manualpages/RG/RG.html">RG</a>` object.</font>
<a name="line155">155: </a><font color="#B22222"> Level: intermediate</font>
<a name="line157">157: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPSetWhichEigenpairs.html">PEPSetWhichEigenpairs</a>()`, `<a href="../manualpages/PEP/PEPSetTarget.html">PEPSetTarget</a>()`, `<a href="../manualpages/PEP/PEPSetInterval.html">PEPSetInterval</a>()`</font>
<a name="line158">158: </a><font color="#B22222">E*/</font>
<a name="line159">159: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/PEP/PEPWhich.html">PEP_LARGEST_MAGNITUDE</a> = 1,
<a name="line160">160: </a> <a href="../manualpages/PEP/PEPWhich.html">PEP_SMALLEST_MAGNITUDE</a> = 2,
<a name="line161">161: </a> <a href="../manualpages/PEP/PEPWhich.html">PEP_LARGEST_REAL</a> = 3,
<a name="line162">162: </a> <a href="../manualpages/PEP/PEPWhich.html">PEP_SMALLEST_REAL</a> = 4,
<a name="line163">163: </a> <a href="../manualpages/PEP/PEPWhich.html">PEP_LARGEST_IMAGINARY</a> = 5,
<a name="line164">164: </a> <a href="../manualpages/PEP/PEPWhich.html">PEP_SMALLEST_IMAGINARY</a> = 6,
<a name="line165">165: </a> <a href="../manualpages/PEP/PEPWhich.html">PEP_TARGET_MAGNITUDE</a> = 7,
<a name="line166">166: </a> <a href="../manualpages/PEP/PEPWhich.html">PEP_TARGET_REAL</a> = 8,
<a name="line167">167: </a> <a href="../manualpages/PEP/PEPWhich.html">PEP_TARGET_IMAGINARY</a> = 9,
<a name="line168">168: </a> <a href="../manualpages/PEP/PEPWhich.html">PEP_ALL</a> = 10,
<a name="line169">169: </a> <a href="../manualpages/PEP/PEPWhich.html">PEP_WHICH_USER</a> = 11 } <a href="../manualpages/PEP/PEPWhich.html">PEPWhich</a>;
<a name="line171">171: </a><font color="#B22222">/*E</font>
<a name="line172">172: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPBasis.html">PEPBasis</a> - The type of polynomial basis used to represent the polynomial</font>
<a name="line173">173: </a><font color="#B22222"> eigenproblem.</font>
<a name="line175">175: </a><font color="#B22222"> Values:</font>
<a name="line176">176: </a><font color="#B22222">+ `<a href="../manualpages/PEP/PEPBasis.html">PEP_BASIS_MONOMIAL</a>` - monomial basis</font>
<a name="line177">177: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPBasis.html">PEP_BASIS_CHEBYSHEV1</a>` - Chebyshev polynomials of the 1st kind</font>
<a name="line178">178: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPBasis.html">PEP_BASIS_CHEBYSHEV2</a>` - Chebyshev polynomials of the 2nd kind</font>
<a name="line179">179: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPBasis.html">PEP_BASIS_LEGENDRE</a>` - Legendre polynomials</font>
<a name="line180">180: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPBasis.html">PEP_BASIS_LAGUERRE</a>` - Laguerre polynomials</font>
<a name="line181">181: </a><font color="#B22222">- `<a href="../manualpages/PEP/PEPBasis.html">PEP_BASIS_HERMITE</a>` - Hermite polynomials</font>
<a name="line183">183: </a><font color="#B22222"> Notes:</font>
<a name="line184">184: </a><font color="#B22222"> The default is to work with the monomial basis to represent the polynomial,</font>
<a name="line185">185: </a><font color="#B22222"> i.e., $1, x, x^2, \dots, x^d$. For large degree $d$, numerical</font>
<a name="line186">186: </a><font color="#B22222"> difficulties may arise. In that case, a different basis is recommended.</font>
<a name="line187">187: </a><font color="#B22222"> The user is responsible for providing the coefficient matrices to</font>
<a name="line188">188: </a><font color="#B22222"> `<a href="../manualpages/PEP/PEPSetOperators.html">PEPSetOperators</a>()` represented in the selected basis.</font>
<a name="line190">190: </a><font color="#B22222"> Level: intermediate</font>
<a name="line192">192: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPSetBasis.html">PEPSetBasis</a>()`</font>
<a name="line193">193: </a><font color="#B22222">E*/</font>
<a name="line194">194: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/PEP/PEPBasis.html">PEP_BASIS_MONOMIAL</a>,
<a name="line195">195: </a> <a href="../manualpages/PEP/PEPBasis.html">PEP_BASIS_CHEBYSHEV1</a>,
<a name="line196">196: </a> <a href="../manualpages/PEP/PEPBasis.html">PEP_BASIS_CHEBYSHEV2</a>,
<a name="line197">197: </a> <a href="../manualpages/PEP/PEPBasis.html">PEP_BASIS_LEGENDRE</a>,
<a name="line198">198: </a> <a href="../manualpages/PEP/PEPBasis.html">PEP_BASIS_LAGUERRE</a>,
<a name="line199">199: </a> <a href="../manualpages/PEP/PEPBasis.html">PEP_BASIS_HERMITE</a> } <a href="../manualpages/PEP/PEPBasis.html">PEPBasis</a>;
<a name="line200">200: </a>SLEPC_EXTERN const char *PEPBasisTypes[];
<a name="line202">202: </a><font color="#B22222">/*E</font>
<a name="line203">203: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPScale.html">PEPScale</a> - The scaling strategy.</font>
<a name="line205">205: </a><font color="#B22222"> Values:</font>
<a name="line206">206: </a><font color="#B22222">+ `<a href="../manualpages/PEP/PEPScale.html">PEP_SCALE_NONE</a>` - no scaling</font>
<a name="line207">207: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPScale.html">PEP_SCALE_SCALAR</a>` - multiply by a scalar value</font>
<a name="line208">208: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPScale.html">PEP_SCALE_DIAGONAL</a>` - multiply by two diagonal matrices</font>
<a name="line209">209: </a><font color="#B22222">- `<a href="../manualpages/PEP/PEPScale.html">PEP_SCALE_BOTH</a>` - both scalar and diagonal scaling</font>
<a name="line211">211: </a><font color="#B22222"> Note:</font>
<a name="line212">212: </a><font color="#B22222"> See section [](#sec:scaling) for a discussion of the different scaling strategies.</font>
<a name="line214">214: </a><font color="#B22222"> Level: intermediate</font>
<a name="line216">216: </a><font color="#B22222">.seealso: [](ch:pep), [](#sec:scaling), `<a href="../manualpages/PEP/PEPSetScale.html">PEPSetScale</a>()`</font>
<a name="line217">217: </a><font color="#B22222">E*/</font>
<a name="line218">218: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/PEP/PEPScale.html">PEP_SCALE_NONE</a>,
<a name="line219">219: </a> <a href="../manualpages/PEP/PEPScale.html">PEP_SCALE_SCALAR</a>,
<a name="line220">220: </a> <a href="../manualpages/PEP/PEPScale.html">PEP_SCALE_DIAGONAL</a>,
<a name="line221">221: </a> <a href="../manualpages/PEP/PEPScale.html">PEP_SCALE_BOTH</a> } <a href="../manualpages/PEP/PEPScale.html">PEPScale</a>;
<a name="line222">222: </a>SLEPC_EXTERN const char *PEPScaleTypes[];
<a name="line224">224: </a><font color="#B22222">/*E</font>
<a name="line225">225: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPRefine.html">PEPRefine</a> - The type of Newton iterative refinement.</font>
<a name="line227">227: </a><font color="#B22222"> Values:</font>
<a name="line228">228: </a><font color="#B22222">+ `<a href="../manualpages/PEP/PEPRefine.html">PEP_REFINE_NONE</a>` - no refinement</font>
<a name="line229">229: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPRefine.html">PEP_REFINE_SIMPLE</a>` - refinement of each converged eigenpair individually</font>
<a name="line230">230: </a><font color="#B22222">- `<a href="../manualpages/PEP/PEPRefine.html">PEP_REFINE_MULTIPLE</a>` - refinement of the invariant pair as a whole</font>
<a name="line232">232: </a><font color="#B22222"> Note:</font>
<a name="line233">233: </a><font color="#B22222"> See section [](#sec:refine) for a discussion of the different refinement strategies.</font>
<a name="line235">235: </a><font color="#B22222"> Level: intermediate</font>
<a name="line237">237: </a><font color="#B22222">.seealso: [](ch:pep), [](#sec:refine), `<a href="../manualpages/PEP/PEPSetRefine.html">PEPSetRefine</a>()`</font>
<a name="line238">238: </a><font color="#B22222">E*/</font>
<a name="line239">239: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/PEP/PEPRefine.html">PEP_REFINE_NONE</a>,
<a name="line240">240: </a> <a href="../manualpages/PEP/PEPRefine.html">PEP_REFINE_SIMPLE</a>,
<a name="line241">241: </a> <a href="../manualpages/PEP/PEPRefine.html">PEP_REFINE_MULTIPLE</a> } <a href="../manualpages/PEP/PEPRefine.html">PEPRefine</a>;
<a name="line242">242: </a>SLEPC_EXTERN const char *PEPRefineTypes[];
<a name="line244">244: </a><font color="#B22222">/*E</font>
<a name="line245">245: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPRefineScheme.html">PEPRefineScheme</a> - The scheme used for solving linear systems during iterative refinement.</font>
<a name="line247">247: </a><font color="#B22222"> Values:</font>
<a name="line248">248: </a><font color="#B22222">+ `<a href="../manualpages/PEP/PEPRefineScheme.html">PEP_REFINE_SCHEME_SCHUR</a>` - use the Schur complement</font>
<a name="line249">249: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPRefineScheme.html">PEP_REFINE_SCHEME_MBE</a>` - use the mixed block elimination (MBE) scheme</font>
<a name="line250">250: </a><font color="#B22222">- `<a href="../manualpages/PEP/PEPRefineScheme.html">PEP_REFINE_SCHEME_EXPLICIT</a>` - build the full matrix explicitly</font>
<a name="line252">252: </a><font color="#B22222"> Note:</font>
<a name="line253">253: </a><font color="#B22222"> Iterative refinement may be very costly, due to the expensive linear</font>
<a name="line254">254: </a><font color="#B22222"> solves. These linear systems have a particular structure that can be</font>
<a name="line255">255: </a><font color="#B22222"> exploited in different ways, as described in {cite:p}`Cam16b`. See</font>
<a name="line256">256: </a><font color="#B22222"> `<a href="../manualpages/PEP/PEPSetRefine.html">PEPSetRefine</a>()` for additional details.</font>
<a name="line258">258: </a><font color="#B22222"> Level: intermediate</font>
<a name="line260">260: </a><font color="#B22222">.seealso: [](ch:pep), [](#sec:refine), `<a href="../manualpages/PEP/PEPSetRefine.html">PEPSetRefine</a>()`</font>
<a name="line261">261: </a><font color="#B22222">E*/</font>
<a name="line262">262: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/PEP/PEPRefineScheme.html">PEP_REFINE_SCHEME_SCHUR</a> = 1,
<a name="line263">263: </a> <a href="../manualpages/PEP/PEPRefineScheme.html">PEP_REFINE_SCHEME_MBE</a> = 2,
<a name="line264">264: </a> <a href="../manualpages/PEP/PEPRefineScheme.html">PEP_REFINE_SCHEME_EXPLICIT</a> = 3 } <a href="../manualpages/PEP/PEPRefineScheme.html">PEPRefineScheme</a>;
<a name="line265">265: </a>SLEPC_EXTERN const char *PEPRefineSchemes[];
<a name="line267">267: </a><font color="#B22222">/*E</font>
<a name="line268">268: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPExtract.html">PEPExtract</a> - The eigenvector extraction strategy.</font>
<a name="line270">270: </a><font color="#B22222"> Values:</font>
<a name="line271">271: </a><font color="#B22222">+ `<a href="../manualpages/PEP/PEP_EXTRACT_NONE.html">PEP_EXTRACT_NONE</a>` - trivial extraction</font>
<a name="line272">272: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEP_EXTRACT_NORM.html">PEP_EXTRACT_NORM</a>` - extraction based on the norm</font>
<a name="line273">273: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEP_EXTRACT_RESIDUAL.html">PEP_EXTRACT_RESIDUAL</a>` - extraction based on the residual</font>
<a name="line274">274: </a><font color="#B22222">- `<a href="../manualpages/PEP/PEP_EXTRACT_STRUCTURED.html">PEP_EXTRACT_STRUCTURED</a>` - extraction using a linear combination of all the blocks</font>
<a name="line276">276: </a><font color="#B22222"> Note:</font>
<a name="line277">277: </a><font color="#B22222"> This is relevant for solvers based on linearization. Once the solver has</font>
<a name="line278">278: </a><font color="#B22222"> converged, the polynomial eigenvectors can be extracted from the</font>
<a name="line279">279: </a><font color="#B22222"> eigenvectors of the linearized problem in different ways. See the</font>
<a name="line280">280: </a><font color="#B22222"> discussion in section [](#sec:pepextr).</font>
<a name="line282">282: </a><font color="#B22222"> Level: intermediate</font>
<a name="line284">284: </a><font color="#B22222">.seealso: [](ch:pep), [](#sec:pepextr), `<a href="../manualpages/PEP/PEPSetExtract.html">PEPSetExtract</a>()`</font>
<a name="line285">285: </a><font color="#B22222">E*/</font>
<a name="line286">286: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/PEP/PEP_EXTRACT_NONE.html">PEP_EXTRACT_NONE</a> = 1,
<a name="line287">287: </a> <a href="../manualpages/PEP/PEP_EXTRACT_NORM.html">PEP_EXTRACT_NORM</a> = 2,
<a name="line288">288: </a> <a href="../manualpages/PEP/PEP_EXTRACT_RESIDUAL.html">PEP_EXTRACT_RESIDUAL</a> = 3,
<a name="line289">289: </a> <a href="../manualpages/PEP/PEP_EXTRACT_STRUCTURED.html">PEP_EXTRACT_STRUCTURED</a> = 4 } <a href="../manualpages/PEP/PEPExtract.html">PEPExtract</a>;
<a name="line290">290: </a>SLEPC_EXTERN const char *PEPExtractTypes[];
<a name="line292">292: </a><font color="#B22222">/*MC</font>
<a name="line293">293: </a><font color="#B22222"> <a href="../manualpages/PEP/PEP_EXTRACT_NONE.html">PEP_EXTRACT_NONE</a> - Trivial eigenvector extraction.</font>
<a name="line295">295: </a><font color="#B22222"> Note:</font>
<a name="line296">296: </a><font color="#B22222"> Given the eigenvector of the linearization, $y$, the eigenvector of the</font>
<a name="line297">297: </a><font color="#B22222"> polynomial eigenproblem $x$ is taken from the first block of $y$.</font>
<a name="line299">299: </a><font color="#B22222"> Level: intermediate</font>
<a name="line301">301: </a><font color="#B22222">.seealso: [](ch:pep), [](#sec:pepextr), `<a href="../manualpages/PEP/PEPExtract.html">PEPExtract</a>`, `<a href="../manualpages/PEP/PEPSetExtract.html">PEPSetExtract</a>()`, `<a href="../manualpages/PEP/PEP_EXTRACT_NORM.html">PEP_EXTRACT_NORM</a>`, `<a href="../manualpages/PEP/PEP_EXTRACT_RESIDUAL.html">PEP_EXTRACT_RESIDUAL</a>`, `<a href="../manualpages/PEP/PEP_EXTRACT_STRUCTURED.html">PEP_EXTRACT_STRUCTURED</a>`</font>
<a name="line302">302: </a><font color="#B22222">M*/</font>
<a name="line304">304: </a><font color="#B22222">/*MC</font>
<a name="line305">305: </a><font color="#B22222"> <a href="../manualpages/PEP/PEP_EXTRACT_NORM.html">PEP_EXTRACT_NORM</a> - Eigenvector extraction based on the norm.</font>
<a name="line307">307: </a><font color="#B22222"> Notes:</font>
<a name="line308">308: </a><font color="#B22222"> Given the eigenvector of the linearization, $y$, the eigenvector of the</font>
<a name="line309">309: </a><font color="#B22222"> polynomial eigenproblem $x$ is obtained from the $i$th block for which</font>
<a name="line310">310: </a><font color="#B22222"> $|\phi_i(\lambda)|$ is maximum, where $\phi_i$ is the $i$th element</font>
<a name="line311">311: </a><font color="#B22222"> of the polynomial basis. In the case of the monomial basis, it will</font>
<a name="line312">312: </a><font color="#B22222"> select the first or last block depending on $|\lambda|\geq 1$ or $|\lambda|<1$.</font>
<a name="line314">314: </a><font color="#B22222"> This is the default extraction.</font>
<a name="line316">316: </a><font color="#B22222"> Level: intermediate</font>
<a name="line318">318: </a><font color="#B22222">.seealso: [](ch:pep), [](#sec:pepextr), `<a href="../manualpages/PEP/PEPExtract.html">PEPExtract</a>`, `<a href="../manualpages/PEP/PEPSetExtract.html">PEPSetExtract</a>()`, `<a href="../manualpages/PEP/PEP_EXTRACT_NONE.html">PEP_EXTRACT_NONE</a>`, `<a href="../manualpages/PEP/PEP_EXTRACT_RESIDUAL.html">PEP_EXTRACT_RESIDUAL</a>`, `<a href="../manualpages/PEP/PEP_EXTRACT_STRUCTURED.html">PEP_EXTRACT_STRUCTURED</a>`</font>
<a name="line319">319: </a><font color="#B22222">M*/</font>
<a name="line321">321: </a><font color="#B22222">/*MC</font>
<a name="line322">322: </a><font color="#B22222"> <a href="../manualpages/PEP/PEP_EXTRACT_RESIDUAL.html">PEP_EXTRACT_RESIDUAL</a> - Eigenvector extraction based on the residual.</font>
<a name="line324">324: </a><font color="#B22222"> Note:</font>
<a name="line325">325: </a><font color="#B22222"> Given the eigenvector of the linearization, $y$, the eigenvector of the</font>
<a name="line326">326: </a><font color="#B22222"> polynomial eigenproblem $x$ is the block of $y$ that minimizes the</font>
<a name="line327">327: </a><font color="#B22222"> residual norm.</font>
<a name="line329">329: </a><font color="#B22222"> Level: intermediate</font>
<a name="line331">331: </a><font color="#B22222">.seealso: [](ch:pep), [](#sec:pepextr), `<a href="../manualpages/PEP/PEPExtract.html">PEPExtract</a>`, `<a href="../manualpages/PEP/PEPSetExtract.html">PEPSetExtract</a>()`, `<a href="../manualpages/PEP/PEP_EXTRACT_NONE.html">PEP_EXTRACT_NONE</a>`, `<a href="../manualpages/PEP/PEP_EXTRACT_NORM.html">PEP_EXTRACT_NORM</a>`, `<a href="../manualpages/PEP/PEP_EXTRACT_STRUCTURED.html">PEP_EXTRACT_STRUCTURED</a>`</font>
<a name="line332">332: </a><font color="#B22222">M*/</font>
<a name="line334">334: </a><font color="#B22222">/*MC</font>
<a name="line335">335: </a><font color="#B22222"> <a href="../manualpages/PEP/PEP_EXTRACT_STRUCTURED.html">PEP_EXTRACT_STRUCTURED</a> - Eigenvector extraction using a linear combination of</font>
<a name="line336">336: </a><font color="#B22222"> all the blocks.</font>
<a name="line338">338: </a><font color="#B22222"> Note:</font>
<a name="line339">339: </a><font color="#B22222"> Given the eigenvector of the linearization, $y$, the eigenvector of the</font>
<a name="line340">340: </a><font color="#B22222"> polynomial eigenproblem $x$ is obtained as a linear combination of all</font>
<a name="line341">341: </a><font color="#B22222"> the blocks, such that it minimizes a certain norm.</font>
<a name="line343">343: </a><font color="#B22222"> Level: intermediate</font>
<a name="line345">345: </a><font color="#B22222">.seealso: [](ch:pep), [](#sec:pepextr), `<a href="../manualpages/PEP/PEPExtract.html">PEPExtract</a>`, `<a href="../manualpages/PEP/PEPSetExtract.html">PEPSetExtract</a>()`, `<a href="../manualpages/PEP/PEP_EXTRACT_NONE.html">PEP_EXTRACT_NONE</a>`, `<a href="../manualpages/PEP/PEP_EXTRACT_NORM.html">PEP_EXTRACT_NORM</a>`, `<a href="../manualpages/PEP/PEP_EXTRACT_RESIDUAL.html">PEP_EXTRACT_RESIDUAL</a>`</font>
<a name="line346">346: </a><font color="#B22222">M*/</font>
<a name="line348">348: </a><font color="#B22222">/*E</font>
<a name="line349">349: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPErrorType.html">PEPErrorType</a> - The error type used to assess the accuracy of computed solutions.</font>
<a name="line351">351: </a><font color="#B22222"> Values:</font>
<a name="line352">352: </a><font color="#B22222">+ `<a href="../manualpages/PEP/PEPErrorType.html">PEP_ERROR_ABSOLUTE</a>` - compute error bound as $\|r\|$</font>
<a name="line353">353: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPErrorType.html">PEP_ERROR_RELATIVE</a>` - compute error bound as $\|r\|/|\lambda|$</font>
<a name="line354">354: </a><font color="#B22222">- `<a href="../manualpages/PEP/PEPErrorType.html">PEP_ERROR_BACKWARD</a>` - compute error bound as $\|r\|/(\sum_j\|A_j\||\lambda_i|^j)$</font>
<a name="line356">356: </a><font color="#B22222"> Level: intermediate</font>
<a name="line358">358: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPComputeError.html">PEPComputeError</a>()`</font>
<a name="line359">359: </a><font color="#B22222">E*/</font>
<a name="line360">360: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/PEP/PEPErrorType.html">PEP_ERROR_ABSOLUTE</a>,
<a name="line361">361: </a> <a href="../manualpages/PEP/PEPErrorType.html">PEP_ERROR_RELATIVE</a>,
<a name="line362">362: </a> <a href="../manualpages/PEP/PEPErrorType.html">PEP_ERROR_BACKWARD</a> } <a href="../manualpages/PEP/PEPErrorType.html">PEPErrorType</a>;
<a name="line363">363: </a>SLEPC_EXTERN const char *PEPErrorTypes[];
<a name="line365">365: </a><font color="#B22222">/*E</font>
<a name="line366">366: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPConv.html">PEPConv</a> - The convergence criterion to be used by the solver.</font>
<a name="line368">368: </a><font color="#B22222"> Values:</font>
<a name="line369">369: </a><font color="#B22222">+ `<a href="../manualpages/PEP/PEPConv.html">PEP_CONV_ABS</a>` - absolute convergence criterion, $\|r\|$</font>
<a name="line370">370: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPConv.html">PEP_CONV_REL</a>` - convergence criterion relative to eigenvalue, $\|r\|/|\lambda|$</font>
<a name="line371">371: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPConv.html">PEP_CONV_NORM</a>` - convergence criterion relative to matrix norms, $\|r\|/(\sum_j\|A_j\||\lambda|^j)$</font>
<a name="line372">372: </a><font color="#B22222">- `<a href="../manualpages/PEP/PEPConv.html">PEP_CONV_USER</a>` - convergence dictated by user-provided function</font>
<a name="line374">374: </a><font color="#B22222"> Level: intermediate</font>
<a name="line376">376: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPSetConvergenceTest.html">PEPSetConvergenceTest</a>()`, `<a href="../manualpages/PEP/PEPSetConvergenceTestFunction.html">PEPSetConvergenceTestFunction</a>()`</font>
<a name="line377">377: </a><font color="#B22222">E*/</font>
<a name="line378">378: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/PEP/PEPConv.html">PEP_CONV_ABS</a>,
<a name="line379">379: </a> <a href="../manualpages/PEP/PEPConv.html">PEP_CONV_REL</a>,
<a name="line380">380: </a> <a href="../manualpages/PEP/PEPConv.html">PEP_CONV_NORM</a>,
<a name="line381">381: </a> <a href="../manualpages/PEP/PEPConv.html">PEP_CONV_USER</a> } <a href="../manualpages/PEP/PEPConv.html">PEPConv</a>;
<a name="line383">383: </a><font color="#B22222">/*E</font>
<a name="line384">384: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPStop.html">PEPStop</a> - The stopping test to decide the termination of the outer loop</font>
<a name="line385">385: </a><font color="#B22222"> of the eigensolver.</font>
<a name="line387">387: </a><font color="#B22222"> Values:</font>
<a name="line388">388: </a><font color="#B22222">+ `<a href="../manualpages/PEP/PEP_STOP_BASIC.html">PEP_STOP_BASIC</a>` - default stopping test</font>
<a name="line389">389: </a><font color="#B22222">- `<a href="../manualpages/PEP/PEP_STOP_USER.html">PEP_STOP_USER</a>` - user-provided stopping test</font>
<a name="line391">391: </a><font color="#B22222"> Level: advanced</font>
<a name="line393">393: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPSetStoppingTest.html">PEPSetStoppingTest</a>()`, `<a href="../manualpages/PEP/PEPSetStoppingTestFunction.html">PEPSetStoppingTestFunction</a>()`</font>
<a name="line394">394: </a><font color="#B22222">E*/</font>
<a name="line395">395: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/PEP/PEP_STOP_BASIC.html">PEP_STOP_BASIC</a>,
<a name="line396">396: </a> <a href="../manualpages/PEP/PEP_STOP_USER.html">PEP_STOP_USER</a> } <a href="../manualpages/PEP/PEPStop.html">PEPStop</a>;
<a name="line398">398: </a><font color="#B22222">/*MC</font>
<a name="line399">399: </a><font color="#B22222"> <a href="../manualpages/PEP/PEP_STOP_BASIC.html">PEP_STOP_BASIC</a> - The default stopping test.</font>
<a name="line401">401: </a><font color="#B22222"> Note:</font>
<a name="line402">402: </a><font color="#B22222"> By default, the termination of the outer loop is decided by calling</font>
<a name="line403">403: </a><font color="#B22222"> `<a href="../manualpages/PEP/PEPStoppingBasic.html">PEPStoppingBasic</a>()`, which will stop if all requested eigenvalues are converged,</font>
<a name="line404">404: </a><font color="#B22222"> or if the maximum number of iterations has been reached.</font>
<a name="line406">406: </a><font color="#B22222"> Level: advanced</font>
<a name="line408">408: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPStop.html">PEPStop</a>`, `<a href="../manualpages/PEP/PEPSetStoppingTest.html">PEPSetStoppingTest</a>()`, `<a href="../manualpages/PEP/PEPStoppingBasic.html">PEPStoppingBasic</a>()`</font>
<a name="line409">409: </a><font color="#B22222">M*/</font>
<a name="line411">411: </a><font color="#B22222">/*MC</font>
<a name="line412">412: </a><font color="#B22222"> <a href="../manualpages/PEP/PEP_STOP_USER.html">PEP_STOP_USER</a> - The user-provided stopping test.</font>
<a name="line414">414: </a><font color="#B22222"> Note:</font>
<a name="line415">415: </a><font color="#B22222"> Customized stopping test using the user-provided function given with</font>
<a name="line416">416: </a><font color="#B22222"> `<a href="../manualpages/PEP/PEPSetStoppingTestFunction.html">PEPSetStoppingTestFunction</a>()`.</font>
<a name="line418">418: </a><font color="#B22222"> Level: advanced</font>
<a name="line420">420: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPStop.html">PEPStop</a>`, `<a href="../manualpages/PEP/PEPSetStoppingTest.html">PEPSetStoppingTest</a>()`, `<a href="../manualpages/PEP/PEPSetStoppingTestFunction.html">PEPSetStoppingTestFunction</a>()`</font>
<a name="line421">421: </a><font color="#B22222">M*/</font>
<a name="line423">423: </a><font color="#B22222">/*E</font>
<a name="line424">424: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPConvergedReason.html">PEPConvergedReason</a> - Reason a polynomial eigensolver was determined to have converged</font>
<a name="line425">425: </a><font color="#B22222"> or diverged.</font>
<a name="line427">427: </a><font color="#B22222"> Values:</font>
<a name="line428">428: </a><font color="#B22222">+ `<a href="../manualpages/PEP/PEP_CONVERGED_TOL.html">PEP_CONVERGED_TOL</a>` - converged up to tolerance</font>
<a name="line429">429: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEP_CONVERGED_USER.html">PEP_CONVERGED_USER</a>` - converged due to a user-defined condition</font>
<a name="line430">430: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEP_DIVERGED_ITS.html">PEP_DIVERGED_ITS</a>` - exceeded the maximum number of allowed iterations</font>
<a name="line431">431: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEP_DIVERGED_BREAKDOWN.html">PEP_DIVERGED_BREAKDOWN</a>` - generic breakdown in method</font>
<a name="line432">432: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEP_DIVERGED_SYMMETRY_LOST.html">PEP_DIVERGED_SYMMETRY_LOST</a>` - pseudo-Lanczos was not able to keep symmetry</font>
<a name="line433">433: </a><font color="#B22222">- `<a href="../manualpages/PEP/PEP_CONVERGED_ITERATING.html">PEP_CONVERGED_ITERATING</a>` - the solver is still running</font>
<a name="line435">435: </a><font color="#B22222"> Level: intermediate</font>
<a name="line437">437: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPSolve.html">PEPSolve</a>()`, `<a href="../manualpages/PEP/PEPGetConvergedReason.html">PEPGetConvergedReason</a>()`, `<a href="../manualpages/PEP/PEPSetTolerances.html">PEPSetTolerances</a>()`</font>
<a name="line438">438: </a><font color="#B22222">E*/</font>
<a name="line439">439: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {<font color="#B22222">/* converged */</font>
<a name="line440">440: </a> <a href="../manualpages/PEP/PEP_CONVERGED_TOL.html">PEP_CONVERGED_TOL</a> = 1,
<a name="line441">441: </a> <a href="../manualpages/PEP/PEP_CONVERGED_USER.html">PEP_CONVERGED_USER</a> = 2,
<a name="line442">442: </a> <font color="#B22222">/* diverged */</font>
<a name="line443">443: </a> <a href="../manualpages/PEP/PEP_DIVERGED_ITS.html">PEP_DIVERGED_ITS</a> = -1,
<a name="line444">444: </a> <a href="../manualpages/PEP/PEP_DIVERGED_BREAKDOWN.html">PEP_DIVERGED_BREAKDOWN</a> = -2,
<a name="line445">445: </a> <a href="../manualpages/PEP/PEP_DIVERGED_SYMMETRY_LOST.html">PEP_DIVERGED_SYMMETRY_LOST</a> = -3,
<a name="line446">446: </a> <a href="../manualpages/PEP/PEP_CONVERGED_ITERATING.html">PEP_CONVERGED_ITERATING</a> = 0} <a href="../manualpages/PEP/PEPConvergedReason.html">PEPConvergedReason</a>;
<a name="line447">447: </a>SLEPC_EXTERN const char *const*PEPConvergedReasons;
<a name="line449">449: </a><font color="#B22222">/*MC</font>
<a name="line450">450: </a><font color="#B22222"> <a href="../manualpages/PEP/PEP_CONVERGED_TOL.html">PEP_CONVERGED_TOL</a> - The computed error estimates, based on residual norms,</font>
<a name="line451">451: </a><font color="#B22222"> for all requested eigenvalues are below the tolerance.</font>
<a name="line453">453: </a><font color="#B22222"> Level: intermediate</font>
<a name="line455">455: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPSolve.html">PEPSolve</a>()`, `<a href="../manualpages/PEP/PEPGetConvergedReason.html">PEPGetConvergedReason</a>()`, `<a href="../manualpages/PEP/PEPConvergedReason.html">PEPConvergedReason</a>`</font>
<a name="line456">456: </a><font color="#B22222">M*/</font>
<a name="line458">458: </a><font color="#B22222">/*MC</font>
<a name="line459">459: </a><font color="#B22222"> <a href="../manualpages/PEP/PEP_CONVERGED_USER.html">PEP_CONVERGED_USER</a> - The solver was declared converged due to a user-defined condition.</font>
<a name="line461">461: </a><font color="#B22222"> Note:</font>
<a name="line462">462: </a><font color="#B22222"> This happens only when a user-defined stopping test has been set with</font>
<a name="line463">463: </a><font color="#B22222"> `<a href="../manualpages/PEP/PEPSetStoppingTestFunction.html">PEPSetStoppingTestFunction</a>()`.</font>
<a name="line465">465: </a><font color="#B22222"> Level: intermediate</font>
<a name="line467">467: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPSolve.html">PEPSolve</a>()`, `<a href="../manualpages/PEP/PEPGetConvergedReason.html">PEPGetConvergedReason</a>()`, `<a href="../manualpages/PEP/PEPConvergedReason.html">PEPConvergedReason</a>`, `<a href="../manualpages/PEP/PEPSetStoppingTestFunction.html">PEPSetStoppingTestFunction</a>()`</font>
<a name="line468">468: </a><font color="#B22222">M*/</font>
<a name="line470">470: </a><font color="#B22222">/*MC</font>
<a name="line471">471: </a><font color="#B22222"> <a href="../manualpages/PEP/PEP_DIVERGED_ITS.html">PEP_DIVERGED_ITS</a> - Exceeded the maximum number of allowed iterations</font>
<a name="line472">472: </a><font color="#B22222"> before the convergence criterion was satisfied.</font>
<a name="line474">474: </a><font color="#B22222"> Level: intermediate</font>
<a name="line476">476: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPSolve.html">PEPSolve</a>()`, `<a href="../manualpages/PEP/PEPGetConvergedReason.html">PEPGetConvergedReason</a>()`, `<a href="../manualpages/PEP/PEPConvergedReason.html">PEPConvergedReason</a>`</font>
<a name="line477">477: </a><font color="#B22222">M*/</font>
<a name="line479">479: </a><font color="#B22222">/*MC</font>
<a name="line480">480: </a><font color="#B22222"> <a href="../manualpages/PEP/PEP_DIVERGED_BREAKDOWN.html">PEP_DIVERGED_BREAKDOWN</a> - A breakdown in the solver was detected so the</font>
<a name="line481">481: </a><font color="#B22222"> method could not continue.</font>
<a name="line483">483: </a><font color="#B22222"> Level: intermediate</font>
<a name="line485">485: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPSolve.html">PEPSolve</a>()`, `<a href="../manualpages/PEP/PEPGetConvergedReason.html">PEPGetConvergedReason</a>()`, `<a href="../manualpages/PEP/PEPConvergedReason.html">PEPConvergedReason</a>`</font>
<a name="line486">486: </a><font color="#B22222">M*/</font>
<a name="line488">488: </a><font color="#B22222">/*MC</font>
<a name="line489">489: </a><font color="#B22222"> <a href="../manualpages/PEP/PEP_DIVERGED_SYMMETRY_LOST.html">PEP_DIVERGED_SYMMETRY_LOST</a> - The selected solver uses a pseudo-Lanczos recurrence,</font>
<a name="line490">490: </a><font color="#B22222"> which is numerically unstable, and a symmetry test revealed that instability</font>
<a name="line491">491: </a><font color="#B22222"> had appeared so the solver could not continue.</font>
<a name="line493">493: </a><font color="#B22222"> Level: intermediate</font>
<a name="line495">495: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPSolve.html">PEPSolve</a>()`, `<a href="../manualpages/PEP/PEPGetConvergedReason.html">PEPGetConvergedReason</a>()`, `<a href="../manualpages/PEP/PEPConvergedReason.html">PEPConvergedReason</a>`</font>
<a name="line496">496: </a><font color="#B22222">M*/</font>
<a name="line498">498: </a><font color="#B22222">/*MC</font>
<a name="line499">499: </a><font color="#B22222"> <a href="../manualpages/PEP/PEP_CONVERGED_ITERATING.html">PEP_CONVERGED_ITERATING</a> - This value is returned if `<a href="../manualpages/PEP/PEPGetConvergedReason.html">PEPGetConvergedReason</a>()` is called</font>
<a name="line500">500: </a><font color="#B22222"> while `<a href="../manualpages/PEP/PEPSolve.html">PEPSolve</a>()` is still running.</font>
<a name="line502">502: </a><font color="#B22222"> Level: intermediate</font>
<a name="line504">504: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPSolve.html">PEPSolve</a>()`, `<a href="../manualpages/PEP/PEPGetConvergedReason.html">PEPGetConvergedReason</a>()`, `<a href="../manualpages/PEP/PEPConvergedReason.html">PEPConvergedReason</a>`</font>
<a name="line505">505: </a><font color="#B22222">M*/</font>
<a name="line507">507: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCreate.html">PEPCreate</a>(<a href="https://petsc.org/release/manualpages/Sys/MPI_Comm/">MPI_Comm</a>,<a href="../manualpages/PEP/PEP.html">PEP</a>*)</font></strong>;
<a name="line508">508: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPDestroy.html">PEPDestroy</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>*)</font></strong>;
<a name="line509">509: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPReset.html">PEPReset</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>)</font></strong>;
<a name="line510">510: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetType.html">PEPSetType</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPType.html">PEPType</a>)</font></strong>;
<a name="line511">511: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetType.html">PEPGetType</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPType.html">PEPType</a>*)</font></strong>;
<a name="line512">512: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetProblemType.html">PEPSetProblemType</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPProblemType.html">PEPProblemType</a>)</font></strong>;
<a name="line513">513: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetProblemType.html">PEPGetProblemType</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPProblemType.html">PEPProblemType</a>*)</font></strong>;
<a name="line514">514: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetOperators.html">PEPSetOperators</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>[])</font></strong>;
<a name="line515">515: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetOperators.html">PEPGetOperators</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>*)</font></strong>;
<a name="line516">516: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetNumMatrices.html">PEPGetNumMatrices</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line517">517: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetTarget.html">PEPSetTarget</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>)</font></strong>;
<a name="line518">518: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetTarget.html">PEPGetTarget</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>*)</font></strong>;
<a name="line519">519: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetInterval.html">PEPSetInterval</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>)</font></strong>;
<a name="line520">520: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetInterval.html">PEPGetInterval</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<a name="line521">521: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetFromOptions.html">PEPSetFromOptions</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>)</font></strong>;
<a name="line522">522: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetDSType.html">PEPSetDSType</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>)</font></strong>;
<a name="line523">523: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetUp.html">PEPSetUp</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>)</font></strong>;
<a name="line524">524: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSolve.html">PEPSolve</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>)</font></strong>;
<a name="line525">525: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPView.html">PEPView</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a>)</font></strong>;
<a name="line526">526: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPViewFromOptions.html">PEPViewFromOptions</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscObject/">PetscObject</a>,const char[])</font></strong>;
<a name="line527">527: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPErrorView.html">PEPErrorView</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPErrorType.html">PEPErrorType</a>,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a>)</font></strong>;
<a name="line528">528: </a>PETSC_DEPRECATED_FUNCTION(3, 6, 0, <font color="#666666">"<a href="../manualpages/PEP/PEPErrorView.html">PEPErrorView</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> PEPPrintSolution(<a href="../manualpages/PEP/PEP.html">PEP</a> pep,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a> v) {<font color="#4169E1">return</font> <a href="../manualpages/PEP/PEPErrorView.html">PEPErrorView</a>(pep,<a href="../manualpages/PEP/PEPErrorType.html">PEP_ERROR_BACKWARD</a>,v);}
<a name="line529">529: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPErrorViewFromOptions.html">PEPErrorViewFromOptions</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>)</font></strong>;
<a name="line530">530: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPConvergedReasonView.html">PEPConvergedReasonView</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a>)</font></strong>;
<a name="line531">531: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPConvergedReasonViewFromOptions.html">PEPConvergedReasonViewFromOptions</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>)</font></strong>;
<a name="line532">532: </a>PETSC_DEPRECATED_FUNCTION(3, 14, 0, <font color="#666666">"<a href="../manualpages/PEP/PEPConvergedReasonView.html">PEPConvergedReasonView</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> PEPReasonView(<a href="../manualpages/PEP/PEP.html">PEP</a> pep,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a> v) {<font color="#4169E1">return</font> <a href="../manualpages/PEP/PEPConvergedReasonView.html">PEPConvergedReasonView</a>(pep,v);}
<a name="line533">533: </a>PETSC_DEPRECATED_FUNCTION(3, 14, 0, <font color="#666666">"<a href="../manualpages/PEP/PEPConvergedReasonViewFromOptions.html">PEPConvergedReasonViewFromOptions</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> PEPReasonViewFromOptions(<a href="../manualpages/PEP/PEP.html">PEP</a> pep) {<font color="#4169E1">return</font> <a href="../manualpages/PEP/PEPConvergedReasonViewFromOptions.html">PEPConvergedReasonViewFromOptions</a>(pep);}
<a name="line534">534: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPValuesView.html">PEPValuesView</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a>)</font></strong>;
<a name="line535">535: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPValuesViewFromOptions.html">PEPValuesViewFromOptions</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>)</font></strong>;
<a name="line536">536: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPVectorsView.html">PEPVectorsView</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a>)</font></strong>;
<a name="line537">537: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPVectorsViewFromOptions.html">PEPVectorsViewFromOptions</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>)</font></strong>;
<a name="line538">538: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetBV.html">PEPSetBV</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/BV/BV.html">BV</a>)</font></strong>;
<a name="line539">539: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetBV.html">PEPGetBV</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/BV/BV.html">BV</a>*)</font></strong>;
<a name="line540">540: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetRG.html">PEPSetRG</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/RG/RG.html">RG</a>)</font></strong>;
<a name="line541">541: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetRG.html">PEPGetRG</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/RG/RG.html">RG</a>*)</font></strong>;
<a name="line542">542: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetDS.html">PEPSetDS</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/DS/DS.html">DS</a>)</font></strong>;
<a name="line543">543: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetDS.html">PEPGetDS</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/DS/DS.html">DS</a>*)</font></strong>;
<a name="line544">544: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetST.html">PEPSetST</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/ST/ST.html">ST</a>)</font></strong>;
<a name="line545">545: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetST.html">PEPGetST</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/ST/ST.html">ST</a>*)</font></strong>;
<a name="line546">546: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPRefineGetKSP.html">PEPRefineGetKSP</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/KSP/KSP/">KSP</a>*)</font></strong>;
<a name="line548">548: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetTolerances.html">PEPSetTolerances</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line549">549: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetTolerances.html">PEPGetTolerances</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line550">550: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetConvergedReason.html">PEPGetConvergedReason</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPConvergedReason.html">PEPConvergedReason</a>*)</font></strong>;
<a name="line552">552: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetDimensions.html">PEPSetDimensions</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line553">553: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetDimensions.html">PEPGetDimensions</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line554">554: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetScale.html">PEPSetScale</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPScale.html">PEPScale</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>,<a href="https://petsc.org/release/manualpages/Vec/Vec/">Vec</a>,<a href="https://petsc.org/release/manualpages/Vec/Vec/">Vec</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>)</font></strong>;
<a name="line555">555: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetScale.html">PEPGetScale</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPScale.html">PEPScale</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*,<a href="https://petsc.org/release/manualpages/Vec/Vec/">Vec</a>*,<a href="https://petsc.org/release/manualpages/Vec/Vec/">Vec</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<a name="line556">556: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetRefine.html">PEPSetRefine</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPRefine.html">PEPRefine</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="../manualpages/PEP/PEPRefineScheme.html">PEPRefineScheme</a>)</font></strong>;
<a name="line557">557: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetRefine.html">PEPGetRefine</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPRefine.html">PEPRefine</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="../manualpages/PEP/PEPRefineScheme.html">PEPRefineScheme</a>*)</font></strong>;
<a name="line558">558: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetExtract.html">PEPSetExtract</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPExtract.html">PEPExtract</a>)</font></strong>;
<a name="line559">559: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetExtract.html">PEPGetExtract</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPExtract.html">PEPExtract</a>*)</font></strong>;
<a name="line560">560: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetBasis.html">PEPSetBasis</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPBasis.html">PEPBasis</a>)</font></strong>;
<a name="line561">561: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetBasis.html">PEPGetBasis</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPBasis.html">PEPBasis</a>*)</font></strong>;
<a name="line563">563: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetConverged.html">PEPGetConverged</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line564">564: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetEigenpair.html">PEPGetEigenpair</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>*,<a href="https://petsc.org/release/manualpages/Vec/Vec/">Vec</a>,<a href="https://petsc.org/release/manualpages/Vec/Vec/">Vec</a>)</font></strong>;
<a name="line565">565: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPComputeError.html">PEPComputeError</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="../manualpages/PEP/PEPErrorType.html">PEPErrorType</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<a name="line566">566: </a>PETSC_DEPRECATED_FUNCTION(3, 6, 0, <font color="#666666">"<a href="../manualpages/PEP/PEPComputeError.html">PEPComputeError</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> PEPComputeRelativeError(<a href="../manualpages/PEP/PEP.html">PEP</a> pep,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> i,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> *r) {<font color="#4169E1">return</font> <a href="../manualpages/PEP/PEPComputeError.html">PEPComputeError</a>(pep,i,<a href="../manualpages/PEP/PEPErrorType.html">PEP_ERROR_BACKWARD</a>,r);}
<a name="line567">567: </a>PETSC_DEPRECATED_FUNCTION(3, 6, 0, <font color="#666666">"<a href="../manualpages/PEP/PEPComputeError.html">PEPComputeError</a>() with <a href="../manualpages/PEP/PEPErrorType.html">PEP_ERROR_ABSOLUTE</a>"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> PEPComputeResidualNorm(<a href="../manualpages/PEP/PEP.html">PEP</a> pep,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> i,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> *r) {<font color="#4169E1">return</font> <a href="../manualpages/PEP/PEPComputeError.html">PEPComputeError</a>(pep,i,<a href="../manualpages/PEP/PEPErrorType.html">PEP_ERROR_ABSOLUTE</a>,r);}
<a name="line568">568: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetErrorEstimate.html">PEPGetErrorEstimate</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<a name="line569">569: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetIterationNumber.html">PEPGetIterationNumber</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line571">571: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetInitialSpace.html">PEPSetInitialSpace</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Vec/Vec/">Vec</a>[])</font></strong>;
<a name="line572">572: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetWhichEigenpairs.html">PEPSetWhichEigenpairs</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPWhich.html">PEPWhich</a>)</font></strong>;
<a name="line573">573: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetWhichEigenpairs.html">PEPGetWhichEigenpairs</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPWhich.html">PEPWhich</a>*)</font></strong>;
<a name="line575">575: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetTrackAll.html">PEPSetTrackAll</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line576">576: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetTrackAll.html">PEPGetTrackAll</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line578">578: </a><font color="#B22222">/*S</font>
<a name="line579">579: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPMonitorFn.html">PEPMonitorFn</a> - A function prototype for functions provided to `<a href="../manualpages/PEP/PEPMonitorSet.html">PEPMonitorSet</a>()`.</font>
<a name="line581">581: </a><font color="#B22222"> Calling Sequence:</font>
<a name="line582">582: </a><font color="#B22222">+ pep - the polynomial eigensolver context</font>
<a name="line583">583: </a><font color="#B22222">. its - iteration number</font>
<a name="line584">584: </a><font color="#B22222">. nconv - number of converged eigenpairs</font>
<a name="line585">585: </a><font color="#B22222">. eigr - real part of the eigenvalues</font>
<a name="line586">586: </a><font color="#B22222">. eigi - imaginary part of the eigenvalues</font>
<a name="line587">587: </a><font color="#B22222">. errest - relative error estimates for each eigenpair</font>
<a name="line588">588: </a><font color="#B22222">. nest - number of error estimates</font>
<a name="line589">589: </a><font color="#B22222">- ctx - optional monitoring context, as provided with `<a href="../manualpages/PEP/PEPMonitorSet.html">PEPMonitorSet</a>()`</font>
<a name="line591">591: </a><font color="#B22222"> Level: intermediate</font>
<a name="line593">593: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPMonitorSet.html">PEPMonitorSet</a>()`</font>
<a name="line594">594: </a><font color="#B22222">S*/</font>
<a name="line595">595: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPMonitorFn.html">PEPMonitorFn</a>(<a href="../manualpages/PEP/PEP.html">PEP</a> pep,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> its,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> nconv,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a> eigr[],<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a> eigi[],<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> errest[],<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> nest,void *ctx)</font></strong>;
<a name="line597">597: </a><font color="#B22222">/*S</font>
<a name="line598">598: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPMonitorRegisterFn.html">PEPMonitorRegisterFn</a> - A function prototype for functions provided to `<a href="../manualpages/PEP/PEPMonitorRegister.html">PEPMonitorRegister</a>()`.</font>
<a name="line600">600: </a><font color="#B22222"> Calling Sequence:</font>
<a name="line601">601: </a><font color="#B22222">+ pep - the polynomial eigensolver context</font>
<a name="line602">602: </a><font color="#B22222">. its - iteration number</font>
<a name="line603">603: </a><font color="#B22222">. nconv - number of converged eigenpairs</font>
<a name="line604">604: </a><font color="#B22222">. eigr - real part of the eigenvalues</font>
<a name="line605">605: </a><font color="#B22222">. eigi - imaginary part of the eigenvalues</font>
<a name="line606">606: </a><font color="#B22222">. errest - relative error estimates for each eigenpair</font>
<a name="line607">607: </a><font color="#B22222">. nest - number of error estimates</font>
<a name="line608">608: </a><font color="#B22222">- ctx - `PetscViewerAndFormat` object</font>
<a name="line610">610: </a><font color="#B22222"> Level: advanced</font>
<a name="line612">612: </a><font color="#B22222"> Note:</font>
<a name="line613">613: </a><font color="#B22222"> This is a `<a href="../manualpages/PEP/PEPMonitorFn.html">PEPMonitorFn</a>` specialized for a context of `PetscViewerAndFormat`.</font>
<a name="line615">615: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPMonitorSet.html">PEPMonitorSet</a>()`, `<a href="../manualpages/PEP/PEPMonitorRegister.html">PEPMonitorRegister</a>()`, `<a href="../manualpages/PEP/PEPMonitorFn.html">PEPMonitorFn</a>`, `<a href="../manualpages/PEP/PEPMonitorRegisterCreateFn.html">PEPMonitorRegisterCreateFn</a>`, `<a href="../manualpages/PEP/PEPMonitorRegisterDestroyFn.html">PEPMonitorRegisterDestroyFn</a>`</font>
<a name="line616">616: </a><font color="#B22222">S*/</font>
<a name="line617">617: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPMonitorRegisterFn.html">PEPMonitorRegisterFn</a>(<a href="../manualpages/PEP/PEP.html">PEP</a> pep,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> its,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> nconv,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a> eigr[],<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a> eigi[],<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> errest[],<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> nest,PetscViewerAndFormat *ctx)</font></strong>;
<a name="line619">619: </a><font color="#B22222">/*S</font>
<a name="line620">620: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPMonitorRegisterCreateFn.html">PEPMonitorRegisterCreateFn</a> - A function prototype for functions that do the</font>
<a name="line621">621: </a><font color="#B22222"> creation when provided to `<a href="../manualpages/PEP/PEPMonitorRegister.html">PEPMonitorRegister</a>()`.</font>
<a name="line623">623: </a><font color="#B22222"> Calling Sequence:</font>
<a name="line624">624: </a><font color="#B22222">+ viewer - the viewer to be used with the `<a href="../manualpages/PEP/PEPMonitorRegisterFn.html">PEPMonitorRegisterFn</a>`</font>
<a name="line625">625: </a><font color="#B22222">. format - the format of the viewer</font>
<a name="line626">626: </a><font color="#B22222">. ctx - a context for the monitor</font>
<a name="line627">627: </a><font color="#B22222">- result - a `PetscViewerAndFormat` object</font>
<a name="line629">629: </a><font color="#B22222"> Level: advanced</font>
<a name="line631">631: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPMonitorRegisterFn.html">PEPMonitorRegisterFn</a>`, `<a href="../manualpages/PEP/PEPMonitorSet.html">PEPMonitorSet</a>()`, `<a href="../manualpages/PEP/PEPMonitorRegister.html">PEPMonitorRegister</a>()`, `<a href="../manualpages/PEP/PEPMonitorFn.html">PEPMonitorFn</a>`, `<a href="../manualpages/PEP/PEPMonitorRegisterDestroyFn.html">PEPMonitorRegisterDestroyFn</a>`</font>
<a name="line632">632: </a><font color="#B22222">S*/</font>
<a name="line633">633: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPMonitorRegisterCreateFn.html">PEPMonitorRegisterCreateFn</a>(<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a> viewer,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewerFormat/">PetscViewerFormat</a> format,void *ctx,PetscViewerAndFormat **result)</font></strong>;
<a name="line635">635: </a><font color="#B22222">/*S</font>
<a name="line636">636: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPMonitorRegisterDestroyFn.html">PEPMonitorRegisterDestroyFn</a> - A function prototype for functions that do the after</font>
<a name="line637">637: </a><font color="#B22222"> use destruction when provided to `<a href="../manualpages/PEP/PEPMonitorRegister.html">PEPMonitorRegister</a>()`.</font>
<a name="line639">639: </a><font color="#B22222"> Calling Sequence:</font>
<a name="line640">640: </a><font color="#B22222">. vf - a `PetscViewerAndFormat` object to be destroyed, including any context</font>
<a name="line642">642: </a><font color="#B22222"> Level: advanced</font>
<a name="line644">644: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPMonitorRegisterFn.html">PEPMonitorRegisterFn</a>`, `<a href="../manualpages/PEP/PEPMonitorSet.html">PEPMonitorSet</a>()`, `<a href="../manualpages/PEP/PEPMonitorRegister.html">PEPMonitorRegister</a>()`, `<a href="../manualpages/PEP/PEPMonitorFn.html">PEPMonitorFn</a>`, `<a href="../manualpages/PEP/PEPMonitorRegisterCreateFn.html">PEPMonitorRegisterCreateFn</a>`</font>
<a name="line645">645: </a><font color="#B22222">S*/</font>
<a name="line646">646: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPMonitorRegisterDestroyFn.html">PEPMonitorRegisterDestroyFn</a>(PetscViewerAndFormat **result)</font></strong>;
<a name="line648">648: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> PEPMonitor(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>[],<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>[],<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>[],<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line649">649: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPMonitorSet.html">PEPMonitorSet</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPMonitorFn.html">PEPMonitorFn</a>,void*,<a href="https://petsc.org/release/manualpages/Sys/PetscCtxDestroyFn/">PetscCtxDestroyFn</a>*)</font></strong>;
<a name="line650">650: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPMonitorCancel.html">PEPMonitorCancel</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>)</font></strong>;
<a name="line651">651: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetMonitorContext.html">PEPGetMonitorContext</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,void*)</font></strong>;
<a name="line653">653: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPMonitorSetFromOptions.html">PEPMonitorSetFromOptions</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,const char[],const char[],void*,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line654">654: </a>SLEPC_EXTERN <a href="../manualpages/PEP/PEPMonitorRegisterFn.html">PEPMonitorRegisterFn</a> <a href="../manualpages/PEP/PEPMonitorFirst.html">PEPMonitorFirst</a>;
<a name="line655">655: </a>SLEPC_EXTERN <a href="../manualpages/PEP/PEPMonitorRegisterFn.html">PEPMonitorRegisterFn</a> <a href="../manualpages/PEP/PEPMonitorFirstDrawLG.html">PEPMonitorFirstDrawLG</a>;
<a name="line656">656: </a>SLEPC_EXTERN <a href="../manualpages/PEP/PEPMonitorRegisterCreateFn.html">PEPMonitorRegisterCreateFn</a> <a href="../manualpages/PEP/PEPMonitorFirstDrawLGCreate.html">PEPMonitorFirstDrawLGCreate</a>;
<a name="line657">657: </a>SLEPC_EXTERN <a href="../manualpages/PEP/PEPMonitorRegisterFn.html">PEPMonitorRegisterFn</a> <a href="../manualpages/PEP/PEPMonitorAll.html">PEPMonitorAll</a>;
<a name="line658">658: </a>SLEPC_EXTERN <a href="../manualpages/PEP/PEPMonitorRegisterFn.html">PEPMonitorRegisterFn</a> <a href="../manualpages/PEP/PEPMonitorAllDrawLG.html">PEPMonitorAllDrawLG</a>;
<a name="line659">659: </a>SLEPC_EXTERN <a href="../manualpages/PEP/PEPMonitorRegisterCreateFn.html">PEPMonitorRegisterCreateFn</a> <a href="../manualpages/PEP/PEPMonitorAllDrawLGCreate.html">PEPMonitorAllDrawLGCreate</a>;
<a name="line660">660: </a>SLEPC_EXTERN <a href="../manualpages/PEP/PEPMonitorRegisterFn.html">PEPMonitorRegisterFn</a> <a href="../manualpages/PEP/PEPMonitorConverged.html">PEPMonitorConverged</a>;
<a name="line661">661: </a>SLEPC_EXTERN <a href="../manualpages/PEP/PEPMonitorRegisterCreateFn.html">PEPMonitorRegisterCreateFn</a> PEPMonitorConvergedCreate;
<a name="line662">662: </a>SLEPC_EXTERN <a href="../manualpages/PEP/PEPMonitorRegisterFn.html">PEPMonitorRegisterFn</a> <a href="../manualpages/PEP/PEPMonitorConvergedDrawLG.html">PEPMonitorConvergedDrawLG</a>;
<a name="line663">663: </a>SLEPC_EXTERN <a href="../manualpages/PEP/PEPMonitorRegisterCreateFn.html">PEPMonitorRegisterCreateFn</a> <a href="../manualpages/PEP/PEPMonitorConvergedDrawLGCreate.html">PEPMonitorConvergedDrawLGCreate</a>;
<a name="line664">664: </a>SLEPC_EXTERN <a href="../manualpages/PEP/PEPMonitorRegisterDestroyFn.html">PEPMonitorRegisterDestroyFn</a> PEPMonitorConvergedDestroy;
<a name="line666">666: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetOptionsPrefix.html">PEPSetOptionsPrefix</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,const char[])</font></strong>;
<a name="line667">667: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPAppendOptionsPrefix.html">PEPAppendOptionsPrefix</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,const char[])</font></strong>;
<a name="line668">668: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetOptionsPrefix.html">PEPGetOptionsPrefix</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,const char*[])</font></strong>;
<a name="line670">670: </a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscFunctionList/">PetscFunctionList</a> PEPList;
<a name="line671">671: </a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscFunctionList/">PetscFunctionList</a> PEPMonitorList;
<a name="line672">672: </a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscFunctionList/">PetscFunctionList</a> PEPMonitorCreateList;
<a name="line673">673: </a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscFunctionList/">PetscFunctionList</a> PEPMonitorDestroyList;
<a name="line674">674: </a><strong><font color="#4169E1"><a name="PEPRegister"></a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPRegister.html">PEPRegister</a>(const char[],<a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a>(*)(<a href="../manualpages/PEP/PEP.html">PEP</a>)</font></strong>);
<a name="line675">675: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPMonitorRegister.html">PEPMonitorRegister</a>(const char[],<a href="https://petsc.org/release/manualpages/Viewer/PetscViewerType/">PetscViewerType</a>,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewerFormat/">PetscViewerFormat</a>,<a href="../manualpages/PEP/PEPMonitorRegisterFn.html">PEPMonitorRegisterFn</a>*,<a href="../manualpages/PEP/PEPMonitorRegisterCreateFn.html">PEPMonitorRegisterCreateFn</a>*,<a href="../manualpages/PEP/PEPMonitorRegisterDestroyFn.html">PEPMonitorRegisterDestroyFn</a>*)</font></strong>;
<a name="line677">677: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetWorkVecs.html">PEPSetWorkVecs</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line678">678: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPAllocateSolution.html">PEPAllocateSolution</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line680">680: </a><font color="#B22222">/*S</font>
<a name="line681">681: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPConvergenceTestFn.html">PEPConvergenceTestFn</a> - A prototype of a `<a href="../manualpages/PEP/PEP.html">PEP</a>` convergence test function that</font>
<a name="line682">682: </a><font color="#B22222"> would be passed to `<a href="../manualpages/PEP/PEPSetConvergenceTestFunction.html">PEPSetConvergenceTestFunction</a>()`.</font>
<a name="line684">684: </a><font color="#B22222"> Calling Sequence:</font>
<a name="line685">685: </a><font color="#B22222">+ pep - the polynomial eigensolver context</font>
<a name="line686">686: </a><font color="#B22222">. eigr - real part of the eigenvalue</font>
<a name="line687">687: </a><font color="#B22222">. eigi - imaginary part of the eigenvalue</font>
<a name="line688">688: </a><font color="#B22222">. res - residual norm associated to the eigenpair</font>
<a name="line689">689: </a><font color="#B22222">. errest - [output] computed error estimate</font>
<a name="line690">690: </a><font color="#B22222">- ctx - optional convergence context, as set by `<a href="../manualpages/PEP/PEPSetConvergenceTestFunction.html">PEPSetConvergenceTestFunction</a>()`</font>
<a name="line692">692: </a><font color="#B22222"> Level: advanced</font>
<a name="line694">694: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPSetConvergenceTest.html">PEPSetConvergenceTest</a>()`, `<a href="../manualpages/PEP/PEPSetConvergenceTestFunction.html">PEPSetConvergenceTestFunction</a>()`</font>
<a name="line695">695: </a><font color="#B22222">S*/</font>
<a name="line696">696: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPConvergenceTestFn.html">PEPConvergenceTestFn</a>(<a href="../manualpages/PEP/PEP.html">PEP</a> pep,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a> eigr,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a> eigi,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> res,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> *errest,void *ctx)</font></strong>;
<a name="line698">698: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetConvergenceTest.html">PEPSetConvergenceTest</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPConv.html">PEPConv</a>)</font></strong>;
<a name="line699">699: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetConvergenceTest.html">PEPGetConvergenceTest</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPConv.html">PEPConv</a>*)</font></strong>;
<a name="line700">700: </a>SLEPC_EXTERN <a href="../manualpages/PEP/PEPConvergenceTestFn.html">PEPConvergenceTestFn</a> PEPConvergedAbsolute;
<a name="line701">701: </a>SLEPC_EXTERN <a href="../manualpages/PEP/PEPConvergenceTestFn.html">PEPConvergenceTestFn</a> PEPConvergedRelative;
<a name="line702">702: </a>SLEPC_EXTERN <a href="../manualpages/PEP/PEPConvergenceTestFn.html">PEPConvergenceTestFn</a> PEPConvergedNorm;
<a name="line703">703: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetConvergenceTestFunction.html">PEPSetConvergenceTestFunction</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPConvergenceTestFn.html">PEPConvergenceTestFn</a>*,void*,<a href="https://petsc.org/release/manualpages/Sys/PetscCtxDestroyFn/">PetscCtxDestroyFn</a>*)</font></strong>;
<a name="line705">705: </a><font color="#B22222">/*S</font>
<a name="line706">706: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPStoppingTestFn.html">PEPStoppingTestFn</a> - A prototype of a `<a href="../manualpages/PEP/PEP.html">PEP</a>` stopping test function that would be</font>
<a name="line707">707: </a><font color="#B22222"> passed to `<a href="../manualpages/PEP/PEPSetStoppingTestFunction.html">PEPSetStoppingTestFunction</a>()`.</font>
<a name="line709">709: </a><font color="#B22222"> Calling Sequence:</font>
<a name="line710">710: </a><font color="#B22222">+ pep - the polynomial eigensolver context</font>
<a name="line711">711: </a><font color="#B22222">. its - current number of iterations</font>
<a name="line712">712: </a><font color="#B22222">. max_it - maximum number of iterations</font>
<a name="line713">713: </a><font color="#B22222">. nconv - number of currently converged eigenpairs</font>
<a name="line714">714: </a><font color="#B22222">. nev - number of requested eigenpairs</font>
<a name="line715">715: </a><font color="#B22222">. reason - [output] result of the stopping test</font>
<a name="line716">716: </a><font color="#B22222">- ctx - optional stopping context, as set by `<a href="../manualpages/PEP/PEPSetStoppingTestFunction.html">PEPSetStoppingTestFunction</a>()`</font>
<a name="line718">718: </a><font color="#B22222"> Note:</font>
<a name="line719">719: </a><font color="#B22222"> A positive value of `reason` indicates that the iteration has finished successfully</font>
<a name="line720">720: </a><font color="#B22222"> (converged), and a negative value indicates an error condition (diverged). If</font>
<a name="line721">721: </a><font color="#B22222"> the iteration needs to be continued, `reason` must be set to `<a href="../manualpages/PEP/PEP_CONVERGED_ITERATING.html">PEP_CONVERGED_ITERATING</a>`</font>
<a name="line722">722: </a><font color="#B22222"> (zero).</font>
<a name="line724">724: </a><font color="#B22222"> Level: advanced</font>
<a name="line726">726: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPSetStoppingTestFunction.html">PEPSetStoppingTestFunction</a>()`</font>
<a name="line727">727: </a><font color="#B22222">S*/</font>
<a name="line728">728: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPStoppingTestFn.html">PEPStoppingTestFn</a>(<a href="../manualpages/PEP/PEP.html">PEP</a> pep,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> its,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> max_it,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> nconv,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> nev,<a href="../manualpages/PEP/PEPConvergedReason.html">PEPConvergedReason</a> *reason,void *ctx)</font></strong>;
<a name="line730">730: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetStoppingTest.html">PEPSetStoppingTest</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPStop.html">PEPStop</a>)</font></strong>;
<a name="line731">731: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPGetStoppingTest.html">PEPGetStoppingTest</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPStop.html">PEPStop</a>*)</font></strong>;
<a name="line732">732: </a>SLEPC_EXTERN <a href="../manualpages/PEP/PEPStoppingTestFn.html">PEPStoppingTestFn</a> <a href="../manualpages/PEP/PEPStoppingBasic.html">PEPStoppingBasic</a>;
<a name="line733">733: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetStoppingTestFunction.html">PEPSetStoppingTestFunction</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPStoppingTestFn.html">PEPStoppingTestFn</a>*,void*,<a href="https://petsc.org/release/manualpages/Sys/PetscCtxDestroyFn/">PetscCtxDestroyFn</a>*)</font></strong>;
<a name="line735">735: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSetEigenvalueComparison.html">PEPSetEigenvalueComparison</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/Sys/SlepcEigenvalueComparisonFn.html">SlepcEigenvalueComparisonFn</a>*,void*)</font></strong>;
<a name="line737">737: </a><font color="#B22222">/* --------- options specific to particular eigensolvers -------- */</font>
<a name="line739">739: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPLinearSetLinearization.html">PEPLinearSetLinearization</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>)</font></strong>;
<a name="line740">740: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPLinearGetLinearization.html">PEPLinearGetLinearization</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<a name="line741">741: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPLinearSetExplicitMatrix.html">PEPLinearSetExplicitMatrix</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line742">742: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPLinearGetExplicitMatrix.html">PEPLinearGetExplicitMatrix</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line743">743: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPLinearSetEPS.html">PEPLinearSetEPS</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/EPS/EPS.html">EPS</a>)</font></strong>;
<a name="line744">744: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPLinearGetEPS.html">PEPLinearGetEPS</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/EPS/EPS.html">EPS</a>*)</font></strong>;
<a name="line745">745: </a>PETSC_DEPRECATED_FUNCTION(3, 10, 0, <font color="#666666">"<a href="../manualpages/PEP/PEPLinearSetLinearization.html">PEPLinearSetLinearization</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> PEPLinearSetCompanionForm(<a href="../manualpages/PEP/PEP.html">PEP</a> pep,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> cform) {<font color="#4169E1">return</font> (cform==1)?<a href="../manualpages/PEP/PEPLinearSetLinearization.html">PEPLinearSetLinearization</a>(pep,1.0,0.0):<a href="../manualpages/PEP/PEPLinearSetLinearization.html">PEPLinearSetLinearization</a>(pep,0.0,1.0);}
<a name="line746">746: </a>PETSC_DEPRECATED_FUNCTION(3, 10, 0, <font color="#666666">"<a href="../manualpages/PEP/PEPLinearGetLinearization.html">PEPLinearGetLinearization</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> PEPLinearGetCompanionForm(<a href="../manualpages/PEP/PEP.html">PEP</a> pep,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> *cform) {(void)pep; <font color="#4169E1">if</font> (cform) *cform=1; <font color="#4169E1">return</font> PETSC_SUCCESS;}
<a name="line748">748: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPQArnoldiSetRestart.html">PEPQArnoldiSetRestart</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>)</font></strong>;
<a name="line749">749: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPQArnoldiGetRestart.html">PEPQArnoldiGetRestart</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<a name="line750">750: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPQArnoldiSetLocking.html">PEPQArnoldiSetLocking</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line751">751: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPQArnoldiGetLocking.html">PEPQArnoldiGetLocking</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line753">753: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPTOARSetRestart.html">PEPTOARSetRestart</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>)</font></strong>;
<a name="line754">754: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPTOARGetRestart.html">PEPTOARGetRestart</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<a name="line755">755: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPTOARSetLocking.html">PEPTOARSetLocking</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line756">756: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPTOARGetLocking.html">PEPTOARGetLocking</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line758">758: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSTOARSetLinearization.html">PEPSTOARSetLinearization</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>)</font></strong>;
<a name="line759">759: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSTOARGetLinearization.html">PEPSTOARGetLinearization</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<a name="line760">760: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSTOARSetLocking.html">PEPSTOARSetLocking</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line761">761: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSTOARGetLocking.html">PEPSTOARGetLocking</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line762">762: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSTOARSetDetectZeros.html">PEPSTOARSetDetectZeros</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line763">763: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSTOARGetDetectZeros.html">PEPSTOARGetDetectZeros</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line764">764: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSTOARGetInertias.html">PEPSTOARGetInertias</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*[],<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*[])</font></strong>;
<a name="line765">765: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSTOARSetDimensions.html">PEPSTOARSetDimensions</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line766">766: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSTOARGetDimensions.html">PEPSTOARGetDimensions</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line767">767: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSTOARSetCheckEigenvalueType.html">PEPSTOARSetCheckEigenvalueType</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line768">768: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPSTOARGetCheckEigenvalueType.html">PEPSTOARGetCheckEigenvalueType</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line769">769: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCheckDefiniteQEP.html">PEPCheckDefiniteQEP</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line771">771: </a><font color="#B22222">/*E</font>
<a name="line772">772: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPJDProjection.html">PEPJDProjection</a> - The type of projection to be used in the Jacobi-Davidson solver.</font>
<a name="line774">774: </a><font color="#B22222"> Values:</font>
<a name="line775">775: </a><font color="#B22222">+ `<a href="../manualpages/PEP/PEPJDProjection.html">PEP_JD_PROJECTION_HARMONIC</a>` - oblique projection</font>
<a name="line776">776: </a><font color="#B22222">- `<a href="../manualpages/PEP/PEPJDProjection.html">PEP_JD_PROJECTION_ORTHOGONAL</a>` - orthogonal projection</font>
<a name="line778">778: </a><font color="#B22222"> Level: advanced</font>
<a name="line780">780: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPJDSetProjection.html">PEPJDSetProjection</a>()`</font>
<a name="line781">781: </a><font color="#B22222">E*/</font>
<a name="line782">782: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/PEP/PEPJDProjection.html">PEP_JD_PROJECTION_HARMONIC</a>,
<a name="line783">783: </a> <a href="../manualpages/PEP/PEPJDProjection.html">PEP_JD_PROJECTION_ORTHOGONAL</a> } <a href="../manualpages/PEP/PEPJDProjection.html">PEPJDProjection</a>;
<a name="line784">784: </a>SLEPC_EXTERN const char *PEPJDProjectionTypes[];
<a name="line786">786: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPJDSetRestart.html">PEPJDSetRestart</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>)</font></strong>;
<a name="line787">787: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPJDGetRestart.html">PEPJDGetRestart</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<a name="line788">788: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPJDSetFix.html">PEPJDSetFix</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>)</font></strong>;
<a name="line789">789: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPJDGetFix.html">PEPJDGetFix</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<a name="line790">790: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPJDSetReusePreconditioner.html">PEPJDSetReusePreconditioner</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line791">791: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPJDGetReusePreconditioner.html">PEPJDGetReusePreconditioner</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line792">792: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPJDSetMinimalityIndex.html">PEPJDSetMinimalityIndex</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line793">793: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPJDGetMinimalityIndex.html">PEPJDGetMinimalityIndex</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line794">794: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPJDSetProjection.html">PEPJDSetProjection</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPJDProjection.html">PEPJDProjection</a>)</font></strong>;
<a name="line795">795: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPJDGetProjection.html">PEPJDGetProjection</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPJDProjection.html">PEPJDProjection</a>*)</font></strong>;
<a name="line797">797: </a><font color="#B22222">/*E</font>
<a name="line798">798: </a><font color="#B22222"> <a href="../manualpages/PEP/PEPCISSExtraction.html">PEPCISSExtraction</a> - The extraction technique used in the CISS solver.</font>
<a name="line800">800: </a><font color="#B22222"> Values:</font>
<a name="line801">801: </a><font color="#B22222">+ `<a href="../manualpages/PEP/PEPCISSExtraction.html">PEP_CISS_EXTRACTION_RITZ</a>` - Rayleigh-Ritz extraction</font>
<a name="line802">802: </a><font color="#B22222">. `<a href="../manualpages/PEP/PEPCISSExtraction.html">PEP_CISS_EXTRACTION_HANKEL</a>` - block Hankel method</font>
<a name="line803">803: </a><font color="#B22222">- `<a href="../manualpages/PEP/PEPCISSExtraction.html">PEP_CISS_EXTRACTION_CAA</a>` - communication-avoiding Arnoldi method</font>
<a name="line805">805: </a><font color="#B22222"> Level: advanced</font>
<a name="line807">807: </a><font color="#B22222">.seealso: [](ch:pep), `<a href="../manualpages/PEP/PEPCISSSetExtraction.html">PEPCISSSetExtraction</a>()`, `<a href="../manualpages/PEP/PEPCISSGetExtraction.html">PEPCISSGetExtraction</a>()`</font>
<a name="line808">808: </a><font color="#B22222">E*/</font>
<a name="line809">809: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/PEP/PEPCISSExtraction.html">PEP_CISS_EXTRACTION_RITZ</a>,
<a name="line810">810: </a> <a href="../manualpages/PEP/PEPCISSExtraction.html">PEP_CISS_EXTRACTION_HANKEL</a>,
<a name="line811">811: </a> <a href="../manualpages/PEP/PEPCISSExtraction.html">PEP_CISS_EXTRACTION_CAA</a> } <a href="../manualpages/PEP/PEPCISSExtraction.html">PEPCISSExtraction</a>;
<a name="line812">812: </a>SLEPC_EXTERN const char *PEPCISSExtractions[];
<a name="line814">814: </a><font color="#A020F0">#if defined(PETSC_USE_COMPLEX) || defined(PETSC_CLANG_STATIC_ANALYZER)</font>
<a name="line815">815: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCISSSetExtraction.html">PEPCISSSetExtraction</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPCISSExtraction.html">PEPCISSExtraction</a>)</font></strong>;
<a name="line816">816: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCISSGetExtraction.html">PEPCISSGetExtraction</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="../manualpages/PEP/PEPCISSExtraction.html">PEPCISSExtraction</a>*)</font></strong>;
<a name="line817">817: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCISSSetSizes.html">PEPCISSSetSizes</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line818">818: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCISSGetSizes.html">PEPCISSGetSizes</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line819">819: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCISSSetThreshold.html">PEPCISSSetThreshold</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>)</font></strong>;
<a name="line820">820: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCISSGetThreshold.html">PEPCISSGetThreshold</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<a name="line821">821: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCISSSetRefinement.html">PEPCISSSetRefinement</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line822">822: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCISSGetRefinement.html">PEPCISSGetRefinement</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line823">823: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCISSGetKSPs.html">PEPCISSGetKSPs</a>(<a href="../manualpages/PEP/PEP.html">PEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/KSP/KSP/">KSP</a>*[])</font></strong>;
<a name="line824">824: </a><font color="#A020F0">#else</font>
<a name="line825">825: </a><strong><font color="#228B22">#define SlepcPEPCISSUnavailable(pep) do { \</font></strong>
<a name="line826">826: </a><strong><font color="#228B22"> <a href="https://petsc.org/release/manualpages/Sys/PetscFunctionBegin/">PetscFunctionBegin</a>; \</font></strong>
<a name="line827">827: </a><strong><font color="#228B22"> <a href="https://petsc.org/release/manualpages/Sys/SETERRQ/">SETERRQ</a>(<a href="https://petsc.org/release/manualpages/Sys/PetscObjectComm/">PetscObjectComm</a>((<a href="https://petsc.org/release/manualpages/Sys/PetscObject/">PetscObject</a>)pep),PETSC_ERR_SUP,</font><font color="#666666">"%s() not available with real scalars"</font><font color="#228B22">,PETSC_FUNCTION_NAME); \</font></strong>
<a name="line828">828: </a><strong><font color="#228B22"> } while (0)</font></strong>
<a name="line829">829: </a><strong><font color="#4169E1"><a name="PEPCISSSetExtraction"></a>static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCISSSetExtraction.html">PEPCISSSetExtraction</a>(<a href="../manualpages/PEP/PEP.html">PEP</a> pep,PETSC_UNUSED <a href="../manualpages/PEP/PEPCISSExtraction.html">PEPCISSExtraction</a> ex)</font></strong> {SlepcPEPCISSUnavailable(pep);}
<a name="line830">830: </a><strong><font color="#4169E1"><a name="PEPCISSGetExtraction"></a>static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCISSGetExtraction.html">PEPCISSGetExtraction</a>(<a href="../manualpages/PEP/PEP.html">PEP</a> pep,PETSC_UNUSED <a href="../manualpages/PEP/PEPCISSExtraction.html">PEPCISSExtraction</a> *ex)</font></strong> {SlepcPEPCISSUnavailable(pep);}
<a name="line831">831: </a><strong><font color="#4169E1"><a name="PEPCISSSetSizes"></a>static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCISSSetSizes.html">PEPCISSSetSizes</a>(<a href="../manualpages/PEP/PEP.html">PEP</a> pep,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> ip,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> bs,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> ms,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> npart,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> bsmax,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a> realmats)</font></strong> {SlepcPEPCISSUnavailable(pep);}
<a name="line832">832: </a><strong><font color="#4169E1"><a name="PEPCISSGetSizes"></a>static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCISSGetSizes.html">PEPCISSGetSizes</a>(<a href="../manualpages/PEP/PEP.html">PEP</a> pep,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> *ip,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> *bs,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> *ms,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> *npart,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> *bsmak,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a> *realmats)</font></strong> {SlepcPEPCISSUnavailable(pep);}
<a name="line833">833: </a><strong><font color="#4169E1"><a name="PEPCISSSetThreshold"></a>static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCISSSetThreshold.html">PEPCISSSetThreshold</a>(<a href="../manualpages/PEP/PEP.html">PEP</a> pep,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> delta,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> spur)</font></strong> {SlepcPEPCISSUnavailable(pep);}
<a name="line834">834: </a><strong><font color="#4169E1"><a name="PEPCISSGetThreshold"></a>static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCISSGetThreshold.html">PEPCISSGetThreshold</a>(<a href="../manualpages/PEP/PEP.html">PEP</a> pep,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> *delta,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a> *spur)</font></strong> {SlepcPEPCISSUnavailable(pep);}
<a name="line835">835: </a><strong><font color="#4169E1"><a name="PEPCISSSetRefinement"></a>static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCISSSetRefinement.html">PEPCISSSetRefinement</a>(<a href="../manualpages/PEP/PEP.html">PEP</a> pep,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> inner,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> blsize)</font></strong> {SlepcPEPCISSUnavailable(pep);}
<a name="line836">836: </a><strong><font color="#4169E1"><a name="PEPCISSGetRefinement"></a>static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCISSGetRefinement.html">PEPCISSGetRefinement</a>(<a href="../manualpages/PEP/PEP.html">PEP</a> pep,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> *inner,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> *blsize)</font></strong> {SlepcPEPCISSUnavailable(pep);}
<a name="line837">837: </a><strong><font color="#4169E1"><a name="PEPCISSGetKSPs"></a>static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/PEP/PEPCISSGetKSPs.html">PEPCISSGetKSPs</a>(<a href="../manualpages/PEP/PEP.html">PEP</a> pep,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> *nsolve,PETSC_UNUSED <a href="https://petsc.org/release/manualpages/KSP/KSP/">KSP</a> *ksp[])</font></strong> {SlepcPEPCISSUnavailable(pep);}
<a name="line838">838: </a><strong><font color="#228B22">#undef SlepcPEPCISSUnavailable</font></strong>
<a name="line839">839: </a><font color="#A020F0">#endif</font>
</pre>
</body>
</html>
|