File: slepcnep.h.html

package info (click to toggle)
slepc 3.24.1%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 122,028 kB
  • sloc: ansic: 104,353; javascript: 12,732; python: 5,958; f90: 3,312; cpp: 1,528; makefile: 761; xml: 679; sh: 347
file content (728 lines) | stat: -rw-r--r-- 126,843 bytes parent folder | download
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
<center><a href="https://gitlab.com/slepc/slepc/-/blob/bbccb785e5ebe6829936989c71776839602f087b/include/slepcnep.h">Actual source code: slepcnep.h</a></center><br>

<html>
<head>
<title></title>
<meta name="generator" content="c2html 0.9.6">
<meta name="date" content="2025-11-07T08:27:34+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 nonlinear 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">&lt;slepceps.h&gt;</A>
<a name="line17"> 17: </a>#include <A href="../include/slepcpep.h.html">&lt;slepcpep.h&gt;</A>
<a name="line18"> 18: </a>#include <A href="../include/slepcfn.h.html">&lt;slepcfn.h&gt;</A>

<a name="line20"> 20: </a><font color="#B22222">/* SUBMANSEC = <a href="../manualpages/NEP/NEP.html">NEP</a> */</font>

<a name="line22"> 22: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPInitializePackage.html">NEPInitializePackage</a>(void)</font></strong>;
<a name="line23"> 23: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPFinalizePackage.html">NEPFinalizePackage</a>(void)</font></strong>;

<a name="line25"> 25: </a><font color="#B22222">/*S</font>
<a name="line26"> 26: </a><font color="#B22222">   <a href="../manualpages/NEP/NEP.html">NEP</a> - SLEPc object that manages all solvers for nonlinear eigenvalue problems.</font>

<a name="line28"> 28: </a><font color="#B22222">   Level: beginner</font>

<a name="line30"> 30: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPCreate.html">NEPCreate</a>()`</font>
<a name="line31"> 31: </a><font color="#B22222">S*/</font>
<a name="line32"> 32: </a><font color="#4169E1">typedef struct _p_NEP* <a href="../manualpages/NEP/NEP.html">NEP</a>;</font>

<a name="line34"> 34: </a><font color="#B22222">/*J</font>
<a name="line35"> 35: </a><font color="#B22222">   <a href="../manualpages/NEP/NEPType.html">NEPType</a> - String with the name of a nonlinear eigensolver.</font>

<a name="line37"> 37: </a><font color="#B22222">   Level: beginner</font>

<a name="line39"> 39: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPSetType.html">NEPSetType</a>()`, `<a href="../manualpages/NEP/NEP.html">NEP</a>`</font>
<a name="line40"> 40: </a><font color="#B22222">J*/</font>
<a name="line41"> 41: </a><font color="#4169E1">typedef const char *<a href="../manualpages/NEP/NEPType.html">NEPType</a>;</font>
<a name="line42"> 42: </a><strong><font color="#228B22">#define <a href="../manualpages/NEP/NEPRII.html">NEPRII</a>       </font><font color="#666666">"rii"</font><font color="#228B22"></font></strong>
<a name="line43"> 43: </a><strong><font color="#228B22">#define <a href="../manualpages/NEP/NEPSLP.html">NEPSLP</a>       </font><font color="#666666">"slp"</font><font color="#228B22"></font></strong>
<a name="line44"> 44: </a><strong><font color="#228B22">#define <a href="../manualpages/NEP/NEPNARNOLDI.html">NEPNARNOLDI</a>  </font><font color="#666666">"narnoldi"</font><font color="#228B22"></font></strong>
<a name="line45"> 45: </a><strong><font color="#228B22">#define <a href="../manualpages/NEP/NEPNLEIGS.html">NEPNLEIGS</a>    </font><font color="#666666">"nleigs"</font><font color="#228B22"></font></strong>
<a name="line46"> 46: </a><strong><font color="#228B22">#define <a href="../manualpages/NEP/NEPCISS.html">NEPCISS</a>      </font><font color="#666666">"ciss"</font><font color="#228B22"></font></strong>
<a name="line47"> 47: </a><strong><font color="#228B22">#define <a href="../manualpages/NEP/NEPINTERPOL.html">NEPINTERPOL</a>  </font><font color="#666666">"interpol"</font><font color="#228B22"></font></strong>

<a name="line49"> 49: </a><font color="#B22222">/* Logging support */</font>
<a name="line50"> 50: </a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscClassId/">PetscClassId</a> NEP_CLASSID;

<a name="line52"> 52: </a><font color="#B22222">/*E</font>
<a name="line53"> 53: </a><font color="#B22222">   <a href="../manualpages/NEP/NEPProblemType.html">NEPProblemType</a> - Determines the type of the nonlinear eigenproblem.</font>

<a name="line55"> 55: </a><font color="#B22222">   Values:</font>
<a name="line56"> 56: </a><font color="#B22222">+  `<a href="../manualpages/NEP/NEPProblemType.html">NEP_GENERAL</a>`  - no particular structure</font>
<a name="line57"> 57: </a><font color="#B22222">-  `<a href="../manualpages/NEP/NEPProblemType.html">NEP_RATIONAL</a>` - problem defined in split form with all $f_i$ rational</font>

<a name="line59"> 59: </a><font color="#B22222">   Note:</font>
<a name="line60"> 60: </a><font color="#B22222">   Currently, the `<a href="../manualpages/NEP/NEPProblemType.html">NEP_RATIONAL</a>` case is only used in `<a href="../manualpages/NEP/NEPNLEIGS.html">NEPNLEIGS</a>` to</font>
<a name="line61"> 61: </a><font color="#B22222">   determine the singularities automatically.</font>

<a name="line63"> 63: </a><font color="#B22222">   Level: intermediate</font>

<a name="line65"> 65: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPSetProblemType.html">NEPSetProblemType</a>()`, `<a href="../manualpages/NEP/NEPGetProblemType.html">NEPGetProblemType</a>()`</font>
<a name="line66"> 66: </a><font color="#B22222">E*/</font>
<a name="line67"> 67: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/NEP/NEPProblemType.html">NEP_GENERAL</a>  = 1,
<a name="line68"> 68: </a>               <a href="../manualpages/NEP/NEPProblemType.html">NEP_RATIONAL</a> = 2
<a name="line69"> 69: </a>             } <a href="../manualpages/NEP/NEPProblemType.html">NEPProblemType</a>;

<a name="line71"> 71: </a><font color="#B22222">/*E</font>
<a name="line72"> 72: </a><font color="#B22222">   <a href="../manualpages/NEP/NEPWhich.html">NEPWhich</a> - Determines which part of the spectrum is requested.</font>

<a name="line74"> 74: </a><font color="#B22222">   Values:</font>
<a name="line75"> 75: </a><font color="#B22222">+  `<a href="../manualpages/NEP/NEPWhich.html">NEP_LARGEST_MAGNITUDE</a>`  - largest $|\lambda|$</font>
<a name="line76"> 76: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEPWhich.html">NEP_SMALLEST_MAGNITUDE</a>` - smallest $|\lambda|$</font>
<a name="line77"> 77: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEPWhich.html">NEP_LARGEST_REAL</a>`       - largest $\mathrm{Re}(\lambda)$</font>
<a name="line78"> 78: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEPWhich.html">NEP_SMALLEST_REAL</a>`      - smallest $\mathrm{Re}(\lambda)$</font>
<a name="line79"> 79: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEPWhich.html">NEP_LARGEST_IMAGINARY</a>`  - largest $\mathrm{Im}(\lambda)$</font>
<a name="line80"> 80: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEPWhich.html">NEP_SMALLEST_IMAGINARY</a>` - smallest $\mathrm{Im}(\lambda)$</font>
<a name="line81"> 81: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEPWhich.html">NEP_TARGET_MAGNITUDE</a>`   - smallest $|\lambda-\tau|$</font>
<a name="line82"> 82: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEPWhich.html">NEP_TARGET_REAL</a>`        - smallest $|\mathrm{Re}(\lambda-\tau)|$</font>
<a name="line83"> 83: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEPWhich.html">NEP_TARGET_IMAGINARY</a>`   - smallest $|\mathrm{Im}(\lambda-\tau)|$</font>
<a name="line84"> 84: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEPWhich.html">NEP_ALL</a>`                - all $\lambda\in\Omega$</font>
<a name="line85"> 85: </a><font color="#B22222">-  `<a href="../manualpages/NEP/NEPWhich.html">NEP_WHICH_USER</a>`         - user-defined sorting criterion</font>

<a name="line87"> 87: </a><font color="#B22222">   Notes:</font>
<a name="line88"> 88: </a><font color="#B22222">   The target $\tau$ is a scalar value provided with `<a href="../manualpages/NEP/NEPSetTarget.html">NEPSetTarget</a>()`.</font>

<a name="line90"> 90: </a><font color="#B22222">   The case `<a href="../manualpages/NEP/NEPWhich.html">NEP_ALL</a>` needs a region $\Omega$ specified with an `<a href="../manualpages/RG/RG.html">RG</a>` object.</font>

<a name="line92"> 92: </a><font color="#B22222">   Level: intermediate</font>

<a name="line94"> 94: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPSetWhichEigenpairs.html">NEPSetWhichEigenpairs</a>()`, `<a href="../manualpages/NEP/NEPSetTarget.html">NEPSetTarget</a>()`</font>
<a name="line95"> 95: </a><font color="#B22222">E*/</font>
<a name="line96"> 96: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/NEP/NEPWhich.html">NEP_LARGEST_MAGNITUDE</a>  = 1,
<a name="line97"> 97: </a>               <a href="../manualpages/NEP/NEPWhich.html">NEP_SMALLEST_MAGNITUDE</a> = 2,
<a name="line98"> 98: </a>               <a href="../manualpages/NEP/NEPWhich.html">NEP_LARGEST_REAL</a>       = 3,
<a name="line99"> 99: </a>               <a href="../manualpages/NEP/NEPWhich.html">NEP_SMALLEST_REAL</a>      = 4,
<a name="line100">100: </a>               <a href="../manualpages/NEP/NEPWhich.html">NEP_LARGEST_IMAGINARY</a>  = 5,
<a name="line101">101: </a>               <a href="../manualpages/NEP/NEPWhich.html">NEP_SMALLEST_IMAGINARY</a> = 6,
<a name="line102">102: </a>               <a href="../manualpages/NEP/NEPWhich.html">NEP_TARGET_MAGNITUDE</a>   = 7,
<a name="line103">103: </a>               <a href="../manualpages/NEP/NEPWhich.html">NEP_TARGET_REAL</a>        = 8,
<a name="line104">104: </a>               <a href="../manualpages/NEP/NEPWhich.html">NEP_TARGET_IMAGINARY</a>   = 9,
<a name="line105">105: </a>               <a href="../manualpages/NEP/NEPWhich.html">NEP_ALL</a>                = 10,
<a name="line106">106: </a>               <a href="../manualpages/NEP/NEPWhich.html">NEP_WHICH_USER</a>         = 11 } <a href="../manualpages/NEP/NEPWhich.html">NEPWhich</a>;

