File: slepcds.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 (395 lines) | stat: -rw-r--r-- 66,403 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
<center><a href="https://gitlab.com/slepc/slepc/-/blob/bbccb785e5ebe6829936989c71776839602f087b/include/slepcds.h">Actual source code: slepcds.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 the direct solver object in SLEPc</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/slepcsc.h.html">&lt;slepcsc.h&gt;</A>
<a name="line17"> 17: </a>#include <A href="../include/slepcfn.h.html">&lt;slepcfn.h&gt;</A>
<a name="line18"> 18: </a>#include <A href="../include/slepcrg.h.html">&lt;slepcrg.h&gt;</A>

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

<a name="line22"> 22: </a><strong><font color="#228B22">#define DS_MAX_SOLVE 6</font></strong>

<a name="line24"> 24: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSInitializePackage.html">DSInitializePackage</a>(void)</font></strong>;
<a name="line25"> 25: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSFinalizePackage.html">DSFinalizePackage</a>(void)</font></strong>;

<a name="line27"> 27: </a><font color="#B22222">/*S</font>
<a name="line28"> 28: </a><font color="#B22222">   <a href="../manualpages/DS/DS.html">DS</a> - Direct solver (or dense system), to represent low-dimensional</font>
<a name="line29"> 29: </a><font color="#B22222">   eigenproblems that must be solved within iterative solvers. This is an</font>
<a name="line30"> 30: </a><font color="#B22222">   auxiliary object and is not normally needed by application programmers.</font>

<a name="line32"> 32: </a><font color="#B22222">   Level: beginner</font>

<a name="line34"> 34: </a><font color="#B22222">.seealso: [](sec:ds), `<a href="../manualpages/DS/DSCreate.html">DSCreate</a>()`</font>
<a name="line35"> 35: </a><font color="#B22222">S*/</font>
<a name="line36"> 36: </a><font color="#4169E1">typedef struct _p_DS* <a href="../manualpages/DS/DS.html">DS</a>;</font>

<a name="line38"> 38: </a><font color="#B22222">/*J</font>
<a name="line39"> 39: </a><font color="#B22222">   <a href="../manualpages/DS/DSType.html">DSType</a> - String with the name of the type of direct solver. Roughly,</font>
<a name="line40"> 40: </a><font color="#B22222">   there are as many types as problem types are available within SLEPc.</font>

<a name="line42"> 42: </a><font color="#B22222">   Level: beginner</font>

<a name="line44"> 44: </a><font color="#B22222">.seealso: [](sec:ds), `<a href="../manualpages/DS/DSSetType.html">DSSetType</a>()`, `<a href="../manualpages/DS/DS.html">DS</a>`</font>
<a name="line45"> 45: </a><font color="#B22222">J*/</font>
<a name="line46"> 46: </a><font color="#4169E1">typedef const char *<a href="../manualpages/DS/DSType.html">DSType</a>;</font>
<a name="line47"> 47: </a><strong><font color="#228B22">#define <a href="../manualpages/DS/DSHEP.html">DSHEP</a>    </font><font color="#666666">"hep"</font><font color="#228B22"></font></strong>
<a name="line48"> 48: </a><strong><font color="#228B22">#define <a href="../manualpages/DS/DSNHEP.html">DSNHEP</a>   </font><font color="#666666">"nhep"</font><font color="#228B22"></font></strong>
<a name="line49"> 49: </a><strong><font color="#228B22">#define <a href="../manualpages/DS/DSGHEP.html">DSGHEP</a>   </font><font color="#666666">"ghep"</font><font color="#228B22"></font></strong>
<a name="line50"> 50: </a><strong><font color="#228B22">#define <a href="../manualpages/DS/DSGHIEP.html">DSGHIEP</a>  </font><font color="#666666">"ghiep"</font><font color="#228B22"></font></strong>
<a name="line51"> 51: </a><strong><font color="#228B22">#define <a href="../manualpages/DS/DSGNHEP.html">DSGNHEP</a>  </font><font color="#666666">"gnhep"</font><font color="#228B22"></font></strong>
<a name="line52"> 52: </a><strong><font color="#228B22">#define <a href="../manualpages/DS/DSNHEPTS.html">DSNHEPTS</a> </font><font color="#666666">"nhepts"</font><font color="#228B22"></font></strong>
<a name="line53"> 53: </a><strong><font color="#228B22">#define <a href="../manualpages/DS/DSSVD.html">DSSVD</a>    </font><font color="#666666">"svd"</font><font color="#228B22"></font></strong>
<a name="line54"> 54: </a><strong><font color="#228B22">#define <a href="../manualpages/DS/DSHSVD.html">DSHSVD</a>   </font><font color="#666666">"hsvd"</font><font color="#228B22"></font></strong>
<a name="line55"> 55: </a><strong><font color="#228B22">#define <a href="../manualpages/DS/DSGSVD.html">DSGSVD</a>   </font><font color="#666666">"gsvd"</font><font color="#228B22"></font></strong>
<a name="line56"> 56: </a><strong><font color="#228B22">#define <a href="../manualpages/DS/DSPEP.html">DSPEP</a>    </font><font color="#666666">"pep"</font><font color="#228B22"></font></strong>
<a name="line57"> 57: </a><strong><font color="#228B22">#define <a href="../manualpages/DS/DSNEP.html">DSNEP</a>    </font><font color="#666666">"nep"</font><font color="#228B22"></font></strong>

<a name="line59"> 59: </a><font color="#B22222">/* Logging support */</font>
<a name="line60"> 60: </a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscClassId/">PetscClassId</a> DS_CLASSID;

