[petsc-users] PETSc functions timeline

Jed Brown jedbrown at mcs.anl.gov
Thu May 23 10:15:41 CDT 2013


Tabrez Ali <stali at geology.wisc.edu> writes:

> Hello
>
> How can I quickly check when exactly a new function was added to a 
> release. The changes webpage doesnt seem to list new functions.
>
> E.g., in which release was "vecgetsubvector" added?

Look for the commit that introduced that string:

$ git log -S VecGetSubVector -- include/petscvec.h
commit 10a9aa378a782793fd9f203c1c09fe3cad29bf1c
Author: Jed Brown <jed at 59A2.org>
Date:   Wed Nov 24 15:29:22 2010 +0100

    Add VecGetSubVector and VecRestoreSubVector and test
    
    VecNest will implement this interface
    
    Hg-commit: eed11e97b1e3a27003b34b493491e2b849c3e0e4


Then describe it in terms of tags that contain it:

$ git describe --contains 10a9aa378a782793fd9f203c1c09fe3cad29bf1c                                                                            
v3.2~1030^2~6


More information about the petsc-users mailing list