<a name="line108">108: </a><font color="#B22222">/*E</font>
<a name="line109">109: </a><font color="#B22222">   <a href="../manualpages/NEP/NEPErrorType.html">NEPErrorType</a> - The error type used to assess the accuracy of computed solutions.</font>

<a name="line111">111: </a><font color="#B22222">   Values:</font>
<a name="line112">112: </a><font color="#B22222">+  `<a href="../manualpages/NEP/NEPErrorType.html">NEP_ERROR_ABSOLUTE</a>` - compute error bound as $\|r\|$</font>
<a name="line113">113: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEPErrorType.html">NEP_ERROR_RELATIVE</a>` - compute error bound as $\|r\|/|\lambda|$</font>
<a name="line114">114: </a><font color="#B22222">-  `<a href="../manualpages/NEP/NEPErrorType.html">NEP_ERROR_BACKWARD</a>` - compute error bound as $\|r\|/(\sum_i|f_i(\lambda)|\|A_i\|)$</font>

<a name="line116">116: </a><font color="#B22222">   Level: intermediate</font>

<a name="line118">118: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPComputeError.html">NEPComputeError</a>()`</font>
<a name="line119">119: </a><font color="#B22222">E*/</font>
<a name="line120">120: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/NEP/NEPErrorType.html">NEP_ERROR_ABSOLUTE</a>,
<a name="line121">121: </a>               <a href="../manualpages/NEP/NEPErrorType.html">NEP_ERROR_RELATIVE</a>,
<a name="line122">122: </a>               <a href="../manualpages/NEP/NEPErrorType.html">NEP_ERROR_BACKWARD</a> } <a href="../manualpages/NEP/NEPErrorType.html">NEPErrorType</a>;
<a name="line123">123: </a>SLEPC_EXTERN const char *NEPErrorTypes[];

<a name="line125">125: </a><font color="#B22222">/*E</font>
<a name="line126">126: </a><font color="#B22222">   <a href="../manualpages/NEP/NEPRefine.html">NEPRefine</a> - The type of Newton iterative refinement.</font>

<a name="line128">128: </a><font color="#B22222">   Values:</font>
<a name="line129">129: </a><font color="#B22222">+  `<a href="../manualpages/NEP/NEPRefine.html">NEP_REFINE_NONE</a>`     - no refinement</font>
<a name="line130">130: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEPRefine.html">NEP_REFINE_SIMPLE</a>`   - refinement of each converged eigenpair individually</font>
<a name="line131">131: </a><font color="#B22222">-  `<a href="../manualpages/NEP/NEPRefine.html">NEP_REFINE_MULTIPLE</a>` - refinement of the invariant pair as a whole</font>

<a name="line133">133: </a><font color="#B22222">   Note:</font>
<a name="line134">134: </a><font color="#B22222">   See section [](#sec:refine) for a discussion of the different refinement strategies.</font>

<a name="line136">136: </a><font color="#B22222">   Level: intermediate</font>

<a name="line138">138: </a><font color="#B22222">.seealso: [](ch:nep), [](#sec:refine), `<a href="../manualpages/NEP/NEPSetRefine.html">NEPSetRefine</a>()`</font>
<a name="line139">139: </a><font color="#B22222">E*/</font>
<a name="line140">140: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/NEP/NEPRefine.html">NEP_REFINE_NONE</a>,
<a name="line141">141: </a>               <a href="../manualpages/NEP/NEPRefine.html">NEP_REFINE_SIMPLE</a>,
<a name="line142">142: </a>               <a href="../manualpages/NEP/NEPRefine.html">NEP_REFINE_MULTIPLE</a> } <a href="../manualpages/NEP/NEPRefine.html">NEPRefine</a>;
<a name="line143">143: </a>SLEPC_EXTERN const char *NEPRefineTypes[];

<a name="line145">145: </a><font color="#B22222">/*E</font>
<a name="line146">146: </a><font color="#B22222">   <a href="../manualpages/NEP/NEPRefineScheme.html">NEPRefineScheme</a> - The scheme used for solving linear systems during iterative refinement.</font>

<a name="line148">148: </a><font color="#B22222">   Values:</font>
<a name="line149">149: </a><font color="#B22222">+  `<a href="../manualpages/NEP/NEPRefineScheme.html">NEP_REFINE_SCHEME_SCHUR</a>`    - use the Schur complement</font>
<a name="line150">150: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEPRefineScheme.html">NEP_REFINE_SCHEME_MBE</a>`      - use the mixed block elimination (MBE) scheme</font>
<a name="line151">151: </a><font color="#B22222">-  `<a href="../manualpages/NEP/NEPRefineScheme.html">NEP_REFINE_SCHEME_EXPLICIT</a>` - build the full matrix explicitly</font>

<a name="line153">153: </a><font color="#B22222">   Note:</font>
<a name="line154">154: </a><font color="#B22222">   Iterative refinement may be very costly, due to the expensive linear</font>
<a name="line155">155: </a><font color="#B22222">   solves. These linear systems have a particular structure that can be</font>
<a name="line156">156: </a><font color="#B22222">   exploited in different ways, as described in {cite:p}`Cam16b`. See</font>
<a name="line157">157: </a><font color="#B22222">   `<a href="../manualpages/NEP/NEPSetRefine.html">NEPSetRefine</a>()` for additional details.</font>

<a name="line159">159: </a><font color="#B22222">   Level: intermediate</font>

<a name="line161">161: </a><font color="#B22222">.seealso: [](ch:nep), [](#sec:refine), `<a href="../manualpages/NEP/NEPSetRefine.html">NEPSetRefine</a>()`</font>
<a name="line162">162: </a><font color="#B22222">E*/</font>
<a name="line163">163: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/NEP/NEPRefineScheme.html">NEP_REFINE_SCHEME_SCHUR</a>    = 1,
<a name="line164">164: </a>               <a href="../manualpages/NEP/NEPRefineScheme.html">NEP_REFINE_SCHEME_MBE</a>      = 2,
<a name="line165">165: </a>               <a href="../manualpages/NEP/NEPRefineScheme.html">NEP_REFINE_SCHEME_EXPLICIT</a> = 3 } <a href="../manualpages/NEP/NEPRefineScheme.html">NEPRefineScheme</a>;
<a name="line166">166: </a>SLEPC_EXTERN const char *NEPRefineSchemes[];

<a name="line168">168: </a><font color="#B22222">/*E</font>
<a name="line169">169: </a><font color="#B22222">   <a href="../manualpages/NEP/NEPConv.html">NEPConv</a> - The convergence criterion to be used by the solver.</font>

<a name="line171">171: </a><font color="#B22222">   Values:</font>
<a name="line172">172: </a><font color="#B22222">+  `<a href="../manualpages/NEP/NEPConv.html">NEP_CONV_ABS</a>`  - absolute convergence criterion, $\|r\|$</font>
<a name="line173">173: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEPConv.html">NEP_CONV_REL</a>`  - convergence criterion relative to eigenvalue, $\|r\|/|\lambda|$</font>
<a name="line174">174: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEPConv.html">NEP_CONV_NORM</a>` - convergence criterion relative to matrix norms, $\|r\|/(\sum_j|f_j(\lambda)|\|A_j\|)$</font>
<a name="line175">175: </a><font color="#B22222">-  `<a href="../manualpages/NEP/NEPConv.html">NEP_CONV_USER</a>` - convergence dictated by user-provided function</font>

<a name="line177">177: </a><font color="#B22222">   Level: intermediate</font>

<a name="line179">179: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPSetConvergenceTest.html">NEPSetConvergenceTest</a>()`, `<a href="../manualpages/NEP/NEPSetConvergenceTestFunction.html">NEPSetConvergenceTestFunction</a>()`</font>
<a name="line180">180: </a><font color="#B22222">E*/</font>
<a name="line181">181: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/NEP/NEPConv.html">NEP_CONV_ABS</a>,
<a name="line182">182: </a>               <a href="../manualpages/NEP/NEPConv.html">NEP_CONV_REL</a>,
<a name="line183">183: </a>               <a href="../manualpages/NEP/NEPConv.html">NEP_CONV_NORM</a>,
<a name="line184">184: </a>               <a href="../manualpages/NEP/NEPConv.html">NEP_CONV_USER</a> } <a href="../manualpages/NEP/NEPConv.html">NEPConv</a>;

<a name="line186">186: </a><font color="#B22222">/*E</font>
<a name="line187">187: </a><font color="#B22222">   <a href="../manualpages/NEP/NEPStop.html">NEPStop</a> - The stopping test to decide the termination of the outer loop</font>
<a name="line188">188: </a><font color="#B22222">   of the eigensolver.</font>

<a name="line190">190: </a><font color="#B22222">   Values:</font>
<a name="line191">191: </a><font color="#B22222">+  `<a href="../manualpages/NEP/NEP_STOP_BASIC.html">NEP_STOP_BASIC</a>` - default stopping test</font>
<a name="line192">192: </a><font color="#B22222">-  `<a href="../manualpages/NEP/NEP_STOP_USER.html">NEP_STOP_USER</a>`  - user-provided stopping test</font>

<a name="line194">194: </a><font color="#B22222">   Level: advanced</font>

<a name="line196">196: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPSetStoppingTest.html">NEPSetStoppingTest</a>()`, `<a href="../manualpages/NEP/NEPSetStoppingTestFunction.html">NEPSetStoppingTestFunction</a>()`</font>
<a name="line197">197: </a><font color="#B22222">E*/</font>
<a name="line198">198: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/NEP/NEP_STOP_BASIC.html">NEP_STOP_BASIC</a>,
<a name="line199">199: </a>               <a href="../manualpages/NEP/NEP_STOP_USER.html">NEP_STOP_USER</a> } <a href="../manualpages/NEP/NEPStop.html">NEPStop</a>;