<a name="line62"> 62: </a><font color="#B22222">/*E</font>
<a name="line63"> 63: </a><font color="#B22222">   <a href="../manualpages/DS/DSStateType.html">DSStateType</a> - Indicates in which state the direct solver is.</font>

<a name="line65"> 65: </a><font color="#B22222">   Values:</font>
<a name="line66"> 66: </a><font color="#B22222">+  `<a href="../manualpages/DS/DS_STATE_RAW.html">DS_STATE_RAW</a>`          - initial state, the matrices have not been modified yet</font>
<a name="line67"> 67: </a><font color="#B22222">.  `<a href="../manualpages/DS/DS_STATE_INTERMEDIATE.html">DS_STATE_INTERMEDIATE</a>` - matrices have been reduced to intermediate form</font>
<a name="line68"> 68: </a><font color="#B22222">.  `<a href="../manualpages/DS/DS_STATE_CONDENSED.html">DS_STATE_CONDENSED</a>`    - problem solved, matrices in condensed form</font>
<a name="line69"> 69: </a><font color="#B22222">-  `<a href="../manualpages/DS/DS_STATE_TRUNCATED.html">DS_STATE_TRUNCATED</a>`    - problem solved and in addition the dimension has been truncated</font>

<a name="line71"> 71: </a><font color="#B22222">   Level: advanced</font>

<a name="line73"> 73: </a><font color="#B22222">.seealso: [](sec:ds), `<a href="../manualpages/DS/DSSetState.html">DSSetState</a>()`</font>
<a name="line74"> 74: </a><font color="#B22222">E*/</font>
<a name="line75"> 75: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/DS/DS_STATE_RAW.html">DS_STATE_RAW</a>,
<a name="line76"> 76: </a>               <a href="../manualpages/DS/DS_STATE_INTERMEDIATE.html">DS_STATE_INTERMEDIATE</a>,
<a name="line77"> 77: </a>               <a href="../manualpages/DS/DS_STATE_CONDENSED.html">DS_STATE_CONDENSED</a>,
<a name="line78"> 78: </a>               <a href="../manualpages/DS/DS_STATE_TRUNCATED.html">DS_STATE_TRUNCATED</a> } <a href="../manualpages/DS/DSStateType.html">DSStateType</a>;
<a name="line79"> 79: </a>SLEPC_EXTERN const char *DSStateTypes[];

<a name="line81"> 81: </a><font color="#B22222">/*MC</font>
<a name="line82"> 82: </a><font color="#B22222">   <a href="../manualpages/DS/DS_STATE_RAW.html">DS_STATE_RAW</a> - The `<a href="../manualpages/DS/DS.html">DS</a>` object is in the initial state, where the matrices</font>
<a name="line83"> 83: </a><font color="#B22222">   have not been modified yet, and have no particular structure.</font>

<a name="line85"> 85: </a><font color="#B22222">   Level: advanced</font>

<a name="line87"> 87: </a><font color="#B22222">.seealso: [](sec:ds), `<a href="../manualpages/DS/DSStateType.html">DSStateType</a>`, `<a href="../manualpages/DS/DSSetState.html">DSSetState</a>()`, `<a href="../manualpages/DS/DS_STATE_INTERMEDIATE.html">DS_STATE_INTERMEDIATE</a>`, `<a href="../manualpages/DS/DS_STATE_CONDENSED.html">DS_STATE_CONDENSED</a>`, `<a href="../manualpages/DS/DS_STATE_TRUNCATED.html">DS_STATE_TRUNCATED</a>`</font>
<a name="line88"> 88: </a><font color="#B22222">M*/</font>

<a name="line90"> 90: </a><font color="#B22222">/*MC</font>
<a name="line91"> 91: </a><font color="#B22222">   <a href="../manualpages/DS/DS_STATE_INTERMEDIATE.html">DS_STATE_INTERMEDIATE</a> - The `<a href="../manualpages/DS/DS.html">DS</a>` object is a intermediate state, where the</font>
<a name="line92"> 92: </a><font color="#B22222">   matrices have been reduced to an intermediate form, but the solve is not</font>
<a name="line93"> 93: </a><font color="#B22222">   finished completely.</font>

<a name="line95"> 95: </a><font color="#B22222">   Note:</font>
<a name="line96"> 96: </a><font color="#B22222">   In some cases the solve starts at the intermediate stage, e.g., in Lanczos</font>
<a name="line97"> 97: </a><font color="#B22222">   methods the projected matrix is already in tridiagonal form.</font>

<a name="line99"> 99: </a><font color="#B22222">   Level: advanced</font>

<a name="line101">101: </a><font color="#B22222">.seealso: [](sec:ds), `<a href="../manualpages/DS/DSStateType.html">DSStateType</a>`, `<a href="../manualpages/DS/DSSetState.html">DSSetState</a>()`, `<a href="../manualpages/DS/DS_STATE_RAW.html">DS_STATE_RAW</a>`, `<a href="../manualpages/DS/DS_STATE_CONDENSED.html">DS_STATE_CONDENSED</a>`, `<a href="../manualpages/DS/DS_STATE_TRUNCATED.html">DS_STATE_TRUNCATED</a>`</font>
<a name="line102">102: </a><font color="#B22222">M*/</font>

