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
|
<center><a href="https://gitlab.com/petsc/petsc/-/blob/b522cb8c110832b61be366220eb7433134308289/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-10-29T18:33:44+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 <petscconf.h></font>
<a name="line5"> 5: </a><font color="#B22222">/* MANSEC = Sys */</font>
<a name="line7"> 7: </a><strong><font color="#228B22">#define PETSC_VERSION_RELEASE 1</font></strong>
<a name="line8"> 8: </a><strong><font color="#228B22">#define PETSC_VERSION_MAJOR 3</font></strong>
<a name="line9"> 9: </a><strong><font color="#228B22">#define PETSC_VERSION_MINOR 24</font></strong>
<a name="line10"> 10: </a><strong><font color="#228B22">#define PETSC_VERSION_SUBMINOR 1</font></strong>
<a name="line11"> 11: </a><strong><font color="#228B22">#define PETSC_RELEASE_DATE </font><font color="#666666">"Sep 29, 2025"</font><font color="#228B22"></font></strong>
<a name="line12"> 12: </a><strong><font color="#228B22">#define PETSC_VERSION_DATE </font><font color="#666666">"unknown"</font><font color="#228B22"></font></strong>
<a name="line14"> 14: </a><font color="#A020F0">#if !defined(PETSC_VERSION_GIT)</font>
<a name="line15"> 15: </a><strong><font color="#228B22">#define PETSC_VERSION_GIT </font><font color="#666666">"unknown"</font><font color="#228B22"></font></strong>
<a name="line16"> 16: </a><font color="#A020F0">#endif</font>
<a name="line18"> 18: </a><font color="#A020F0">#if !defined(PETSC_VERSION_DATE_GIT)</font>
<a name="line19"> 19: </a><strong><font color="#228B22">#define PETSC_VERSION_DATE_GIT </font><font color="#666666">"unknown"</font><font color="#228B22"></font></strong>
<a name="line20"> 20: </a><font color="#A020F0">#endif</font>
<a name="line22"> 22: </a><strong><font color="#228B22">#define PETSC_VERSION_EQ(MAJOR,MINOR,SUBMINOR) \</font></strong>
<a name="line23"> 23: </a><strong><font color="#228B22"> ((PETSC_VERSION_MAJOR == (MAJOR)) && \</font></strong>
<a name="line24"> 24: </a><strong><font color="#228B22"> (PETSC_VERSION_MINOR == (MINOR)) && \</font></strong>
<a name="line25"> 25: </a><strong><font color="#228B22"> (PETSC_VERSION_SUBMINOR == (SUBMINOR)) && \</font></strong>
<a name="line26"> 26: </a><strong><font color="#228B22"> (PETSC_VERSION_RELEASE == 1))</font></strong>
<a name="line28"> 28: </a><strong><font color="#228B22">#define PETSC_VERSION_ PETSC_VERSION_EQ</font></strong>
<a name="line30"> 30: </a><strong><font color="#228B22">#define PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR) \</font></strong>
<a name="line31"> 31: </a><strong><font color="#228B22"> (PETSC_VERSION_RELEASE == 1 && \</font></strong>
<a name="line32"> 32: </a><strong><font color="#228B22"> (PETSC_VERSION_MAJOR < (MAJOR) || \</font></strong>
<a name="line33"> 33: </a><strong><font color="#228B22"> (PETSC_VERSION_MAJOR == (MAJOR) && \</font></strong>
<a name="line34"> 34: </a><strong><font color="#228B22"> (PETSC_VERSION_MINOR < (MINOR) || \</font></strong>
<a name="line35"> 35: </a><strong><font color="#228B22"> (PETSC_VERSION_MINOR == (MINOR) && \</font></strong>
<a name="line36"> 36: </a><strong><font color="#228B22"> (PETSC_VERSION_SUBMINOR < (SUBMINOR)))))))</font></strong>
<a name="line38"> 38: </a><strong><font color="#228B22">#define PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR) \</font></strong>
<a name="line39"> 39: </a><strong><font color="#228B22"> (PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR) || \</font></strong>
<a name="line40"> 40: </a><strong><font color="#228B22"> PETSC_VERSION_EQ(MAJOR,MINOR,SUBMINOR))</font></strong>
<a name="line42"> 42: </a><strong><font color="#228B22">#define PETSC_VERSION_GT(MAJOR,MINOR,SUBMINOR) \</font></strong>
<a name="line43"> 43: </a><strong><font color="#228B22"> (0 == PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR))</font></strong>
<a name="line45"> 45: </a><strong><font color="#228B22">#define PETSC_VERSION_GE(MAJOR,MINOR,SUBMINOR) \</font></strong>
<a name="line46"> 46: </a><strong><font color="#228B22"> (0 == PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR))</font></strong>
<a name="line48"> 48: </a><font color="#A020F0">#endif</font>
</pre>
</body>
</html>
|