<a name="line201">201: </a><font color="#B22222">/*MC</font>
<a name="line202">202: </a><font color="#B22222">   <a href="../manualpages/NEP/NEP_STOP_BASIC.html">NEP_STOP_BASIC</a> - The default stopping test.</font>

<a name="line204">204: </a><font color="#B22222">   Note:</font>
<a name="line205">205: </a><font color="#B22222">   By default, the termination of the outer loop is decided by calling</font>
<a name="line206">206: </a><font color="#B22222">   `<a href="../manualpages/NEP/NEPStoppingBasic.html">NEPStoppingBasic</a>()`, which will stop if all requested eigenvalues are converged,</font>
<a name="line207">207: </a><font color="#B22222">   or if the maximum number of iterations has been reached.</font>

<a name="line209">209: </a><font color="#B22222">   Level: advanced</font>

<a name="line211">211: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPStop.html">NEPStop</a>`, `<a href="../manualpages/NEP/NEPSetStoppingTest.html">NEPSetStoppingTest</a>()`, `<a href="../manualpages/NEP/NEPStoppingBasic.html">NEPStoppingBasic</a>()`</font>
<a name="line212">212: </a><font color="#B22222">M*/</font>

<a name="line214">214: </a><font color="#B22222">/*MC</font>
<a name="line215">215: </a><font color="#B22222">   <a href="../manualpages/NEP/NEP_STOP_USER.html">NEP_STOP_USER</a> - The user-provided stopping test.</font>

<a name="line217">217: </a><font color="#B22222">   Note:</font>
<a name="line218">218: </a><font color="#B22222">   Customized stopping test using the user-provided function given with</font>
<a name="line219">219: </a><font color="#B22222">   `<a href="../manualpages/NEP/NEPSetStoppingTestFunction.html">NEPSetStoppingTestFunction</a>()`.</font>

<a name="line221">221: </a><font color="#B22222">   Level: advanced</font>

<a name="line223">223: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPStop.html">NEPStop</a>`, `<a href="../manualpages/NEP/NEPSetStoppingTest.html">NEPSetStoppingTest</a>()`, `<a href="../manualpages/NEP/NEPSetStoppingTestFunction.html">NEPSetStoppingTestFunction</a>()`</font>
<a name="line224">224: </a><font color="#B22222">M*/</font>

<a name="line226">226: </a><font color="#B22222">/*E</font>
<a name="line227">227: </a><font color="#B22222">   <a href="../manualpages/NEP/NEPConvergedReason.html">NEPConvergedReason</a> - Reason a nonlinear eigensolver was determined to have converged</font>
<a name="line228">228: </a><font color="#B22222">   or diverged.</font>

<a name="line230">230: </a><font color="#B22222">   Values:</font>
<a name="line231">231: </a><font color="#B22222">+  `<a href="../manualpages/NEP/NEP_CONVERGED_TOL.html">NEP_CONVERGED_TOL</a>`               - converged up to tolerance</font>
<a name="line232">232: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEP_CONVERGED_USER.html">NEP_CONVERGED_USER</a>`              - converged due to a user-defined condition</font>
<a name="line233">233: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEP_DIVERGED_ITS.html">NEP_DIVERGED_ITS</a>`                - exceeded the maximum number of allowed iterations</font>
<a name="line234">234: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEP_DIVERGED_BREAKDOWN.html">NEP_DIVERGED_BREAKDOWN</a>`          - generic breakdown in method</font>
<a name="line235">235: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEP_DIVERGED_LINEAR_SOLVE.html">NEP_DIVERGED_LINEAR_SOLVE</a>`       - inner linear solve failed</font>
<a name="line236">236: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEP_DIVERGED_SUBSPACE_EXHAUSTED.html">NEP_DIVERGED_SUBSPACE_EXHAUSTED</a>` - run out of space for the basis in an unrestarted solver</font>
<a name="line237">237: </a><font color="#B22222">-  `<a href="../manualpages/NEP/NEP_CONVERGED_ITERATING.html">NEP_CONVERGED_ITERATING</a>`         - the solver is still running</font>

<a name="line239">239: </a><font color="#B22222">   Level: intermediate</font>

<a name="line241">241: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPSolve.html">NEPSolve</a>()`, `<a href="../manualpages/NEP/NEPGetConvergedReason.html">NEPGetConvergedReason</a>()`, `<a href="../manualpages/NEP/NEPSetTolerances.html">NEPSetTolerances</a>()`</font>
<a name="line242">242: </a><font color="#B22222">E*/</font>
<a name="line243">243: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> {<font color="#B22222">/* converged */</font>
<a name="line244">244: </a>              <a href="../manualpages/NEP/NEP_CONVERGED_TOL.html">NEP_CONVERGED_TOL</a>                =  1,
<a name="line245">245: </a>              <a href="../manualpages/NEP/NEP_CONVERGED_USER.html">NEP_CONVERGED_USER</a>               =  2,
<a name="line246">246: </a>              <font color="#B22222">/* diverged */</font>
<a name="line247">247: </a>              <a href="../manualpages/NEP/NEP_DIVERGED_ITS.html">NEP_DIVERGED_ITS</a>                 = -1,
<a name="line248">248: </a>              <a href="../manualpages/NEP/NEP_DIVERGED_BREAKDOWN.html">NEP_DIVERGED_BREAKDOWN</a>           = -2,
<a name="line249">249: </a>                    <font color="#B22222">/* unused                  = -3 */</font>
<a name="line250">250: </a>              <a href="../manualpages/NEP/NEP_DIVERGED_LINEAR_SOLVE.html">NEP_DIVERGED_LINEAR_SOLVE</a>        = -4,
<a name="line251">251: </a>              <a href="../manualpages/NEP/NEP_DIVERGED_SUBSPACE_EXHAUSTED.html">NEP_DIVERGED_SUBSPACE_EXHAUSTED</a>  = -5,
<a name="line252">252: </a>              <a href="../manualpages/NEP/NEP_CONVERGED_ITERATING.html">NEP_CONVERGED_ITERATING</a>          =  0} <a href="../manualpages/NEP/NEPConvergedReason.html">NEPConvergedReason</a>;
<a name="line253">253: </a>SLEPC_EXTERN const char *const*NEPConvergedReasons;

<a name="line255">255: </a><font color="#B22222">/*MC</font>
<a name="line256">256: </a><font color="#B22222">   <a href="../manualpages/NEP/NEP_CONVERGED_TOL.html">NEP_CONVERGED_TOL</a> - The computed error estimates, based on residual norms,</font>
<a name="line257">257: </a><font color="#B22222">   for all requested eigenvalues are below the tolerance.</font>

<a name="line259">259: </a><font color="#B22222">   Level: intermediate</font>

<a name="line261">261: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPSolve.html">NEPSolve</a>()`, `<a href="../manualpages/NEP/NEPGetConvergedReason.html">NEPGetConvergedReason</a>()`, `<a href="../manualpages/NEP/NEPConvergedReason.html">NEPConvergedReason</a>`</font>
<a name="line262">262: </a><font color="#B22222">M*/</font>

<a name="line264">264: </a><font color="#B22222">/*MC</font>
<a name="line265">265: </a><font color="#B22222">   <a href="../manualpages/NEP/NEP_CONVERGED_USER.html">NEP_CONVERGED_USER</a> - The solver was declared converged due to a user-defined condition.</font>

<a name="line267">267: </a><font color="#B22222">   Note:</font>
<a name="line268">268: </a><font color="#B22222">   This happens only when a user-defined stopping test has been set with</font>
<a name="line269">269: </a><font color="#B22222">   `<a href="../manualpages/NEP/NEPSetStoppingTestFunction.html">NEPSetStoppingTestFunction</a>()`.</font>

<a name="line271">271: </a><font color="#B22222">   Level: intermediate</font>

<a name="line273">273: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPSolve.html">NEPSolve</a>()`, `<a href="../manualpages/NEP/NEPGetConvergedReason.html">NEPGetConvergedReason</a>()`, `<a href="../manualpages/NEP/NEPConvergedReason.html">NEPConvergedReason</a>`, `<a href="../manualpages/NEP/NEPSetStoppingTestFunction.html">NEPSetStoppingTestFunction</a>()`</font>
<a name="line274">274: </a><font color="#B22222">M*/</font>

<a name="line276">276: </a><font color="#B22222">/*MC</font>
<a name="line277">277: </a><font color="#B22222">   <a href="../manualpages/NEP/NEP_DIVERGED_ITS.html">NEP_DIVERGED_ITS</a> - Exceeded the maximum number of allowed iterations</font>
<a name="line278">278: </a><font color="#B22222">   before the convergence criterion was satisfied.</font>

<a name="line280">280: </a><font color="#B22222">   Level: intermediate</font>

<a name="line282">282: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPSolve.html">NEPSolve</a>()`, `<a href="../manualpages/NEP/NEPGetConvergedReason.html">NEPGetConvergedReason</a>()`, `<a href="../manualpages/NEP/NEPConvergedReason.html">NEPConvergedReason</a>`</font>
<a name="line283">283: </a><font color="#B22222">M*/</font>

<a name="line285">285: </a><font color="#B22222">/*MC</font>
<a name="line286">286: </a><font color="#B22222">   <a href="../manualpages/NEP/NEP_DIVERGED_BREAKDOWN.html">NEP_DIVERGED_BREAKDOWN</a> - A breakdown in the solver was detected so the</font>
<a name="line287">287: </a><font color="#B22222">   method could not continue.</font>

<a name="line289">289: </a><font color="#B22222">   Level: intermediate</font>

<a name="line291">291: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPSolve.html">NEPSolve</a>()`, `<a href="../manualpages/NEP/NEPGetConvergedReason.html">NEPGetConvergedReason</a>()`, `<a href="../manualpages/NEP/NEPConvergedReason.html">NEPConvergedReason</a>`</font>
<a name="line292">292: </a><font color="#B22222">M*/</font>