<a name="line104">104: </a><font color="#B22222">/*MC</font>
<a name="line105">105: </a><font color="#B22222">   <a href="../manualpages/DS/DS_STATE_CONDENSED.html">DS_STATE_CONDENSED</a> - The `<a href="../manualpages/DS/DS.html">DS</a>` object is in a state where the problem has</font>
<a name="line106">106: </a><font color="#B22222">   been solved, and matrices have been reduced to condensed form.</font>

<a name="line108">108: </a><font color="#B22222">   Note:</font>
<a name="line109">109: </a><font color="#B22222">   This state is reached after a call to `<a href="../manualpages/DS/DSSolve.html">DSSolve</a>()`.</font>

<a name="line111">111: </a><font color="#B22222">   Level: advanced</font>

<a name="line113">113: </a><font color="#B22222">.seealso: [](sec:ds), `<a href="../manualpages/DS/DSStateType.html">DSStateType</a>`, `<a href="../manualpages/DS/DSSetState.html">DSSetState</a>()`, `<a href="../manualpages/DS/DS_STATE_RAW.html">DS_STATE_RAW</a>`, `<a href="../manualpages/DS/DS_STATE_INTERMEDIATE.html">DS_STATE_INTERMEDIATE</a>`, `<a href="../manualpages/DS/DS_STATE_TRUNCATED.html">DS_STATE_TRUNCATED</a>`</font>
<a name="line114">114: </a><font color="#B22222">M*/</font>

<a name="line116">116: </a><font color="#B22222">/*MC</font>
<a name="line117">117: </a><font color="#B22222">   <a href="../manualpages/DS/DS_STATE_TRUNCATED.html">DS_STATE_TRUNCATED</a> - The `<a href="../manualpages/DS/DS.html">DS</a>` object is in a state where the problem is</font>
<a name="line118">118: </a><font color="#B22222">   solved and in addition the dimension has been truncated.</font>

<a name="line120">120: </a><font color="#B22222">   Note:</font>
<a name="line121">121: </a><font color="#B22222">   This state is reached after a call to `<a href="../manualpages/DS/DSTruncate.html">DSTruncate</a>()`. The truncated size</font>
<a name="line122">122: </a><font color="#B22222">   can be obtained with `<a href="../manualpages/DS/DSGetDimensions.html">DSGetDimensions</a>()`.</font>

<a name="line124">124: </a><font color="#B22222">   Level: advanced</font>

<a name="line126">126: </a><font color="#B22222">.seealso: [](sec:ds), `<a href="../manualpages/DS/DSStateType.html">DSStateType</a>`, `<a href="../manualpages/DS/DSSetState.html">DSSetState</a>()`, `<a href="../manualpages/DS/DSTruncate.html">DSTruncate</a>()`, `<a href="../manualpages/DS/DSGetDimensions.html">DSGetDimensions</a>()`, `<a href="../manualpages/DS/DS_STATE_RAW.html">DS_STATE_RAW</a>`, `<a href="../manualpages/DS/DS_STATE_INTERMEDIATE.html">DS_STATE_INTERMEDIATE</a>`, `<a href="../manualpages/DS/DS_STATE_CONDENSED.html">DS_STATE_CONDENSED</a>`</font>
<a name="line127">127: </a><font color="#B22222">M*/</font>

