PetscErrorCode PetscGetVersionNumber(PetscInt *major, PetscInt *minor, PetscInt *subminor,PetscInt *release)Not collective
major | - the major version (optional, pass NULL if not requested) | |
minor | - the minor version (optional, pass NULL if not requested) | |
subminor | - the subminor version (patch number) (optional, pass NULL if not requested) | |
release | - indicates the library is from a release, not random git repository (optional, pass NULL if not requested) |
This function can be called before PetscInitialize()