<a name="line294">294: </a><font color="#B22222">/*MC</font>
<a name="line295">295: </a><font color="#B22222">   <a href="../manualpages/NEP/NEP_DIVERGED_LINEAR_SOLVE.html">NEP_DIVERGED_LINEAR_SOLVE</a> - The inner linear solve failed so the nonlinear</font>
<a name="line296">296: </a><font color="#B22222">   eigensolver could not continue.</font>

<a name="line298">298: </a><font color="#B22222">   Level: intermediate</font>

<a name="line300">300: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPSolve.html">NEPSolve</a>()`, `<a href="../manualpages/NEP/NEPGetConvergedReason.html">NEPGetConvergedReason</a>()`, `<a href="../manualpages/NEP/NEPConvergedReason.html">NEPConvergedReason</a>`</font>
<a name="line301">301: </a><font color="#B22222">M*/</font>

<a name="line303">303: </a><font color="#B22222">/*MC</font>
<a name="line304">304: </a><font color="#B22222">   <a href="../manualpages/NEP/NEP_DIVERGED_SUBSPACE_EXHAUSTED.html">NEP_DIVERGED_SUBSPACE_EXHAUSTED</a> - The solver has run out of space for the</font>
<a name="line305">305: </a><font color="#B22222">   basis in the case of an unrestarted method.</font>

<a name="line307">307: </a><font color="#B22222">   Level: intermediate</font>

<a name="line309">309: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPSolve.html">NEPSolve</a>()`, `<a href="../manualpages/NEP/NEPGetConvergedReason.html">NEPGetConvergedReason</a>()`, `<a href="../manualpages/NEP/NEPConvergedReason.html">NEPConvergedReason</a>`</font>
<a name="line310">310: </a><font color="#B22222">M*/</font>

<a name="line312">312: </a><font color="#B22222">/*MC</font>
<a name="line313">313: </a><font color="#B22222">   <a href="../manualpages/NEP/NEP_CONVERGED_ITERATING.html">NEP_CONVERGED_ITERATING</a> - This value is returned if `<a href="../manualpages/NEP/NEPGetConvergedReason.html">NEPGetConvergedReason</a>()` is called</font>
<a name="line314">314: </a><font color="#B22222">   while `<a href="../manualpages/NEP/NEPSolve.html">NEPSolve</a>()` is still running.</font>

<a name="line316">316: </a><font color="#B22222">   Level: intermediate</font>

<a name="line318">318: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPSolve.html">NEPSolve</a>()`, `<a href="../manualpages/NEP/NEPGetConvergedReason.html">NEPGetConvergedReason</a>()`, `<a href="../manualpages/NEP/NEPConvergedReason.html">NEPConvergedReason</a>`</font>
<a name="line319">319: </a><font color="#B22222">M*/</font>

<a name="line321">321: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPCreate.html">NEPCreate</a>(<a href="https://petsc.org/release/manualpages/Sys/MPI_Comm/">MPI_Comm</a>,<a href="../manualpages/NEP/NEP.html">NEP</a>*)</font></strong>;
<a name="line322">322: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPDestroy.html">NEPDestroy</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>*)</font></strong>;
<a name="line323">323: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPReset.html">NEPReset</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>)</font></strong>;
<a name="line324">324: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetType.html">NEPSetType</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPType.html">NEPType</a>)</font></strong>;
<a name="line325">325: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetType.html">NEPGetType</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPType.html">NEPType</a>*)</font></strong>;
<a name="line326">326: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetProblemType.html">NEPSetProblemType</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPProblemType.html">NEPProblemType</a>)</font></strong>;
<a name="line327">327: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetProblemType.html">NEPGetProblemType</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPProblemType.html">NEPProblemType</a>*)</font></strong>;
<a name="line328">328: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetTarget.html">NEPSetTarget</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>)</font></strong>;
<a name="line329">329: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetTarget.html">NEPGetTarget</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>*)</font></strong>;
<a name="line330">330: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetFromOptions.html">NEPSetFromOptions</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>)</font></strong>;
<a name="line331">331: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetDSType.html">NEPSetDSType</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>)</font></strong>;
<a name="line332">332: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetUp.html">NEPSetUp</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>)</font></strong>;
<a name="line333">333: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSolve.html">NEPSolve</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>)</font></strong>;
<a name="line334">334: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPView.html">NEPView</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a>)</font></strong>;
<a name="line335">335: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPViewFromOptions.html">NEPViewFromOptions</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscObject/">PetscObject</a>,const char[])</font></strong>;
<a name="line336">336: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPErrorView.html">NEPErrorView</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPErrorType.html">NEPErrorType</a>,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a>)</font></strong>;
<a name="line337">337: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPErrorViewFromOptions.html">NEPErrorViewFromOptions</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>)</font></strong>;
<a name="line338">338: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPConvergedReasonView.html">NEPConvergedReasonView</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a>)</font></strong>;
<a name="line339">339: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPConvergedReasonViewFromOptions.html">NEPConvergedReasonViewFromOptions</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>)</font></strong>;
<a name="line340">340: </a>PETSC_DEPRECATED_FUNCTION(3, 14, 0, <font color="#666666">"<a href="../manualpages/NEP/NEPConvergedReasonView.html">NEPConvergedReasonView</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> NEPReasonView(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a> v) {<font color="#4169E1">return</font> <a href="../manualpages/NEP/NEPConvergedReasonView.html">NEPConvergedReasonView</a>(nep,v);}
<a name="line341">341: </a>PETSC_DEPRECATED_FUNCTION(3, 14, 0, <font color="#666666">"<a href="../manualpages/NEP/NEPConvergedReasonViewFromOptions.html">NEPConvergedReasonViewFromOptions</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> NEPReasonViewFromOptions(<a href="../manualpages/NEP/NEP.html">NEP</a> nep) {<font color="#4169E1">return</font> <a href="../manualpages/NEP/NEPConvergedReasonViewFromOptions.html">NEPConvergedReasonViewFromOptions</a>(nep);}
<a name="line342">342: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPValuesView.html">NEPValuesView</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a>)</font></strong>;
<a name="line343">343: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPValuesViewFromOptions.html">NEPValuesViewFromOptions</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>)</font></strong>;
<a name="line344">344: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPVectorsView.html">NEPVectorsView</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a>)</font></strong>;
<a name="line345">345: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPVectorsViewFromOptions.html">NEPVectorsViewFromOptions</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>)</font></strong>;

<a name="line347">347: </a><font color="#B22222">/*S</font>
<a name="line348">348: </a><font color="#B22222">   <a href="../manualpages/NEP/NEPFunctionFn.html">NEPFunctionFn</a> - A prototype of a `<a href="../manualpages/NEP/NEP.html">NEP</a>` function evaluation function that</font>
<a name="line349">349: </a><font color="#B22222">   would be passed to `<a href="../manualpages/NEP/NEPSetFunction.html">NEPSetFunction</a>()`.</font>

<a name="line351">351: </a><font color="#B22222">   Calling Sequence:</font>
<a name="line352">352: </a><font color="#B22222">+  nep    - the nonlinear eigensolver context</font>
<a name="line353">353: </a><font color="#B22222">.  lambda - the scalar argument where $T(\cdot)$ must be evaluated</font>
<a name="line354">354: </a><font color="#B22222">.  T      - matrix that will contain $T(\lambda)$</font>
<a name="line355">355: </a><font color="#B22222">.  P      - [optional] different matrix to build the preconditioner</font>
<a name="line356">356: </a><font color="#B22222">-  ctx    - [optional] user-defined context for private data for the</font>
<a name="line357">357: </a><font color="#B22222">            function evaluation routine (may be `NULL`)</font>

<a name="line359">359: </a><font color="#B22222">   Level: beginner</font>

<a name="line361">361: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPSetFunction.html">NEPSetFunction</a>()`</font>
<a name="line362">362: </a><font color="#B22222">S*/</font>
<a name="line363">363: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPFunctionFn.html">NEPFunctionFn</a>(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a> lambda,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a> T,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a> P,void *ctx)</font></strong>;

<a name="line365">365: </a><font color="#B22222">/*S</font>
<a name="line366">366: </a><font color="#B22222">   <a href="../manualpages/NEP/NEPJacobianFn.html">NEPJacobianFn</a> - A prototype of a `<a href="../manualpages/NEP/NEP.html">NEP</a>` Jacobian evaluation function that</font>
<a name="line367">367: </a><font color="#B22222">   would be passed to `<a href="../manualpages/NEP/NEPSetJacobian.html">NEPSetJacobian</a>()`.</font>

<a name="line369">369: </a><font color="#B22222">   Calling Sequence:</font>
<a name="line370">370: </a><font color="#B22222">+  nep    - the nonlinear eigensolver context</font>
<a name="line371">371: </a><font color="#B22222">.  lambda - the scalar argument where $T'(\cdot)$ must be evaluated</font>
<a name="line372">372: </a><font color="#B22222">.  J      - matrix that will contain $T'(\lambda)$</font>
<a name="line373">373: </a><font color="#B22222">-  ctx    - [optional] user-defined context for private data for the</font>
<a name="line374">374: </a><font color="#B22222">            Jacobian evaluation routine (may be `NULL`)</font>

<a name="line376">376: </a><font color="#B22222">   Level: beginner</font>

<a name="line378">378: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPSetJacobian.html">NEPSetJacobian</a>()`</font>
<a name="line379">379: </a><font color="#B22222">S*/</font>
<a name="line380">380: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPJacobianFn.html">NEPJacobianFn</a>(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a> lambda,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a> J,void *ctx)</font></strong>;

<a name="line382">382: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetFunction.html">NEPSetFunction</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>,<a href="../manualpages/NEP/NEPFunctionFn.html">NEPFunctionFn</a>*,void*)</font></strong>;
<a name="line383">383: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetFunction.html">NEPGetFunction</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>*,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>*,<a href="../manualpages/NEP/NEPFunctionFn.html">NEPFunctionFn</a>**,void**)</font></strong>;
<a name="line384">384: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetJacobian.html">NEPSetJacobian</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>,<a href="../manualpages/NEP/NEPJacobianFn.html">NEPJacobianFn</a>*,void*)</font></strong>;
<a name="line385">385: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetJacobian.html">NEPGetJacobian</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>*,<a href="../manualpages/NEP/NEPJacobianFn.html">NEPJacobianFn</a>**,void**)</font></strong>;
<a name="line386">386: </a>PETSC_DEPRECATED_FUNCTION(3, 12, 0, <font color="#666666">"<a href="../manualpages/NEP/NEPSetFunction.html">NEPSetFunction</a>() and <a href="../manualpages/NEP/NEPSetJacobian.html">NEPSetJacobian</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> NEPSetDerivatives(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a> A,<a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> (*fun)(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>,void*),void *ctx) {(void)A;(void)fun;(void)ctx;<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>)nep),PETSC_ERR_SUP,<font color="#666666">"Not implemented in this version"</font>);}
<a name="line387">387: </a>PETSC_DEPRECATED_FUNCTION(3, 12, 0, <font color="#666666">"<a href="../manualpages/NEP/NEPGetFunction.html">NEPGetFunction</a>() and <a href="../manualpages/NEP/NEPGetJacobian.html">NEPGetJacobian</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> NEPGetDerivatives(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a> *A,<a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> (**fun)(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>,void*),void **ctx) {(void)A;(void)fun;(void)ctx;<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>)nep),PETSC_ERR_SUP,<font color="#666666">"Not implemented in this version"</font>);}
<a name="line388">388: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetSplitOperator.html">NEPSetSplitOperator</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>[],<a href="../manualpages/FN/FN.html">FN</a>[],<a href="https://petsc.org/release/manualpages/Mat/MatStructure/">MatStructure</a>)</font></strong>;
<a name="line389">389: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetSplitOperatorTerm.html">NEPGetSplitOperatorTerm</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>*,<a href="../manualpages/FN/FN.html">FN</a>*)</font></strong>;
<a name="line390">390: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetSplitOperatorInfo.html">NEPGetSplitOperatorInfo</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/Mat/MatStructure/">MatStructure</a>*)</font></strong>;
<a name="line391">391: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetSplitPreconditioner.html">NEPSetSplitPreconditioner</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>[],<a href="https://petsc.org/release/manualpages/Mat/MatStructure/">MatStructure</a>)</font></strong>;
<a name="line392">392: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetSplitPreconditionerTerm.html">NEPGetSplitPreconditionerTerm</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line393">393: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetSplitPreconditionerInfo.html">NEPGetSplitPreconditionerInfo</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/Mat/MatStructure/">MatStructure</a>*)</font></strong>;

<a name="line395">395: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetBV.html">NEPSetBV</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/BV/BV.html">BV</a>)</font></strong>;
<a name="line396">396: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetBV.html">NEPGetBV</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/BV/BV.html">BV</a>*)</font></strong>;
<a name="line397">397: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetRG.html">NEPSetRG</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/RG/RG.html">RG</a>)</font></strong>;
<a name="line398">398: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetRG.html">NEPGetRG</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/RG/RG.html">RG</a>*)</font></strong>;
<a name="line399">399: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetDS.html">NEPSetDS</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/DS/DS.html">DS</a>)</font></strong>;
<a name="line400">400: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetDS.html">NEPGetDS</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/DS/DS.html">DS</a>*)</font></strong>;
<a name="line401">401: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPRefineGetKSP.html">NEPRefineGetKSP</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/KSP/KSP/">KSP</a>*)</font></strong>;
<a name="line402">402: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetTolerances.html">NEPSetTolerances</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line403">403: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetTolerances.html">NEPGetTolerances</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line404">404: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetDimensions.html">NEPSetDimensions</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line405">405: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetDimensions.html">NEPGetDimensions</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line406">406: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetRefine.html">NEPSetRefine</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPRefine.html">NEPRefine</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/NEP/NEPRefineScheme.html">NEPRefineScheme</a>)</font></strong>;
<a name="line407">407: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetRefine.html">NEPGetRefine</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPRefine.html">NEPRefine</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/NEP/NEPRefineScheme.html">NEPRefineScheme</a>*)</font></strong>;