<a name="line129">129: </a><font color="#B22222">/*E</font>
<a name="line130">130: </a><font color="#B22222">   <a href="../manualpages/DS/DSMatType.html">DSMatType</a> - Used to refer to one of the matrices stored internally in `<a href="../manualpages/DS/DS.html">DS</a>`.</font>

<a name="line132">132: </a><font color="#B22222">   Values:</font>
<a name="line133">133: </a><font color="#B22222">+  `<a href="../manualpages/DS/DSMatType.html">DS_MAT_A</a>` - first matrix of eigenproblem/singular value problem</font>
<a name="line134">134: </a><font color="#B22222">.  `<a href="../manualpages/DS/DSMatType.html">DS_MAT_B</a>` - second matrix of a generalized eigenproblem</font>
<a name="line135">135: </a><font color="#B22222">.  `<a href="../manualpages/DS/DSMatType.html">DS_MAT_C</a>` - third matrix of a quadratic eigenproblem (deprecated)</font>
<a name="line136">136: </a><font color="#B22222">.  `<a href="../manualpages/DS/DSMatType.html">DS_MAT_T</a>` - tridiagonal matrix</font>
<a name="line137">137: </a><font color="#B22222">.  `<a href="../manualpages/DS/DSMatType.html">DS_MAT_D</a>` - diagonal matrix</font>
<a name="line138">138: </a><font color="#B22222">.  `<a href="../manualpages/DS/DSMatType.html">DS_MAT_Q</a>` - orthogonal matrix of (right) Schur vectors</font>
<a name="line139">139: </a><font color="#B22222">.  `<a href="../manualpages/DS/DSMatType.html">DS_MAT_Z</a>` - orthogonal matrix of left Schur vectors</font>
<a name="line140">140: </a><font color="#B22222">.  `<a href="../manualpages/DS/DSMatType.html">DS_MAT_X</a>` - right eigenvectors</font>
<a name="line141">141: </a><font color="#B22222">.  `<a href="../manualpages/DS/DSMatType.html">DS_MAT_Y</a>` - left eigenvectors</font>
<a name="line142">142: </a><font color="#B22222">.  `<a href="../manualpages/DS/DSMatType.html">DS_MAT_U</a>` - left singular vectors</font>
<a name="line143">143: </a><font color="#B22222">.  `<a href="../manualpages/DS/DSMatType.html">DS_MAT_V</a>` - right singular vectors</font>
<a name="line144">144: </a><font color="#B22222">.  `<a href="../manualpages/DS/DSMatType.html">DS_MAT_W</a>` - workspace matrix</font>
<a name="line145">145: </a><font color="#B22222">-  `<a href="../manualpages/DS/DSMatType.html">DS_MAT_E0</a>` to `<a href="../manualpages/DS/DSMatType.html">DS_MAT_E9</a>` - extra matrices, used in `<a href="../manualpages/DS/DSPEP.html">DSPEP</a>` and `<a href="../manualpages/DS/DSNEP.html">DSNEP</a>`</font>

<a name="line147">147: </a><font color="#B22222">   Notes:</font>
<a name="line148">148: </a><font color="#B22222">   The matrices preferentially refer to the description above, but they</font>
<a name="line149">149: </a><font color="#B22222">   may be used for a different purpose depending on the `<a href="../manualpages/DS/DSType.html">DSType</a>`.</font>

<a name="line151">151: </a><font color="#B22222">   All matrices can have space to hold `ld x ld` elements, except for</font>
<a name="line152">152: </a><font color="#B22222">   `<a href="../manualpages/DS/DSMatType.html">DS_MAT_T</a>` that has space for `3 x ld` elements (`ld` = leading dimension)</font>
<a name="line153">153: </a><font color="#B22222">   and `<a href="../manualpages/DS/DSMatType.html">DS_MAT_D</a>` that has space for just `ld` elements.</font>

<a name="line155">155: </a><font color="#B22222">   In `<a href="../manualpages/DS/DSPEP.html">DSPEP</a>` problems, matrices `A`, `B`, `W` can have space for `d*ld x d*ld`,</font>
<a name="line156">156: </a><font color="#B22222">   where `d` is the polynomial degree, and `X` can have `ld x d*ld`.</font>
<a name="line157">157: </a><font color="#B22222">   Also `<a href="../manualpages/DS/DSNEP.html">DSNEP</a>` has exceptions. Check the manual page of each `<a href="../manualpages/DS/DS.html">DS</a>` type</font>
<a name="line158">158: </a><font color="#B22222">   for details.</font>

<a name="line160">160: </a><font color="#B22222">   Level: advanced</font>

<a name="line162">162: </a><font color="#B22222">.seealso: [](sec:ds), `<a href="../manualpages/DS/DSAllocate.html">DSAllocate</a>()`, `<a href="../manualpages/DS/DSGetArray.html">DSGetArray</a>()`, `<a href="../manualpages/DS/DSGetArrayReal.html">DSGetArrayReal</a>()`, `<a href="../manualpages/DS/DSVectors.html">DSVectors</a>()`, `<a href="../manualpages/DS/DSGetLeadingDimension.html">DSGetLeadingDimension</a>()`</font>
<a name="line163">163: </a><font color="#B22222">E*/</font>
<a name="line164">164: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/DS/DSMatType.html">DS_MAT_A</a>,
<a name="line165">165: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_B</a>,
<a name="line166">166: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_C</a>,
<a name="line167">167: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_T</a>,
<a name="line168">168: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_D</a>,
<a name="line169">169: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_Q</a>,
<a name="line170">170: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_Z</a>,
<a name="line171">171: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_X</a>,
<a name="line172">172: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_Y</a>,
<a name="line173">173: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_U</a>,
<a name="line174">174: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_V</a>,
<a name="line175">175: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_W</a>,
<a name="line176">176: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_E0</a>,
<a name="line177">177: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_E1</a>,
<a name="line178">178: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_E2</a>,
<a name="line179">179: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_E3</a>,
<a name="line180">180: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_E4</a>,
<a name="line181">181: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_E5</a>,
<a name="line182">182: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_E6</a>,
<a name="line183">183: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_E7</a>,
<a name="line184">184: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_E8</a>,
<a name="line185">185: </a>               <a href="../manualpages/DS/DSMatType.html">DS_MAT_E9</a>,
<a name="line186">186: </a>               <a href="../manualpages/DS/DSMatType.html">DS_NUM_MAT</a> } <a href="../manualpages/DS/DSMatType.html">DSMatType</a>;

<a name="line188">188: </a><font color="#B22222">/* Convenience for indexing extra matrices */</font>
<a name="line189">189: </a>SLEPC_EXTERN <a href="../manualpages/DS/DSMatType.html">DSMatType</a> DSMatExtra[];
<a name="line190">190: </a><strong><font color="#228B22">#define DS_NUM_EXTRA  10</font></strong>

<a name="line192">192: </a><font color="#B22222">/*E</font>
<a name="line193">193: </a><font color="#B22222">   <a href="../manualpages/DS/DSParallelType.html">DSParallelType</a> - Indicates the parallel mode that the direct solver will use.</font>

<a name="line195">195: </a><font color="#B22222">   Values:</font>
<a name="line196">196: </a><font color="#B22222">+  `<a href="../manualpages/DS/DS_PARALLEL_REDUNDANT.html">DS_PARALLEL_REDUNDANT</a>`    - redundant computation</font>
<a name="line197">197: </a><font color="#B22222">.  `<a href="../manualpages/DS/DS_PARALLEL_SYNCHRONIZED.html">DS_PARALLEL_SYNCHRONIZED</a>` - only one process computes the solution</font>
<a name="line198">198: </a><font color="#B22222">-  `<a href="../manualpages/DS/DS_PARALLEL_DISTRIBUTED.html">DS_PARALLEL_DISTRIBUTED</a>`  - all processes participate in the solution</font>

<a name="line200">200: </a><font color="#B22222">   Level: advanced</font>

<a name="line202">202: </a><font color="#B22222">.seealso: [](sec:ds), `<a href="../manualpages/DS/DSSetParallel.html">DSSetParallel</a>()`</font>
<a name="line203">203: </a><font color="#B22222">E*/</font>
<a name="line204">204: </a><font color="#4169E1">typedef</font> <font color="#4169E1">enum</font> { <a href="../manualpages/DS/DS_PARALLEL_REDUNDANT.html">DS_PARALLEL_REDUNDANT</a>,
<a name="line205">205: </a>               <a href="../manualpages/DS/DS_PARALLEL_SYNCHRONIZED.html">DS_PARALLEL_SYNCHRONIZED</a>,
<a name="line206">206: </a>               <a href="../manualpages/DS/DS_PARALLEL_DISTRIBUTED.html">DS_PARALLEL_DISTRIBUTED</a> } <a href="../manualpages/DS/DSParallelType.html">DSParallelType</a>;
<a name="line207">207: </a>SLEPC_EXTERN const char *DSParallelTypes[];

