File: slepcvec.h.html

package info (click to toggle)
slepc 3.14.2%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 31,976 kB
  • sloc: ansic: 102,426; python: 3,151; makefile: 2,969; f90: 1,607; fortran: 1,525; sh: 250; cpp: 189
file content (54 lines) | stat: -rw-r--r-- 5,380 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
<center><a href="slepcvec.h">Actual source code: slepcvec.h</a></center><br>

<html>
<head> <link rel="canonical" href="https://slepc.upv.es/documentation/current/include/slepcvec.h.html" />
<title></title>
<meta name="generator" content="c2html 0.9.4">
<meta name="date" content="2021-02-01T14:42:23+00:00">
</head>

<body bgcolor="#FFFFFF">
   <div id="version" align=right><b>slepc-3.14.2 2021-02-01</b></div>
   <div id="bugreport" align=right><a href="mailto:slepc-maint@upv.es?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: slepc-3.14.2 v3.14.2 include/slepcvec.h.html "><small>Report Typos and Errors</small></a></div>
<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-2020, 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 various vector operations added in SLEPc</font>
<a name="line12"> 12: </a><font color="#B22222">*/</font>

<a name="line14"> 14: </a><font color="#A020F0">#if !defined(SLEPCVEC_H)</font>
<a name="line15"> 15: </a><strong><font color="#228B22">#define SLEPCVEC_H</font></strong>
<a name="line16"> 16: </a>#include <A href="slepcsys.h.html">&lt;slepcsys.h&gt;</A>

<a name="line18"> 18: </a><font color="#B22222">/* VecComp: Vec composed of several smaller Vecs */</font>
<a name="line19"> 19: </a><strong><font color="#228B22">#define VECCOMP  </font><font color="#666666">"comp"</font><font color="#228B22"></font></strong>

<a name="line21"> 21: </a><strong><font color="#4169E1">SLEPC_EXTERN PetscErrorCode <a href="../docs/manualpages/sys/VecCreateComp.html#VecCreateComp">VecCreateComp</a>(MPI_Comm,PetscInt*,PetscInt,VecType,Vec,Vec*)</font></strong>;
<a name="line22"> 22: </a><strong><font color="#4169E1">SLEPC_EXTERN PetscErrorCode <a href="../docs/manualpages/sys/VecCreateCompWithVecs.html#VecCreateCompWithVecs">VecCreateCompWithVecs</a>(Vec*,PetscInt,Vec,Vec*)</font></strong>;
<a name="line23"> 23: </a><strong><font color="#4169E1">SLEPC_EXTERN PetscErrorCode <a href="../docs/manualpages/sys/VecCompGetSubVecs.html#VecCompGetSubVecs">VecCompGetSubVecs</a>(Vec,PetscInt*,const Vec**)</font></strong>;
<a name="line24"> 24: </a><strong><font color="#4169E1">SLEPC_EXTERN PetscErrorCode <a href="../docs/manualpages/sys/VecCompSetSubVecs.html#VecCompSetSubVecs">VecCompSetSubVecs</a>(Vec,PetscInt,Vec*)</font></strong>;

<a name="line26"> 26: </a><font color="#B22222">/* Some auxiliary functions */</font>
<a name="line27"> 27: </a><strong><font color="#4169E1">SLEPC_EXTERN PetscErrorCode <a href="../docs/manualpages/sys/VecNormalizeComplex.html#VecNormalizeComplex">VecNormalizeComplex</a>(Vec,Vec,PetscBool,PetscReal*)</font></strong>;
<a name="line28"> 28: </a><strong><font color="#4169E1">SLEPC_EXTERN PetscErrorCode <a href="../docs/manualpages/sys/VecCheckOrthogonality.html#VecCheckOrthogonality">VecCheckOrthogonality</a>(Vec[],PetscInt,Vec[],PetscInt,Mat,PetscViewer,PetscReal*)</font></strong>;
<a name="line29"> 29: </a><strong><font color="#4169E1">SLEPC_EXTERN PetscErrorCode <a href="../docs/manualpages/sys/VecCheckOrthonormality.html#VecCheckOrthonormality">VecCheckOrthonormality</a>(Vec[],PetscInt,Vec[],PetscInt,Mat,PetscViewer,PetscReal*)</font></strong>;
<a name="line30"> 30: </a><strong><font color="#4169E1">SLEPC_EXTERN PetscErrorCode <a href="../docs/manualpages/sys/VecDuplicateEmpty.html#VecDuplicateEmpty">VecDuplicateEmpty</a>(Vec,Vec*)</font></strong>;

<a name="line32"> 32: </a><font color="#B22222">/* Deprecated functions */</font>
<a name="line33"> 33: </a>PETSC_DEPRECATED_FUNCTION(<font color="#666666">"Use <a href="../docs/manualpages/sys/VecNormalizeComplex.html#VecNormalizeComplex">VecNormalizeComplex</a>()"</font>) PETSC_STATIC_INLINE PetscErrorCode SlepcVecNormalize(Vec xr,Vec xi,PetscBool c,PetscReal *nrm) {<font color="#4169E1">return</font> <a href="../docs/manualpages/sys/VecNormalizeComplex.html#VecNormalizeComplex">VecNormalizeComplex</a>(xr,xi,c,nrm);}
<a name="line34"> 34: </a>PETSC_DEPRECATED_FUNCTION(<font color="#666666">"Use <a href="../docs/manualpages/sys/VecCheckOrthogonality.html#VecCheckOrthogonality">VecCheckOrthogonality</a>()"</font>) PETSC_STATIC_INLINE PetscErrorCode SlepcCheckOrthogonality(Vec *V,PetscInt nv,Vec *W,PetscInt nw,Mat B,PetscViewer viewer,PetscReal *lev) {<font color="#4169E1">return</font> <a href="../docs/manualpages/sys/VecCheckOrthogonality.html#VecCheckOrthogonality">VecCheckOrthogonality</a>(V,nv,W,nw,B,viewer,lev);}

<a name="line36"> 36: </a><font color="#A020F0">#endif</font>

</pre>
</body>

</html>