<a name="line409">409: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetConverged.html">NEPGetConverged</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line410">410: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetEigenpair.html">NEPGetEigenpair</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line411">411: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetLeftEigenvector.html">NEPGetLeftEigenvector</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</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="line413">413: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPComputeError.html">NEPComputeError</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="../manualpages/NEP/NEPErrorType.html">NEPErrorType</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<a name="line414">414: </a>PETSC_DEPRECATED_FUNCTION(3, 6, 0, <font color="#666666">"<a href="../manualpages/NEP/NEPComputeError.html">NEPComputeError</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> NEPComputeRelativeError(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,<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/NEP/NEPComputeError.html">NEPComputeError</a>(nep,i,<a href="../manualpages/NEP/NEPErrorType.html">NEP_ERROR_RELATIVE</a>,r);}
<a name="line415">415: </a>PETSC_DEPRECATED_FUNCTION(3, 6, 0, <font color="#666666">"<a href="../manualpages/NEP/NEPComputeError.html">NEPComputeError</a>() with <a href="../manualpages/NEP/NEPErrorType.html">NEP_ERROR_ABSOLUTE</a>"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> NEPComputeResidualNorm(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,<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/NEP/NEPComputeError.html">NEPComputeError</a>(nep,i,<a href="../manualpages/NEP/NEPErrorType.html">NEP_ERROR_ABSOLUTE</a>,r);}
<a name="line416">416: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetErrorEstimate.html">NEPGetErrorEstimate</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line418">418: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPComputeFunction.html">NEPComputeFunction</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>)</font></strong>;
<a name="line419">419: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPComputeJacobian.html">NEPComputeJacobian</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>)</font></strong>;
<a name="line420">420: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPApplyFunction.html">NEPApplyFunction</a>(<a href="../manualpages/NEP/NEP.html">NEP</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>,<a href="https://petsc.org/release/manualpages/Vec/Vec/">Vec</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>)</font></strong>;
<a name="line421">421: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPApplyAdjoint.html">NEPApplyAdjoint</a>(<a href="../manualpages/NEP/NEP.html">NEP</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>,<a href="https://petsc.org/release/manualpages/Vec/Vec/">Vec</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>)</font></strong>;
<a name="line422">422: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPApplyJacobian.html">NEPApplyJacobian</a>(<a href="../manualpages/NEP/NEP.html">NEP</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>,<a href="https://petsc.org/release/manualpages/Vec/Vec/">Vec</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>)</font></strong>;
<a name="line423">423: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPProjectOperator.html">NEPProjectOperator</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line424">424: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetIterationNumber.html">NEPGetIterationNumber</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;

<a name="line426">426: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetInitialSpace.html">NEPSetInitialSpace</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line427">427: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetWhichEigenpairs.html">NEPSetWhichEigenpairs</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPWhich.html">NEPWhich</a>)</font></strong>;
<a name="line428">428: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetWhichEigenpairs.html">NEPGetWhichEigenpairs</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPWhich.html">NEPWhich</a>*)</font></strong>;
<a name="line429">429: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetTwoSided.html">NEPSetTwoSided</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line430">430: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetTwoSided.html">NEPGetTwoSided</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;

<a name="line432">432: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPApplyResolvent.html">NEPApplyResolvent</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/RG/RG.html">RG</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="line434">434: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetTrackAll.html">NEPSetTrackAll</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line435">435: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetTrackAll.html">NEPGetTrackAll</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;

<a name="line437">437: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetConvergedReason.html">NEPGetConvergedReason</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPConvergedReason.html">NEPConvergedReason</a>*)</font></strong>;

<a name="line439">439: </a><font color="#B22222">/*S</font>
<a name="line440">440: </a><font color="#B22222">   <a href="../manualpages/NEP/NEPMonitorFn.html">NEPMonitorFn</a> - A function prototype for functions provided to `<a href="../manualpages/NEP/NEPMonitorSet.html">NEPMonitorSet</a>()`.</font>

<a name="line442">442: </a><font color="#B22222">   Calling Sequence:</font>
<a name="line443">443: </a><font color="#B22222">+  nep    - the nonlinear eigensolver context</font>
<a name="line444">444: </a><font color="#B22222">.  its    - iteration number</font>
<a name="line445">445: </a><font color="#B22222">.  nconv  - number of converged eigenpairs</font>
<a name="line446">446: </a><font color="#B22222">.  eigr   - real part of the eigenvalues</font>
<a name="line447">447: </a><font color="#B22222">.  eigi   - imaginary part of the eigenvalues</font>
<a name="line448">448: </a><font color="#B22222">.  errest - relative error estimates for each eigenpair</font>
<a name="line449">449: </a><font color="#B22222">.  nest   - number of error estimates</font>
<a name="line450">450: </a><font color="#B22222">-  ctx    - optional monitoring context, as provided with `<a href="../manualpages/NEP/NEPMonitorSet.html">NEPMonitorSet</a>()`</font>

<a name="line452">452: </a><font color="#B22222">   Level: intermediate</font>

<a name="line454">454: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPMonitorSet.html">NEPMonitorSet</a>()`</font>
<a name="line455">455: </a><font color="#B22222">S*/</font>
<a name="line456">456: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPMonitorFn.html">NEPMonitorFn</a>(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,<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="line458">458: </a><font color="#B22222">/*S</font>
<a name="line459">459: </a><font color="#B22222">   <a href="../manualpages/NEP/NEPMonitorRegisterFn.html">NEPMonitorRegisterFn</a> - A function prototype for functions provided to `<a href="../manualpages/NEP/NEPMonitorRegister.html">NEPMonitorRegister</a>()`.</font>

<a name="line461">461: </a><font color="#B22222">   Calling Sequence:</font>
<a name="line462">462: </a><font color="#B22222">+  nep    - the nonlinear eigensolver context</font>
<a name="line463">463: </a><font color="#B22222">.  its    - iteration number</font>
<a name="line464">464: </a><font color="#B22222">.  nconv  - number of converged eigenpairs</font>
<a name="line465">465: </a><font color="#B22222">.  eigr   - real part of the eigenvalues</font>
<a name="line466">466: </a><font color="#B22222">.  eigi   - imaginary part of the eigenvalues</font>
<a name="line467">467: </a><font color="#B22222">.  errest - relative error estimates for each eigenpair</font>
<a name="line468">468: </a><font color="#B22222">.  nest   - number of error estimates</font>
<a name="line469">469: </a><font color="#B22222">-  ctx    - `PetscViewerAndFormat` object</font>

<a name="line471">471: </a><font color="#B22222">   Level: advanced</font>

<a name="line473">473: </a><font color="#B22222">   Note:</font>
<a name="line474">474: </a><font color="#B22222">   This is a `<a href="../manualpages/NEP/NEPMonitorFn.html">NEPMonitorFn</a>` specialized for a context of `PetscViewerAndFormat`.</font>