<a name="line209">209: </a><font color="#B22222">/*MC</font>
<a name="line210">210: </a><font color="#B22222">   <a href="../manualpages/DS/DS_PARALLEL_REDUNDANT.html">DS_PARALLEL_REDUNDANT</a> - In this parallel mode, all processes will do</font>
<a name="line211">211: </a><font color="#B22222">   the computation redundantly, starting from the same data, and producing</font>
<a name="line212">212: </a><font color="#B22222">   the same result.</font>

<a name="line214">214: </a><font color="#B22222">   Note:</font>
<a name="line215">215: </a><font color="#B22222">   The result may be slightly different in the different processes if using a</font>
<a name="line216">216: </a><font color="#B22222">   multithreaded BLAS library, which may cause issues in ill-conditioned problems.</font>

<a name="line218">218: </a><font color="#B22222">   Level: advanced</font>

<a name="line220">220: </a><font color="#B22222">.seealso: [](sec:ds), `<a href="../manualpages/DS/DSParallelType.html">DSParallelType</a>`, `<a href="../manualpages/DS/DSSetParallel.html">DSSetParallel</a>()`, `<a href="../manualpages/DS/DS_PARALLEL_SYNCHRONIZED.html">DS_PARALLEL_SYNCHRONIZED</a>`, `<a href="../manualpages/DS/DS_PARALLEL_DISTRIBUTED.html">DS_PARALLEL_DISTRIBUTED</a>`</font>
<a name="line221">221: </a><font color="#B22222">M*/</font>

<a name="line223">223: </a><font color="#B22222">/*MC</font>
<a name="line224">224: </a><font color="#B22222">   <a href="../manualpages/DS/DS_PARALLEL_SYNCHRONIZED.html">DS_PARALLEL_SYNCHRONIZED</a> - In this parallel mode, only the first MPI process</font>
<a name="line225">225: </a><font color="#B22222">   performs the computation and then the computed quantities are broadcast to the</font>
<a name="line226">226: </a><font color="#B22222">   other processes in the communicator.</font>

<a name="line228">228: </a><font color="#B22222">   Note:</font>
<a name="line229">229: </a><font color="#B22222">   The communication is not done automatically, an explicit call to `<a href="../manualpages/DS/DSSynchronize.html">DSSynchronize</a>()`</font>
<a name="line230">230: </a><font color="#B22222">   is required.</font>

<a name="line232">232: </a><font color="#B22222">   Level: advanced</font>

<a name="line234">234: </a><font color="#B22222">.seealso: [](sec:ds), `<a href="../manualpages/DS/DSParallelType.html">DSParallelType</a>`, `<a href="../manualpages/DS/DSSetParallel.html">DSSetParallel</a>()`, `<a href="../manualpages/DS/DSSynchronize.html">DSSynchronize</a>()`, `<a href="../manualpages/DS/DS_PARALLEL_REDUNDANT.html">DS_PARALLEL_REDUNDANT</a>`, `<a href="../manualpages/DS/DS_PARALLEL_DISTRIBUTED.html">DS_PARALLEL_DISTRIBUTED</a>`</font>
<a name="line235">235: </a><font color="#B22222">M*/</font>

<a name="line237">237: </a><font color="#B22222">/*MC</font>
<a name="line238">238: </a><font color="#B22222">   <a href="../manualpages/DS/DS_PARALLEL_DISTRIBUTED.html">DS_PARALLEL_DISTRIBUTED</a> - In this parallel mode, every MPI process will be</font>
<a name="line239">239: </a><font color="#B22222">   in charge of part of the computation.</font>

<a name="line241">241: </a><font color="#B22222">   Note:</font>
<a name="line242">242: </a><font color="#B22222">   This parallel mode can be used in some `<a href="../manualpages/DS/DS.html">DS</a>` types only, such as the contour</font>
<a name="line243">243: </a><font color="#B22222">   integral method of `<a href="../manualpages/DS/DSNEP.html">DSNEP</a>`.</font>

<a name="line245">245: </a><font color="#B22222">   Level: advanced</font>

<a name="line247">247: </a><font color="#B22222">.seealso: [](sec:ds), `<a href="../manualpages/DS/DSParallelType.html">DSParallelType</a>`, `<a href="../manualpages/DS/DSSetParallel.html">DSSetParallel</a>()`, `<a href="../manualpages/DS/DS_PARALLEL_REDUNDANT.html">DS_PARALLEL_REDUNDANT</a>`, `<a href="../manualpages/DS/DS_PARALLEL_SYNCHRONIZED.html">DS_PARALLEL_SYNCHRONIZED</a>`</font>
<a name="line248">248: </a><font color="#B22222">M*/</font>

