File: petscversion.h.html

package info (click to toggle)
petsc 3.22.5%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 516,740 kB
  • sloc: ansic: 814,333; cpp: 50,948; python: 37,416; f90: 17,187; javascript: 3,493; makefile: 3,198; sh: 1,502; xml: 619; objc: 445; java: 13; csh: 1
file content (62 lines) | stat: -rw-r--r-- 4,623 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
<center><a href="https://gitlab.com/petsc/petsc/-/blob/9fe822445bcdd45fb93170ff68fa7403d3f52f09/include/petscversion.h">Actual source code: petscversion.h</a></center><br>

<html>
<head>
<title></title>
<meta name="generator" content="c2html 0.9.6">
<meta name="date" content="2025-03-28T21:10:41+00:00">
</head>

<body bgcolor="#FFFFFF">
<pre width=80>
<a name="line1">  1: </a><font color="#A020F0">#ifndef PETSCVERSION_H</font>
<a name="line2">  2: </a><strong><font color="#228B22">#define PETSCVERSION_H</font></strong>
<a name="line3">  3: </a><font color="#A020F0">#include &lt;petscconf.h&gt;</font>

<a name="line5">  5: </a><strong><font color="#228B22">#define PETSC_VERSION_RELEASE    1</font></strong>
<a name="line6">  6: </a><strong><font color="#228B22">#define PETSC_VERSION_MAJOR      3</font></strong>
<a name="line7">  7: </a><strong><font color="#228B22">#define PETSC_VERSION_MINOR      22</font></strong>
<a name="line8">  8: </a><strong><font color="#228B22">#define PETSC_VERSION_SUBMINOR   5</font></strong>
<a name="line9">  9: </a><strong><font color="#228B22">#define PETSC_RELEASE_DATE       </font><font color="#666666">"Sep 28, 2024"</font><font color="#228B22"></font></strong>
<a name="line10"> 10: </a><strong><font color="#228B22">#define PETSC_VERSION_DATE       </font><font color="#666666">"unknown"</font><font color="#228B22"></font></strong>

<a name="line12"> 12: </a><font color="#A020F0">#if !defined(PETSC_VERSION_GIT)</font>
<a name="line13"> 13: </a><strong><font color="#228B22">#define PETSC_VERSION_GIT        </font><font color="#666666">"unknown"</font><font color="#228B22"></font></strong>
<a name="line14"> 14: </a><font color="#A020F0">#endif</font>

<a name="line16"> 16: </a><font color="#A020F0">#if !defined(PETSC_VERSION_DATE_GIT)</font>
<a name="line17"> 17: </a><strong><font color="#228B22">#define PETSC_VERSION_DATE_GIT   </font><font color="#666666">"unknown"</font><font color="#228B22"></font></strong>
<a name="line18"> 18: </a><font color="#A020F0">#endif</font>

<a name="line20"> 20: </a><strong><font color="#228B22">#define PETSC_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \</font></strong>
<a name="line21"> 21: </a><strong><font color="#228B22">  ((PETSC_VERSION_MAJOR == (MAJOR)) &amp;&amp;       \</font></strong>
<a name="line22"> 22: </a><strong><font color="#228B22">   (PETSC_VERSION_MINOR == (MINOR)) &amp;&amp;       \</font></strong>
<a name="line23"> 23: </a><strong><font color="#228B22">   (PETSC_VERSION_SUBMINOR == (SUBMINOR)) &amp;&amp; \</font></strong>
<a name="line24"> 24: </a><strong><font color="#228B22">   (PETSC_VERSION_RELEASE  == 1))</font></strong>

<a name="line26"> 26: </a><strong><font color="#228B22">#define PETSC_VERSION_ PETSC_VERSION_EQ</font></strong>

<a name="line28"> 28: </a><strong><font color="#228B22">#define PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR)          \</font></strong>
<a name="line29"> 29: </a><strong><font color="#228B22">  (PETSC_VERSION_RELEASE == 1 &amp;&amp;                        \</font></strong>
<a name="line30"> 30: </a><strong><font color="#228B22">   (PETSC_VERSION_MAJOR &lt; (MAJOR) ||                    \</font></strong>
<a name="line31"> 31: </a><strong><font color="#228B22">    (PETSC_VERSION_MAJOR == (MAJOR) &amp;&amp;                  \</font></strong>
<a name="line32"> 32: </a><strong><font color="#228B22">     (PETSC_VERSION_MINOR &lt; (MINOR) ||                  \</font></strong>
<a name="line33"> 33: </a><strong><font color="#228B22">      (PETSC_VERSION_MINOR == (MINOR) &amp;&amp;                \</font></strong>
<a name="line34"> 34: </a><strong><font color="#228B22">       (PETSC_VERSION_SUBMINOR &lt; (SUBMINOR)))))))</font></strong>

<a name="line36"> 36: </a><strong><font color="#228B22">#define PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR) \</font></strong>
<a name="line37"> 37: </a><strong><font color="#228B22">  (PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR) ||   \</font></strong>
<a name="line38"> 38: </a><strong><font color="#228B22">   PETSC_VERSION_EQ(MAJOR,MINOR,SUBMINOR))</font></strong>

<a name="line40"> 40: </a><strong><font color="#228B22">#define PETSC_VERSION_GT(MAJOR,MINOR,SUBMINOR) \</font></strong>
<a name="line41"> 41: </a><strong><font color="#228B22">  (0 == PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR))</font></strong>

<a name="line43"> 43: </a><strong><font color="#228B22">#define PETSC_VERSION_GE(MAJOR,MINOR,SUBMINOR) \</font></strong>
<a name="line44"> 44: </a><strong><font color="#228B22">  (0 == PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR))</font></strong>

<a name="line46"> 46: </a><font color="#A020F0">#endif</font>
</pre>
</body>

</html>