<a name="line476">476: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPMonitorSet.html">NEPMonitorSet</a>()`, `<a href="../manualpages/NEP/NEPMonitorRegister.html">NEPMonitorRegister</a>()`, `<a href="../manualpages/NEP/NEPMonitorFn.html">NEPMonitorFn</a>`, `<a href="../manualpages/NEP/NEPMonitorRegisterCreateFn.html">NEPMonitorRegisterCreateFn</a>`, `<a href="../manualpages/NEP/NEPMonitorRegisterDestroyFn.html">NEPMonitorRegisterDestroyFn</a>`</font>
<a name="line477">477: </a><font color="#B22222">S*/</font>
<a name="line478">478: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPMonitorRegisterFn.html">NEPMonitorRegisterFn</a>(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,<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="line480">480: </a><font color="#B22222">/*S</font>
<a name="line481">481: </a><font color="#B22222">   <a href="../manualpages/NEP/NEPMonitorRegisterCreateFn.html">NEPMonitorRegisterCreateFn</a> - A function prototype for functions that do the</font>
<a name="line482">482: </a><font color="#B22222">   creation when provided to `<a href="../manualpages/NEP/NEPMonitorRegister.html">NEPMonitorRegister</a>()`.</font>

<a name="line484">484: </a><font color="#B22222">   Calling Sequence:</font>
<a name="line485">485: </a><font color="#B22222">+  viewer - the viewer to be used with the `<a href="../manualpages/NEP/NEPMonitorRegisterFn.html">NEPMonitorRegisterFn</a>`</font>
<a name="line486">486: </a><font color="#B22222">.  format - the format of the viewer</font>
<a name="line487">487: </a><font color="#B22222">.  ctx    - a context for the monitor</font>
<a name="line488">488: </a><font color="#B22222">-  result - a `PetscViewerAndFormat` object</font>

<a name="line490">490: </a><font color="#B22222">   Level: advanced</font>

<a name="line492">492: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPMonitorRegisterFn.html">NEPMonitorRegisterFn</a>`, `<a href="../manualpages/NEP/NEPMonitorSet.html">NEPMonitorSet</a>()`, `<a href="../manualpages/NEP/NEPMonitorRegister.html">NEPMonitorRegister</a>()`, `<a href="../manualpages/NEP/NEPMonitorFn.html">NEPMonitorFn</a>`, `<a href="../manualpages/NEP/NEPMonitorRegisterDestroyFn.html">NEPMonitorRegisterDestroyFn</a>`</font>
<a name="line493">493: </a><font color="#B22222">S*/</font>
<a name="line494">494: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPMonitorRegisterCreateFn.html">NEPMonitorRegisterCreateFn</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="line496">496: </a><font color="#B22222">/*S</font>
<a name="line497">497: </a><font color="#B22222">   <a href="../manualpages/NEP/NEPMonitorRegisterDestroyFn.html">NEPMonitorRegisterDestroyFn</a> - A function prototype for functions that do the after</font>
<a name="line498">498: </a><font color="#B22222">   use destruction when provided to `<a href="../manualpages/NEP/NEPMonitorRegister.html">NEPMonitorRegister</a>()`.</font>

<a name="line500">500: </a><font color="#B22222">   Calling Sequence:</font>
<a name="line501">501: </a><font color="#B22222">.  vf - a `PetscViewerAndFormat` object to be destroyed, including any context</font>

<a name="line503">503: </a><font color="#B22222">   Level: advanced</font>

<a name="line505">505: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPMonitorRegisterFn.html">NEPMonitorRegisterFn</a>`, `<a href="../manualpages/NEP/NEPMonitorSet.html">NEPMonitorSet</a>()`, `<a href="../manualpages/NEP/NEPMonitorRegister.html">NEPMonitorRegister</a>()`, `<a href="../manualpages/NEP/NEPMonitorFn.html">NEPMonitorFn</a>`, `<a href="../manualpages/NEP/NEPMonitorRegisterCreateFn.html">NEPMonitorRegisterCreateFn</a>`</font>
<a name="line506">506: </a><font color="#B22222">S*/</font>
<a name="line507">507: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPMonitorRegisterDestroyFn.html">NEPMonitorRegisterDestroyFn</a>(PetscViewerAndFormat **result)</font></strong>;

<a name="line509">509: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> NEPMonitor(<a href="../manualpages/NEP/NEP.html">NEP</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="line510">510: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPMonitorSet.html">NEPMonitorSet</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPMonitorFn.html">NEPMonitorFn</a>,void*,<a href="https://petsc.org/release/manualpages/Sys/PetscCtxDestroyFn/">PetscCtxDestroyFn</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/NEP/NEPMonitorCancel.html">NEPMonitorCancel</a>(<a href="../manualpages/NEP/NEP.html">NEP</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/NEP/NEPGetMonitorContext.html">NEPGetMonitorContext</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,void*)</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/NEP/NEPMonitorSetFromOptions.html">NEPMonitorSetFromOptions</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,const char[],const char[],void*,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line515">515: </a>SLEPC_EXTERN <a href="../manualpages/NEP/NEPMonitorRegisterFn.html">NEPMonitorRegisterFn</a>        <a href="../manualpages/NEP/NEPMonitorFirst.html">NEPMonitorFirst</a>;
<a name="line516">516: </a>SLEPC_EXTERN <a href="../manualpages/NEP/NEPMonitorRegisterFn.html">NEPMonitorRegisterFn</a>        <a href="../manualpages/NEP/NEPMonitorFirstDrawLG.html">NEPMonitorFirstDrawLG</a>;
<a name="line517">517: </a>SLEPC_EXTERN <a href="../manualpages/NEP/NEPMonitorRegisterCreateFn.html">NEPMonitorRegisterCreateFn</a>  <a href="../manualpages/NEP/NEPMonitorFirstDrawLGCreate.html">NEPMonitorFirstDrawLGCreate</a>;
<a name="line518">518: </a>SLEPC_EXTERN <a href="../manualpages/NEP/NEPMonitorRegisterFn.html">NEPMonitorRegisterFn</a>        <a href="../manualpages/NEP/NEPMonitorAll.html">NEPMonitorAll</a>;
<a name="line519">519: </a>SLEPC_EXTERN <a href="../manualpages/NEP/NEPMonitorRegisterFn.html">NEPMonitorRegisterFn</a>        <a href="../manualpages/NEP/NEPMonitorAllDrawLG.html">NEPMonitorAllDrawLG</a>;
<a name="line520">520: </a>SLEPC_EXTERN <a href="../manualpages/NEP/NEPMonitorRegisterCreateFn.html">NEPMonitorRegisterCreateFn</a>  <a href="../manualpages/NEP/NEPMonitorAllDrawLGCreate.html">NEPMonitorAllDrawLGCreate</a>;
<a name="line521">521: </a>SLEPC_EXTERN <a href="../manualpages/NEP/NEPMonitorRegisterFn.html">NEPMonitorRegisterFn</a>        <a href="../manualpages/NEP/NEPMonitorConverged.html">NEPMonitorConverged</a>;
<a name="line522">522: </a>SLEPC_EXTERN <a href="../manualpages/NEP/NEPMonitorRegisterCreateFn.html">NEPMonitorRegisterCreateFn</a>  NEPMonitorConvergedCreate;
<a name="line523">523: </a>SLEPC_EXTERN <a href="../manualpages/NEP/NEPMonitorRegisterFn.html">NEPMonitorRegisterFn</a>        <a href="../manualpages/NEP/NEPMonitorConvergedDrawLG.html">NEPMonitorConvergedDrawLG</a>;
<a name="line524">524: </a>SLEPC_EXTERN <a href="../manualpages/NEP/NEPMonitorRegisterCreateFn.html">NEPMonitorRegisterCreateFn</a>  <a href="../manualpages/NEP/NEPMonitorConvergedDrawLGCreate.html">NEPMonitorConvergedDrawLGCreate</a>;
<a name="line525">525: </a>SLEPC_EXTERN <a href="../manualpages/NEP/NEPMonitorRegisterDestroyFn.html">NEPMonitorRegisterDestroyFn</a> NEPMonitorConvergedDestroy;

<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/NEP/NEPSetOptionsPrefix.html">NEPSetOptionsPrefix</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,const char[])</font></strong>;
<a name="line528">528: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPAppendOptionsPrefix.html">NEPAppendOptionsPrefix</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,const char[])</font></strong>;
<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/NEP/NEPGetOptionsPrefix.html">NEPGetOptionsPrefix</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,const char*[])</font></strong>;

<a name="line531">531: </a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscFunctionList/">PetscFunctionList</a> NEPList;
<a name="line532">532: </a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscFunctionList/">PetscFunctionList</a> NEPMonitorList;
<a name="line533">533: </a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscFunctionList/">PetscFunctionList</a> NEPMonitorCreateList;
<a name="line534">534: </a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscFunctionList/">PetscFunctionList</a> NEPMonitorDestroyList;
<a name="line535">535: </a><strong><font color="#4169E1"><a name="NEPRegister"></a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPRegister.html">NEPRegister</a>(const char[],<a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a>(*)(<a href="../manualpages/NEP/NEP.html">NEP</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/NEP/NEPMonitorRegister.html">NEPMonitorRegister</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/NEP/NEPMonitorRegisterFn.html">NEPMonitorRegisterFn</a>*,<a href="../manualpages/NEP/NEPMonitorRegisterCreateFn.html">NEPMonitorRegisterCreateFn</a>*,<a href="../manualpages/NEP/NEPMonitorRegisterDestroyFn.html">NEPMonitorRegisterDestroyFn</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/NEP/NEPSetWorkVecs.html">NEPSetWorkVecs</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</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/NEP/NEPAllocateSolution.html">NEPAllocateSolution</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;