<a name="line250">250: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSCreate.html">DSCreate</a>(<a href="https://petsc.org/release/manualpages/Sys/MPI_Comm/">MPI_Comm</a>,<a href="../manualpages/DS/DS.html">DS</a>*)</font></strong>;
<a name="line251">251: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSSetType.html">DSSetType</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSType.html">DSType</a>)</font></strong>;
<a name="line252">252: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSGetType.html">DSGetType</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSType.html">DSType</a>*)</font></strong>;
<a name="line253">253: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSSetOptionsPrefix.html">DSSetOptionsPrefix</a>(<a href="../manualpages/DS/DS.html">DS</a>,const char[])</font></strong>;
<a name="line254">254: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSAppendOptionsPrefix.html">DSAppendOptionsPrefix</a>(<a href="../manualpages/DS/DS.html">DS</a>,const char[])</font></strong>;
<a name="line255">255: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSGetOptionsPrefix.html">DSGetOptionsPrefix</a>(<a href="../manualpages/DS/DS.html">DS</a>,const char*[])</font></strong>;
<a name="line256">256: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSSetFromOptions.html">DSSetFromOptions</a>(<a href="../manualpages/DS/DS.html">DS</a>)</font></strong>;
<a name="line257">257: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSView.html">DSView</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a>)</font></strong>;
<a name="line258">258: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSViewFromOptions.html">DSViewFromOptions</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscObject/">PetscObject</a>,const char[])</font></strong>;
<a name="line259">259: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSViewMat.html">DSViewMat</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Viewer/PetscViewer/">PetscViewer</a>,<a href="../manualpages/DS/DSMatType.html">DSMatType</a>)</font></strong>;
<a name="line260">260: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSDestroy.html">DSDestroy</a>(<a href="../manualpages/DS/DS.html">DS</a>*)</font></strong>;
<a name="line261">261: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSReset.html">DSReset</a>(<a href="../manualpages/DS/DS.html">DS</a>)</font></strong>;
<a name="line262">262: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSDuplicate.html">DSDuplicate</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DS.html">DS</a>*)</font></strong>;

