link to the source of DMCreateGlobalVector from http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-dev/docs/manualpages/DM/DMCreateGlobalVector.html
goes to a broken url: http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-dev/src/dm/da/interface/dm.c.html#DMCreateGlobalVector the functional url is: http://www.mcs.anl.gov/petsc/petsc-as/snapshots/petsc-dev/src/dm/interface/dm.c.html Also, this really annoys me: 234: *PetscErrorCode <http://www.mcs.anl.gov/petsc/petsc-as/snapshots/docs/manualpages/Sys/PetscErrorCode.html#PetscErrorCode> DMCreateGlobalVector <http://www.mcs.anl.gov/petsc/petsc-as/snapshots/docs/manualpages/DM/DMCreateGlobalVector.html#DMCreateGlobalVector>(DM <http://www.mcs.anl.gov/petsc/petsc-as/snapshots/docs/manualpages/DM/DM.html#DM> dm,Vec <http://www.mcs.anl.gov/petsc/petsc-as/snapshots/docs/manualpages/Vec/Vec.html#Vec> *vec)*235: { 239: (*dm->ops->createglobalvector)(dm,vec);240: return(0);241: } I went through the documentation to find out how DMCreateGlobalVector is implemented. What's the mnemonic for finding the definition of the above function (or I guess, multiple definitions since this appears to be a 'virtual function' in C). A -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110209/12407ff7/attachment.html>