<a name="line541">541: </a><font color="#B22222">/*S</font>
<a name="line542">542: </a><font color="#B22222">   <a href="../manualpages/NEP/NEPConvergenceTestFn.html">NEPConvergenceTestFn</a> - A prototype of a `<a href="../manualpages/NEP/NEP.html">NEP</a>` convergence test function that</font>
<a name="line543">543: </a><font color="#B22222">   would be passed to `<a href="../manualpages/NEP/NEPSetConvergenceTestFunction.html">NEPSetConvergenceTestFunction</a>()`.</font>

<a name="line545">545: </a><font color="#B22222">   Calling Sequence:</font>
<a name="line546">546: </a><font color="#B22222">+  nep    - the nonlinear eigensolver context</font>
<a name="line547">547: </a><font color="#B22222">.  eigr   - real part of the eigenvalue</font>
<a name="line548">548: </a><font color="#B22222">.  eigi   - imaginary part of the eigenvalue</font>
<a name="line549">549: </a><font color="#B22222">.  res    - residual norm associated to the eigenpair</font>
<a name="line550">550: </a><font color="#B22222">.  errest - [output] computed error estimate</font>
<a name="line551">551: </a><font color="#B22222">-  ctx    - optional convergence context, as set by `<a href="../manualpages/NEP/NEPSetConvergenceTestFunction.html">NEPSetConvergenceTestFunction</a>()`</font>

<a name="line553">553: </a><font color="#B22222">   Level: advanced</font>

<a name="line555">555: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPSetConvergenceTest.html">NEPSetConvergenceTest</a>()`, `<a href="../manualpages/NEP/NEPSetConvergenceTestFunction.html">NEPSetConvergenceTestFunction</a>()`</font>
<a name="line556">556: </a><font color="#B22222">S*/</font>
<a name="line557">557: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPConvergenceTestFn.html">NEPConvergenceTestFn</a>(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,<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="line559">559: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetConvergenceTest.html">NEPSetConvergenceTest</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPConv.html">NEPConv</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/NEP/NEPGetConvergenceTest.html">NEPGetConvergenceTest</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPConv.html">NEPConv</a>*)</font></strong>;
<a name="line561">561: </a>SLEPC_EXTERN <a href="../manualpages/NEP/NEPConvergenceTestFn.html">NEPConvergenceTestFn</a> NEPConvergedAbsolute;
<a name="line562">562: </a>SLEPC_EXTERN <a href="../manualpages/NEP/NEPConvergenceTestFn.html">NEPConvergenceTestFn</a> NEPConvergedRelative;
<a name="line563">563: </a>SLEPC_EXTERN <a href="../manualpages/NEP/NEPConvergenceTestFn.html">NEPConvergenceTestFn</a> NEPConvergedNorm;
<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/NEP/NEPSetConvergenceTestFunction.html">NEPSetConvergenceTestFunction</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPConvergenceTestFn.html">NEPConvergenceTestFn</a>*,void*,<a href="https://petsc.org/release/manualpages/Sys/PetscCtxDestroyFn/">PetscCtxDestroyFn</a>*)</font></strong>;

<a name="line566">566: </a><font color="#B22222">/*S</font>
<a name="line567">567: </a><font color="#B22222">   <a href="../manualpages/NEP/NEPStoppingTestFn.html">NEPStoppingTestFn</a> - A prototype of a `<a href="../manualpages/NEP/NEP.html">NEP</a>` stopping test function that would</font>
<a name="line568">568: </a><font color="#B22222">   be passed to `<a href="../manualpages/NEP/NEPSetStoppingTestFunction.html">NEPSetStoppingTestFunction</a>()`.</font>

<a name="line570">570: </a><font color="#B22222">   Calling Sequence:</font>
<a name="line571">571: </a><font color="#B22222">+  nep    - the nonlinear eigensolver context</font>
<a name="line572">572: </a><font color="#B22222">.  its    - current number of iterations</font>
<a name="line573">573: </a><font color="#B22222">.  max_it - maximum number of iterations</font>
<a name="line574">574: </a><font color="#B22222">.  nconv  - number of currently converged eigenpairs</font>
<a name="line575">575: </a><font color="#B22222">.  nev    - number of requested eigenpairs</font>
<a name="line576">576: </a><font color="#B22222">.  reason - [output] result of the stopping test</font>
<a name="line577">577: </a><font color="#B22222">-  ctx    - optional stopping context, as set by `<a href="../manualpages/NEP/NEPSetStoppingTestFunction.html">NEPSetStoppingTestFunction</a>()`</font>

<a name="line579">579: </a><font color="#B22222">   Note:</font>
<a name="line580">580: </a><font color="#B22222">   A positive value of `reason` indicates that the iteration has finished successfully</font>
<a name="line581">581: </a><font color="#B22222">   (converged), and a negative value indicates an error condition (diverged). If</font>
<a name="line582">582: </a><font color="#B22222">   the iteration needs to be continued, `reason` must be set to `<a href="../manualpages/NEP/NEP_CONVERGED_ITERATING.html">NEP_CONVERGED_ITERATING</a>`</font>
<a name="line583">583: </a><font color="#B22222">   (zero).</font>

<a name="line585">585: </a><font color="#B22222">   Level: advanced</font>

<a name="line587">587: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPSetStoppingTestFunction.html">NEPSetStoppingTestFunction</a>()`</font>
<a name="line588">588: </a><font color="#B22222">S*/</font>
<a name="line589">589: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPStoppingTestFn.html">NEPStoppingTestFn</a>(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,<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/NEP/NEPConvergedReason.html">NEPConvergedReason</a> *reason,void *ctx)</font></strong>;

<a name="line591">591: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetStoppingTest.html">NEPSetStoppingTest</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPStop.html">NEPStop</a>)</font></strong>;
<a name="line592">592: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPGetStoppingTest.html">NEPGetStoppingTest</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPStop.html">NEPStop</a>*)</font></strong>;
<a name="line593">593: </a>SLEPC_EXTERN <a href="../manualpages/NEP/NEPStoppingTestFn.html">NEPStoppingTestFn</a> <a href="../manualpages/NEP/NEPStoppingBasic.html">NEPStoppingBasic</a>;
<a name="line594">594: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetStoppingTestFunction.html">NEPSetStoppingTestFunction</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPStoppingTestFn.html">NEPStoppingTestFn</a>*,void*,<a href="https://petsc.org/release/manualpages/Sys/PetscCtxDestroyFn/">PetscCtxDestroyFn</a>*)</font></strong>;

<a name="line596">596: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSetEigenvalueComparison.html">NEPSetEigenvalueComparison</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/Sys/SlepcEigenvalueComparisonFn.html">SlepcEigenvalueComparisonFn</a>*,void*)</font></strong>;

<a name="line598">598: </a><font color="#B22222">/* --------- options specific to particular eigensolvers -------- */</font>

<a name="line600">600: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPRIISetMaximumIterations.html">NEPRIISetMaximumIterations</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line601">601: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPRIIGetMaximumIterations.html">NEPRIIGetMaximumIterations</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line602">602: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPRIISetLagPreconditioner.html">NEPRIISetLagPreconditioner</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line603">603: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPRIIGetLagPreconditioner.html">NEPRIIGetLagPreconditioner</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line604">604: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPRIISetConstCorrectionTol.html">NEPRIISetConstCorrectionTol</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line605">605: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPRIIGetConstCorrectionTol.html">NEPRIIGetConstCorrectionTol</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line606">606: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPRIISetHermitian.html">NEPRIISetHermitian</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line607">607: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPRIIGetHermitian.html">NEPRIIGetHermitian</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line608">608: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPRIISetDeflationThreshold.html">NEPRIISetDeflationThreshold</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>)</font></strong>;
<a name="line609">609: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPRIIGetDeflationThreshold.html">NEPRIIGetDeflationThreshold</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<a name="line610">610: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPRIISetKSP.html">NEPRIISetKSP</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/KSP/KSP/">KSP</a>)</font></strong>;
<a name="line611">611: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPRIIGetKSP.html">NEPRIIGetKSP</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/KSP/KSP/">KSP</a>*)</font></strong>;

<a name="line613">613: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSLPSetDeflationThreshold.html">NEPSLPSetDeflationThreshold</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>)</font></strong>;
<a name="line614">614: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSLPGetDeflationThreshold.html">NEPSLPGetDeflationThreshold</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<a name="line615">615: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSLPSetEPS.html">NEPSLPSetEPS</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/EPS/EPS.html">EPS</a>)</font></strong>;
<a name="line616">616: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSLPGetEPS.html">NEPSLPGetEPS</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/EPS/EPS.html">EPS</a>*)</font></strong>;
<a name="line617">617: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSLPSetEPSLeft.html">NEPSLPSetEPSLeft</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/EPS/EPS.html">EPS</a>)</font></strong>;
<a name="line618">618: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSLPGetEPSLeft.html">NEPSLPGetEPSLeft</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/EPS/EPS.html">EPS</a>*)</font></strong>;
<a name="line619">619: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSLPSetKSP.html">NEPSLPSetKSP</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/KSP/KSP/">KSP</a>)</font></strong>;
<a name="line620">620: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPSLPGetKSP.html">NEPSLPGetKSP</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/KSP/KSP/">KSP</a>*)</font></strong>;

<a name="line622">622: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPNArnoldiSetKSP.html">NEPNArnoldiSetKSP</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/KSP/KSP/">KSP</a>)</font></strong>;
<a name="line623">623: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPNArnoldiGetKSP.html">NEPNArnoldiGetKSP</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/KSP/KSP/">KSP</a>*)</font></strong>;
<a name="line624">624: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPNArnoldiSetLagPreconditioner.html">NEPNArnoldiSetLagPreconditioner</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line625">625: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPNArnoldiGetLagPreconditioner.html">NEPNArnoldiGetLagPreconditioner</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;

<a name="line627">627: </a><font color="#B22222">/*E</font>
<a name="line628">628: </a><font color="#B22222">   <a href="../manualpages/NEP/NEPCISSExtraction.html">NEPCISSExtraction</a> - The extraction technique used in the CISS solver.</font>

<a name="line630">630: </a><font color="#B22222">   Values:</font>
<a name="line631">631: </a><font color="#B22222">+  `<a href="../manualpages/NEP/NEPCISSExtraction.html">NEP_CISS_EXTRACTION_RITZ</a>`   - Rayleigh-Ritz extraction</font>
<a name="line632">632: </a><font color="#B22222">.  `<a href="../manualpages/NEP/NEPCISSExtraction.html">NEP_CISS_EXTRACTION_HANKEL</a>` - block Hankel method</font>
<a name="line633">633: </a><font color="#B22222">-  `<a href="../manualpages/NEP/NEPCISSExtraction.html">NEP_CISS_EXTRACTION_CAA</a>`    - communication-avoiding Arnoldi method</font>

<a name="line635">635: </a><font color="#B22222">   Level: advanced</font>

<a name="line637">637: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPCISSSetExtraction.html">NEPCISSSetExtraction</a>()`, `<a href="../manualpages/NEP/NEPCISSGetExtraction.html">NEPCISSGetExtraction</a>()`</font>
<a name="line638">638: </a><font color="#B22222">E*/</font>
<a name="line639">639: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/NEP/NEPCISSExtraction.html">NEP_CISS_EXTRACTION_RITZ</a>,
<a name="line640">640: </a>               <a href="../manualpages/NEP/NEPCISSExtraction.html">NEP_CISS_EXTRACTION_HANKEL</a>,
<a name="line641">641: </a>               <a href="../manualpages/NEP/NEPCISSExtraction.html">NEP_CISS_EXTRACTION_CAA</a>    } <a href="../manualpages/NEP/NEPCISSExtraction.html">NEPCISSExtraction</a>;
<a name="line642">642: </a>SLEPC_EXTERN const char *NEPCISSExtractions[];