<a name="line264">264: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSAllocate.html">DSAllocate</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line265">265: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSReallocate.html">DSReallocate</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line266">266: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSGetLeadingDimension.html">DSGetLeadingDimension</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line267">267: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSSetState.html">DSSetState</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSStateType.html">DSStateType</a>)</font></strong>;
<a name="line268">268: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSGetState.html">DSGetState</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSStateType.html">DSStateType</a>*)</font></strong>;
<a name="line269">269: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSSetDimensions.html">DSSetDimensions</a>(<a href="../manualpages/DS/DS.html">DS</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="line270">270: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSGetDimensions.html">DSGetDimensions</a>(<a href="../manualpages/DS/DS.html">DS</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>*)</font></strong>;
<a name="line271">271: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSSetBlockSize.html">DSSetBlockSize</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line272">272: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSGetBlockSize.html">DSGetBlockSize</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line273">273: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSGetTruncateSize.html">DSGetTruncateSize</a>(<a href="../manualpages/DS/DS.html">DS</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="line274">274: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSTruncate.html">DSTruncate</a>(<a href="../manualpages/DS/DS.html">DS</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="line275">275: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSSetIdentity.html">DSSetIdentity</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSMatType.html">DSMatType</a>)</font></strong>;
<a name="line276">276: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSSetMethod.html">DSSetMethod</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line277">277: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSGetMethod.html">DSGetMethod</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line278">278: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSSetParallel.html">DSSetParallel</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSParallelType.html">DSParallelType</a>)</font></strong>;
<a name="line279">279: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSGetParallel.html">DSGetParallel</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSParallelType.html">DSParallelType</a>*)</font></strong>;
<a name="line280">280: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSSetCompact.html">DSSetCompact</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line281">281: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSGetCompact.html">DSGetCompact</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line282">282: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSSetExtraRow.html">DSSetExtraRow</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line283">283: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSGetExtraRow.html">DSGetExtraRow</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line284">284: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSSetRefined.html">DSSetRefined</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>)</font></strong>;
<a name="line285">285: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSGetRefined.html">DSGetRefined</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line286">286: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSGetMat.html">DSGetMat</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSMatType.html">DSMatType</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>*)</font></strong>;
<a name="line287">287: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSRestoreMat.html">DSRestoreMat</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSMatType.html">DSMatType</a>,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a>*)</font></strong>;
<a name="line288">288: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSGetMatAndColumn.html">DSGetMatAndColumn</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSMatType.html">DSMatType</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/Vec/Vec/">Vec</a>*)</font></strong>;
<a name="line289">289: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSRestoreMatAndColumn.html">DSRestoreMatAndColumn</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSMatType.html">DSMatType</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/Vec/Vec/">Vec</a>*)</font></strong>;
<a name="line290">290: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSGetArray.html">DSGetArray</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSMatType.html">DSMatType</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>*[])</font></strong>;
<a name="line291">291: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSRestoreArray.html">DSRestoreArray</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSMatType.html">DSMatType</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>*[])</font></strong>;
<a name="line292">292: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSGetArrayReal.html">DSGetArrayReal</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSMatType.html">DSMatType</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*[])</font></strong>;
<a name="line293">293: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSRestoreArrayReal.html">DSRestoreArrayReal</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSMatType.html">DSMatType</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*[])</font></strong>;
<a name="line294">294: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSVectors.html">DSVectors</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSMatType.html">DSMatType</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="line295">295: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSSolve.html">DSSolve</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>[],<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>[])</font></strong>;
<a name="line296">296: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSSort.html">DSSort</a>(<a href="../manualpages/DS/DS.html">DS</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/PetscScalar/">PetscScalar</a>[],<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>[],<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line297">297: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSSortWithPermutation.html">DSSortWithPermutation</a>(<a href="../manualpages/DS/DS.html">DS</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>[])</font></strong>;
<a name="line298">298: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSSynchronize.html">DSSynchronize</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>[],<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>[])</font></strong>;
<a name="line299">299: </a>PETSC_DEPRECATED_FUNCTION(3, 18, 0, <font color="#666666">"<a href="../manualpages/DS/DSGetMat.html">DSGetMat</a>()+<a href="https://petsc.org/release/manualpages/Mat/MatDenseGetSubMatrix/">MatDenseGetSubMatrix</a>()+<a href="https://petsc.org/release/manualpages/Mat/MatCopy/">MatCopy</a>()"</font>, ) static inline <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> DSCopyMat(<a href="../manualpages/DS/DS.html">DS</a> ds,<a href="../manualpages/DS/DSMatType.html">DSMatType</a> m,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> mr,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> mc,<a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a> A,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> Ar,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> Ac,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> rows,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a> cols,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a> out)
<a name="line300">300: </a>{
<a name="line301">301: </a>  <a href="https://petsc.org/release/manualpages/Mat/Mat/">Mat</a> M,M0,A0;

<a name="line303">303: </a>  <a href="https://petsc.org/release/manualpages/Sys/PetscFunctionBegin/">PetscFunctionBegin</a>;
<a name="line304">304: </a>  <a href="https://petsc.org/release/manualpages/Sys/PetscCall/">PetscCall</a>(<a href="../manualpages/DS/DSGetMat.html">DSGetMat</a>(ds,m,&amp;M));
<a name="line305">305: </a>  <a href="https://petsc.org/release/manualpages/Sys/PetscCall/">PetscCall</a>(<a href="https://petsc.org/release/manualpages/Mat/MatDenseGetSubMatrix/">MatDenseGetSubMatrix</a>(M,mr,mr+rows,mc,mc+cols,&amp;M0));
<a name="line306">306: </a>  <a href="https://petsc.org/release/manualpages/Sys/PetscCall/">PetscCall</a>(<a href="https://petsc.org/release/manualpages/Mat/MatDenseGetSubMatrix/">MatDenseGetSubMatrix</a>(A,Ar,Ar+rows,Ac,Ac+cols,&amp;A0));
<a name="line307">307: </a>  <font color="#4169E1">if</font> (out) <a href="https://petsc.org/release/manualpages/Sys/PetscCall/">PetscCall</a>(<a href="https://petsc.org/release/manualpages/Mat/MatCopy/">MatCopy</a>(M0,A0,SAME_NONZERO_PATTERN));
<a name="line308">308: </a>  <font color="#4169E1">else</font> <a href="https://petsc.org/release/manualpages/Sys/PetscCall/">PetscCall</a>(<a href="https://petsc.org/release/manualpages/Mat/MatCopy/">MatCopy</a>(A0,M0,SAME_NONZERO_PATTERN));
<a name="line309">309: </a>  <a href="https://petsc.org/release/manualpages/Sys/PetscCall/">PetscCall</a>(<a href="https://petsc.org/release/manualpages/Mat/MatDenseRestoreSubMatrix/">MatDenseRestoreSubMatrix</a>(M,&amp;M0));
<a name="line310">310: </a>  <a href="https://petsc.org/release/manualpages/Sys/PetscCall/">PetscCall</a>(<a href="https://petsc.org/release/manualpages/Mat/MatDenseRestoreSubMatrix/">MatDenseRestoreSubMatrix</a>(A,&amp;A0));
<a name="line311">311: </a>  <a href="https://petsc.org/release/manualpages/Sys/PetscCall/">PetscCall</a>(<a href="../manualpages/DS/DSRestoreMat.html">DSRestoreMat</a>(ds,m,&amp;M));
<a name="line312">312: </a>  <a href="https://petsc.org/release/manualpages/Sys/PetscFunctionReturn/">PetscFunctionReturn</a>(PETSC_SUCCESS);
<a name="line313">313: </a>}
<a name="line314">314: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSMatGetSize.html">DSMatGetSize</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSMatType.html">DSMatType</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="line315">315: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSMatIsHermitian.html">DSMatIsHermitian</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSMatType.html">DSMatType</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</font></strong>;
<a name="line316">316: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSSetSlepcSC.html">DSSetSlepcSC</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/Sys/SlepcSC.html">SlepcSC</a>)</font></strong>;
<a name="line317">317: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSGetSlepcSC.html">DSGetSlepcSC</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/Sys/SlepcSC.html">SlepcSC</a>*)</font></strong>;
<a name="line318">318: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSUpdateExtraRow.html">DSUpdateExtraRow</a>(<a href="../manualpages/DS/DS.html">DS</a>)</font></strong>;
<a name="line319">319: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSCond.html">DSCond</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<a name="line320">320: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSTranslateHarmonic.html">DSTranslateHarmonic</a>(<a href="../manualpages/DS/DS.html">DS</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/PetscBool/">PetscBool</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a>[],<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*)</font></strong>;
<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/DS/DSTranslateRKS.html">DSTranslateRKS</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</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/DS/DSOrthogonalize.html">DSOrthogonalize</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSMatType.html">DSMatType</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="line323">323: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSPseudoOrthogonalize.html">DSPseudoOrthogonalize</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSMatType.html">DSMatType</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="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>[])</font></strong>;

<a name="line325">325: </a><font color="#B22222">/* --------- options specific to particular solvers -------- */</font>

<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/DS/DSSVDSetDimensions.html">DSSVDSetDimensions</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</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/DS/DSSVDGetDimensions.html">DSSVDGetDimensions</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</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/DS/DSGSVDSetDimensions.html">DSGSVDSetDimensions</a>(<a href="../manualpages/DS/DS.html">DS</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="line330">330: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSGSVDGetDimensions.html">DSGSVDGetDimensions</a>(<a href="../manualpages/DS/DS.html">DS</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="line331">331: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSHSVDSetDimensions.html">DSHSVDSetDimensions</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</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/DS/DSHSVDGetDimensions.html">DSHSVDGetDimensions</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</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/DS/DSHSVDSetReorthogonalize.html">DSHSVDSetReorthogonalize</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</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/DS/DSHSVDGetReorthogonalize.html">DSHSVDGetReorthogonalize</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a>*)</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/DS/DSPEPSetDegree.html">DSPEPSetDegree</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</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/DS/DSPEPGetDegree.html">DSPEPGetDegree</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</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/DS/DSPEPSetCoefficients.html">DSPEPSetCoefficients</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</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/DS/DSPEPGetCoefficients.html">DSPEPGetCoefficients</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscReal/">PetscReal</a>*[])</font></strong>;

