Actual source code: petscversion.h
2: /* $Id: petscversion.h,v 1.26 2001/06/21 21:20:02 bsmith Exp $ */
5: PETSC_EXTERN_CXX_BEGIN
7: /* ========================================================================== */
8: /*
9: Current PETSc version number and release date, also listed in
10: Web page
11: docs/tex/manual/intro.tex,
12: docs/tex/manual/manual.tex.
13: docs/website/index.html.
14: */
15: #define PETSC_VERSION_MAJOR 2
16: #define PETSC_VERSION_MINOR 2
17: #define PETSC_VERSION_SUBMINOR 0
18: #define PETSC_VERSION_PATCH 0
19: #define PETSC_VERSION_DATE "Feb 27, 2004"
20: #define PETSC_AUTHOR_INFO "\
21: The PETSc Team\n\
22: petsc-maint@mcs.anl.gov\n\
23: http://www.mcs.anl.gov/petsc/\n"
25: #define PetscGetVersion(version) (sprintf(*(version),"Petsc Version %d.%d.%d, Patch %d, Released ", \
26: PETSC_VERSION_MAJOR,PETSC_VERSION_MINOR, PETSC_VERSION_SUBMINOR, \
27: PETSC_VERSION_PATCH),PetscStrcat(*(version),PETSC_VERSION_DATE),0)
29: /*M
30: PetscGetVersion - Gets the Petsc Version information in a string.
32: Output Parameter:
33: . version - version string
35: Level: developer
37: Usage:
38: char version[256];
39: PetscGetVersion(&version);
41: Fortran Note:
42: This routine is not supported in Fortran.
44: .seealso: PetscGetProgramName()
46: M*/
48: PETSC_EXTERN_CXX_END
49: #endif