<a name="line644">644: </a><font color="#A020F0">#if defined(PETSC_USE_COMPLEX) || defined(PETSC_CLANG_STATIC_ANALYZER)</font>
<a name="line645">645: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPCISSSetExtraction.html">NEPCISSSetExtraction</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPCISSExtraction.html">NEPCISSExtraction</a>)</font></strong>;
<a name="line646">646: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPCISSGetExtraction.html">NEPCISSGetExtraction</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPCISSExtraction.html">NEPCISSExtraction</a>*)</font></strong>;
<a name="line647">647: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPCISSSetSizes.html">NEPCISSSetSizes</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line648">648: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPCISSGetSizes.html">NEPCISSGetSizes</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line649">649: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPCISSSetThreshold.html">NEPCISSSetThreshold</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line650">650: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPCISSGetThreshold.html">NEPCISSGetThreshold</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line651">651: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPCISSSetRefinement.html">NEPCISSSetRefinement</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line652">652: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPCISSGetRefinement.html">NEPCISSGetRefinement</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line653">653: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPCISSGetKSPs.html">NEPCISSGetKSPs</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line654">654: </a><font color="#A020F0">#else</font>
<a name="line655">655: </a><strong><font color="#228B22">#define SlepcNEPCISSUnavailable(nep) do { \</font></strong>
<a name="line656">656: </a><strong><font color="#228B22">    <a href="https://petsc.org/release/manualpages/Sys/PetscFunctionBegin/">PetscFunctionBegin</a>; \</font></strong>
<a name="line657">657: </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>)nep),PETSC_ERR_SUP,</font><font color="#666666">"%s() not available with real scalars"</font><font color="#228B22">,PETSC_FUNCTION_NAME); \</font></strong>
<a name="line658">658: </a><strong><font color="#228B22">    } while (0)</font></strong>
<a name="line659">659: </a><strong><font color="#4169E1"><a name="NEPCISSSetExtraction"></a>static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPCISSSetExtraction.html">NEPCISSSetExtraction</a>(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,PETSC_UNUSED <a href="../manualpages/NEP/NEPCISSExtraction.html">NEPCISSExtraction</a> ex)</font></strong> {SlepcNEPCISSUnavailable(nep);}
<a name="line660">660: </a><strong><font color="#4169E1"><a name="NEPCISSGetExtraction"></a>static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPCISSGetExtraction.html">NEPCISSGetExtraction</a>(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,PETSC_UNUSED <a href="../manualpages/NEP/NEPCISSExtraction.html">NEPCISSExtraction</a> *ex)</font></strong> {SlepcNEPCISSUnavailable(nep);}
<a name="line661">661: </a><strong><font color="#4169E1"><a name="NEPCISSSetSizes"></a>static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPCISSSetSizes.html">NEPCISSSetSizes</a>(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,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> {SlepcNEPCISSUnavailable(nep);}
<a name="line662">662: </a><strong><font color="#4169E1"><a name="NEPCISSGetSizes"></a>static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPCISSGetSizes.html">NEPCISSGetSizes</a>(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,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> {SlepcNEPCISSUnavailable(nep);}
<a name="line663">663: </a><strong><font color="#4169E1"><a name="NEPCISSSetThreshold"></a>static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPCISSSetThreshold.html">NEPCISSSetThreshold</a>(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,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> {SlepcNEPCISSUnavailable(nep);}
<a name="line664">664: </a><strong><font color="#4169E1"><a name="NEPCISSGetThreshold"></a>static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPCISSGetThreshold.html">NEPCISSGetThreshold</a>(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,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> {SlepcNEPCISSUnavailable(nep);}
<a name="line665">665: </a><strong><font color="#4169E1"><a name="NEPCISSSetRefinement"></a>static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPCISSSetRefinement.html">NEPCISSSetRefinement</a>(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,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> {SlepcNEPCISSUnavailable(nep);}
<a name="line666">666: </a><strong><font color="#4169E1"><a name="NEPCISSGetRefinement"></a>static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPCISSGetRefinement.html">NEPCISSGetRefinement</a>(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,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> {SlepcNEPCISSUnavailable(nep);}
<a name="line667">667: </a><strong><font color="#4169E1"><a name="NEPCISSGetKSPs"></a>static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPCISSGetKSPs.html">NEPCISSGetKSPs</a>(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,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> {SlepcNEPCISSUnavailable(nep);}
<a name="line668">668: </a><strong><font color="#228B22">#undef SlepcNEPCISSUnavailable</font></strong>
<a name="line669">669: </a><font color="#A020F0">#endif</font>

<a name="line671">671: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPInterpolSetPEP.html">NEPInterpolSetPEP</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/PEP/PEP.html">PEP</a>)</font></strong>;
<a name="line672">672: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPInterpolGetPEP.html">NEPInterpolGetPEP</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/PEP/PEP.html">PEP</a>*)</font></strong>;
<a name="line673">673: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPInterpolSetInterpolation.html">NEPInterpolSetInterpolation</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line674">674: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPInterpolGetInterpolation.html">NEPInterpolGetInterpolation</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line676">676: </a><font color="#B22222">/*S</font>
<a name="line677">677: </a><font color="#B22222">   <a href="../manualpages/NEP/NEPNLEIGSSingularitiesFn.html">NEPNLEIGSSingularitiesFn</a> - A prototype of a function that would be passed</font>
<a name="line678">678: </a><font color="#B22222">   to `<a href="../manualpages/NEP/NEPNLEIGSSetSingularitiesFunction.html">NEPNLEIGSSetSingularitiesFunction</a>()`.</font>

<a name="line680">680: </a><font color="#B22222">   Calling Sequence:</font>
<a name="line681">681: </a><font color="#B22222">+  nep   - the nonlinear eigensolver context</font>
<a name="line682">682: </a><font color="#B22222">.  maxnp - on input the number of requested points in the discretization (can be modified)</font>
<a name="line683">683: </a><font color="#B22222">.  xi    - computed values of the discretization</font>
<a name="line684">684: </a><font color="#B22222">-  ctx   - optional context, as set by `<a href="../manualpages/NEP/NEPNLEIGSSetSingularitiesFunction.html">NEPNLEIGSSetSingularitiesFunction</a>()`</font>

<a name="line686">686: </a><font color="#B22222">   Note:</font>
<a name="line687">687: </a><font color="#B22222">   The user-defined function can set a smaller value of `maxnp` if necessary.</font>
<a name="line688">688: </a><font color="#B22222">   It is wrong to return a larger value.</font>

<a name="line690">690: </a><font color="#B22222">   Level: intermediate</font>

<a name="line692">692: </a><font color="#B22222">.seealso: [](ch:nep), `<a href="../manualpages/NEP/NEPNLEIGSSetSingularitiesFunction.html">NEPNLEIGSSetSingularitiesFunction</a>()`</font>
<a name="line693">693: </a><font color="#B22222">S*/</font>
<a name="line694">694: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPNLEIGSSingularitiesFn.html">NEPNLEIGSSingularitiesFn</a>(<a href="../manualpages/NEP/NEP.html">NEP</a> nep,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> *maxnp,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a> *xi,void *ctx)</font></strong>;

<a name="line696">696: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPNLEIGSSetSingularitiesFunction.html">NEPNLEIGSSetSingularitiesFunction</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPNLEIGSSingularitiesFn.html">NEPNLEIGSSingularitiesFn</a>*,void*)</font></strong>;
<a name="line697">697: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPNLEIGSGetSingularitiesFunction.html">NEPNLEIGSGetSingularitiesFunction</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/NEP/NEPNLEIGSSingularitiesFn.html">NEPNLEIGSSingularitiesFn</a>**,void**)</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/NEP/NEPNLEIGSSetRestart.html">NEPNLEIGSSetRestart</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</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/NEP/NEPNLEIGSGetRestart.html">NEPNLEIGSGetRestart</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<a name="line700">700: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPNLEIGSSetLocking.html">NEPNLEIGSSetLocking</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line701">701: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPNLEIGSGetLocking.html">NEPNLEIGSGetLocking</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line702">702: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPNLEIGSSetInterpolation.html">NEPNLEIGSSetInterpolation</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line703">703: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPNLEIGSGetInterpolation.html">NEPNLEIGSGetInterpolation</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line704">704: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPNLEIGSSetRKShifts.html">NEPNLEIGSSetRKShifts</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>[])</font></strong>;
<a name="line705">705: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPNLEIGSGetRKShifts.html">NEPNLEIGSGetRKShifts</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>*[])</font></strong>;
<a name="line706">706: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPNLEIGSGetKSPs.html">NEPNLEIGSGetKSPs</a>(<a href="../manualpages/NEP/NEP.html">NEP</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="line707">707: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPNLEIGSSetFullBasis.html">NEPNLEIGSSetFullBasis</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line708">708: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPNLEIGSGetFullBasis.html">NEPNLEIGSGetFullBasis</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line709">709: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPNLEIGSSetEPS.html">NEPNLEIGSSetEPS</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/EPS/EPS.html">EPS</a>)</font></strong>;
<a name="line710">710: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/NEP/NEPNLEIGSGetEPS.html">NEPNLEIGSGetEPS</a>(<a href="../manualpages/NEP/NEP.html">NEP</a>,<a href="../manualpages/EPS/EPS.html">EPS</a>*)</font></strong>;
</pre>
</body>

</html>