<a name="line341">341: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSNEPSetFN.html">DSNEPSetFN</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="../manualpages/FN/FN.html">FN</a>[])</font></strong>;
<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/DS/DSNEPGetFN.html">DSNEPGetFN</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>,<a href="../manualpages/FN/FN.html">FN</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/DS/DSNEPGetNumFN.html">DSNEPGetNumFN</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</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/DS/DSNEPSetMinimality.html">DSNEPSetMinimality</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</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/DS/DSNEPGetMinimality.html">DSNEPGetMinimality</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line346">346: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSNEPSetRefine.html">DSNEPSetRefine</a>(<a href="../manualpages/DS/DS.html">DS</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="line347">347: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSNEPGetRefine.html">DSNEPGetRefine</a>(<a href="../manualpages/DS/DS.html">DS</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="line348">348: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSNEPSetIntegrationPoints.html">DSNEPSetIntegrationPoints</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line349">349: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSNEPGetIntegrationPoints.html">DSNEPGetIntegrationPoints</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line350">350: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSNEPSetSamplingSize.html">DSNEPSetSamplingSize</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>)</font></strong>;
<a name="line351">351: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSNEPGetSamplingSize.html">DSNEPGetSamplingSize</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="https://petsc.org/release/manualpages/Sys/PetscInt/">PetscInt</a>*)</font></strong>;
<a name="line352">352: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSNEPSetRG.html">DSNEPSetRG</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/RG/RG.html">RG</a>)</font></strong>;
<a name="line353">353: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSNEPGetRG.html">DSNEPGetRG</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/RG/RG.html">RG</a>*)</font></strong>;

<a name="line355">355: </a><font color="#B22222">/*S</font>
<a name="line356">356: </a><font color="#B22222">   <a href="../manualpages/DS/DSNEPMatrixFunctionFn.html">DSNEPMatrixFunctionFn</a> - A prototype of a `<a href="../manualpages/DS/DSNEP.html">DSNEP</a>` compute matrix function that</font>
<a name="line357">357: </a><font color="#B22222">   would be passed to `<a href="../manualpages/DS/DSNEPSetComputeMatrixFunction.html">DSNEPSetComputeMatrixFunction</a>()`.</font>

<a name="line359">359: </a><font color="#B22222">   Calling Sequence:</font>
<a name="line360">360: </a><font color="#B22222">+  ds     - the direct solver object</font>
<a name="line361">361: </a><font color="#B22222">.  lambda - point where $T(\lambda)$ or $T'(\lambda)$ must be evaluated</font>
<a name="line362">362: </a><font color="#B22222">.  deriv  - if true compute $T'(\lambda)$, otherwise compute $T(\lambda)$</font>
<a name="line363">363: </a><font color="#B22222">.  mat    - the `<a href="../manualpages/DS/DS.html">DS</a>` matrix where the result must be stored</font>
<a name="line364">364: </a><font color="#B22222">-  ctx    - [optional] user-defined context for private data for the</font>
<a name="line365">365: </a><font color="#B22222">            matrix evaluation routine (may be `NULL`)</font>

<a name="line367">367: </a><font color="#B22222">   Level: developer</font>

<a name="line369">369: </a><font color="#B22222">.seealso: [](sec:ds), `<a href="../manualpages/DS/DSNEPSetComputeMatrixFunction.html">DSNEPSetComputeMatrixFunction</a>()`</font>
<a name="line370">370: </a><font color="#B22222">S*/</font>
<a name="line371">371: </a><strong><font color="#4169E1">PETSC_EXTERN_TYPEDEF typedef <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSNEPMatrixFunctionFn.html">DSNEPMatrixFunctionFn</a>(<a href="../manualpages/DS/DS.html">DS</a> ds,<a href="https://petsc.org/release/manualpages/Sys/PetscScalar/">PetscScalar</a> lambda,<a href="https://petsc.org/release/manualpages/Sys/PetscBool/">PetscBool</a> deriv,<a href="../manualpages/DS/DSMatType.html">DSMatType</a> mat,void *ctx)</font></strong>;

<a name="line373">373: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSNEPSetComputeMatrixFunction.html">DSNEPSetComputeMatrixFunction</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSNEPMatrixFunctionFn.html">DSNEPMatrixFunctionFn</a>*,void*)</font></strong>;
<a name="line374">374: </a><strong><font color="#4169E1">SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSNEPGetComputeMatrixFunction.html">DSNEPGetComputeMatrixFunction</a>(<a href="../manualpages/DS/DS.html">DS</a>,<a href="../manualpages/DS/DSNEPMatrixFunctionFn.html">DSNEPMatrixFunctionFn</a>**,void*)</font></strong>;

<a name="line376">376: </a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscFunctionList/">PetscFunctionList</a> DSList;
<a name="line377">377: </a><strong><font color="#4169E1"><a name="DSRegister"></a>SLEPC_EXTERN <a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a> <a href="../manualpages/DS/DSRegister.html">DSRegister</a>(const char[],<a href="https://petsc.org/release/manualpages/Sys/PetscErrorCode/">PetscErrorCode</a>(*)(<a href="../manualpages/DS/DS.html">DS</a>)</font></strong>);
</pre>
</body>

</html>